/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
rsa_asn1.c | 56 #include <openssl/rsa.h> 74 RSA_free((RSA *)*pval); 82 ASN1_SIMPLE(RSA, version, LONG), 83 ASN1_SIMPLE(RSA, n, BIGNUM), 84 ASN1_SIMPLE(RSA, e, BIGNUM), 85 ASN1_SIMPLE(RSA, d, BIGNUM), 86 ASN1_SIMPLE(RSA, p, BIGNUM), 87 ASN1_SIMPLE(RSA, q, BIGNUM), 88 ASN1_SIMPLE(RSA, dmp1, BIGNUM), 89 ASN1_SIMPLE(RSA, dmq1, BIGNUM) [all...] |
padding.c | 56 #include <openssl/rsa.h> 74 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_1, 80 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_1, 105 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, 112 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, 126 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, 135 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, 141 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, 148 OPENSSL_PUT_ERROR(RSA, RSA_padding_check_PKCS1_type_1, 163 OPENSSL_PUT_ERROR(RSA, RSA_padding_add_PKCS1_type_2 [all...] |
rsa.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 57 #include <openssl/rsa.h> 71 RSA *RSA_new(void) { return RSA_new_method(NULL); } 73 RSA *RSA_new_method(const ENGINE *engine) { 74 RSA *rsa = (RSA *)OPENSSL_malloc(sizeof(RSA)); local 75 if (rsa == NULL) { 76 OPENSSL_PUT_ERROR(RSA, RSA_new_method, ERR_R_MALLOC_FAILURE) [all...] |
rsa_impl.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 57 #include <openssl/rsa.h> 72 static int finish(RSA *rsa) { 73 if (rsa->_method_mod_n != NULL) { 74 BN_MONT_CTX_free(rsa->_method_mod_n); 76 if (rsa->_method_mod_p != NULL) { 77 BN_MONT_CTX_free(rsa->_method_mod_p); 79 if (rsa->_method_mod_q != NULL) { 80 BN_MONT_CTX_free(rsa->_method_mod_q) [all...] |
internal.h | 10 * apply to all code found in this distribution, be it the RC4, RSA, 92 BN_BLINDING *rsa_setup_blinding(RSA *rsa, BN_CTX *in_ctx); 117 int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const uint8_t *mHash, 121 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, uint8_t *EM, const uint8_t *mHash, 128 int RSA_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in,
|
/external/openssl/crypto/rsa/ |
rsa_asn1.c | 62 #include <openssl/rsa.h> 75 RSA_free((RSA *)*pval); 83 ASN1_SIMPLE(RSA, version, LONG), 84 ASN1_SIMPLE(RSA, n, BIGNUM), 85 ASN1_SIMPLE(RSA, e, BIGNUM), 86 ASN1_SIMPLE(RSA, d, BIGNUM), 87 ASN1_SIMPLE(RSA, p, BIGNUM), 88 ASN1_SIMPLE(RSA, q, BIGNUM), 89 ASN1_SIMPLE(RSA, dmp1, BIGNUM), 90 ASN1_SIMPLE(RSA, dmq1, BIGNUM) [all...] |
rsa_null.c | 62 #include <openssl/rsa.h> 65 /* This is a dummy RSA implementation that just returns errors when called. 66 * It is designed to allow some RSA functions to work while stopping those 67 * covered by the RSA patent. That is RSA, encryption, decryption, signing 68 * and verify is not allowed but RSA key generation, key checking and other 69 * operations (like storing RSA keys) are permitted. 73 unsigned char *to, RSA *rsa,int padding); 75 unsigned char *to, RSA *rsa,int padding) [all...] |
rsa_locl.h | 4 RSA *rsa);
|
rsa.h | 1 /* crypto/rsa/rsa.h */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 74 #error RSA is disabled. 82 /* typedef struct rsa_st RSA; */ 90 RSA *rsa,int padding); 93 RSA *rsa,int padding); 96 RSA *rsa,int padding) [all...] |
rsa_prn.c | 1 /* crypto/rsa/rsa_prn.c */ 61 #include <openssl/rsa.h> 65 int RSA_print_fp(FILE *fp, const RSA *x, int off) 82 int RSA_print(BIO *bp, const RSA *x, int off) 87 if (!pk || !EVP_PKEY_set1_RSA(pk, (RSA *)x))
|
rsa_lib.c | 1 /* crypto/rsa/rsa_lib.c */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 64 #include <openssl/rsa.h> 74 const char RSA_version[]="RSA" OPENSSL_VERSION_PTEXT; 78 RSA *RSA_new(void) 80 RSA *r=RSA_new_method(NULL); 111 const RSA_METHOD *RSA_get_method(const RSA *rsa) 113 return rsa->meth; 116 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth [all...] |
rsa_depr.c | 1 /* crypto/rsa/rsa_depr.c */ 63 #include <openssl/rsa.h> 71 RSA *RSA_generate_key(int bits, unsigned long e_value, 76 RSA *rsa = RSA_new(); local 79 if(!rsa || !e) goto err; 92 if(RSA_generate_key_ex(rsa, bits, e, &cb)) { 94 return rsa; 98 if(rsa) RSA_free(rsa); [all...] |
rsa_crpt.c | 1 /* crypto/rsa/rsa_lib.c */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 64 #include <openssl/rsa.h> 70 int RSA_size(const RSA *r) 76 RSA *rsa, int padding) 79 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) 80 && !(rsa->flags & RSA_FLAG_NON_FIPS_ALLOW)) 86 return(rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding)) [all...] |
/external/chromium_org/net/android/ |
private_key_type_list.h | 9 DEFINE_PRIVATE_KEY_TYPE(RSA, 0)
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
rsa.h | 10 * apply to all code found in this distribution, be it the RC4, RSA, 70 /* rsa.h contains functions for handling encryption and signature using RSA. */ 75 /* RSA_new returns a new, empty RSA object or NULL on error. */ 76 OPENSSL_EXPORT RSA *RSA_new(void); 79 OPENSSL_EXPORT RSA *RSA_new_method(const ENGINE *engine); 81 /* RSA_free decrements the reference count of |rsa| and frees it if the 83 OPENSSL_EXPORT void RSA_free(RSA *rsa); 85 /* RSA_up_ref increments the reference count of |rsa|. * [all...] |
/external/openssl/include/openssl/ |
rsa.h | 1 /* crypto/rsa/rsa.h */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 74 #error RSA is disabled. 82 /* typedef struct rsa_st RSA; */ 90 RSA *rsa,int padding); 93 RSA *rsa,int padding); 96 RSA *rsa,int padding) [all...] |
/external/ipsec-tools/src/racoon/ |
rsalist.h | 38 #include <openssl/rsa.h> 52 RSA *rsa; member in struct:rsa_key 55 int rsa_key_insert(struct genlist *list, struct netaddr *src, struct netaddr *dst, RSA *rsa); 59 RSA *rsa_try_check_rsasign(vchar_t *source, vchar_t *sig, struct genlist *list);
|
/external/chromium_org/third_party/boringssl/src/crypto/pem/ |
pem_all.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 117 #include <openssl/rsa.h> 121 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 134 /* We treat RSA or DSA private keys as a special case. 142 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) 144 RSA *rtmp [all...] |
/bootable/recovery/ |
verifier.h | 21 #include "mincrypt/rsa.h" 30 RSA, 36 RSAPublicKey* rsa; member in struct:__anon1132
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
pycrypto_rsakey.py | 4 """PyCrypto RSA implementation.""" 13 from Crypto.PublicKey import RSA 18 self.rsa = RSA.construct( (n, e) ) 20 self.rsa = RSA.construct( (n, e, d, p, q) ) 23 return getattr(self.rsa, name) 26 return self.rsa.has_private() 30 c = bytesToNumber(bytearray(self.rsa.decrypt((s,)))) 35 m = bytesToNumber(bytearray(self.rsa.encrypt(s, None)[0]) [all...] |
/system/keymaster/ |
rsa_operation.h | 31 keymaster_padding_t padding, RSA* key) 42 RSA* rsa_key_; 51 keymaster_padding_t padding, RSA* key) 59 keymaster_padding_t padding, RSA* key)
|
/system/security/keystore-engine/ |
methods.h | 47 void operator()(RSA* p) const { 51 typedef UniquePtr<RSA, struct RSA_Delete> Unique_RSA; 72 /* RSA */
|
/external/openssl/crypto/pem/ |
pem_all.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 120 #include <openssl/rsa.h> 130 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 154 /* We treat RSA or DSA private keys as a special case. 162 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) 164 RSA *rtmp [all...] |
/external/chromium_org/net/ssl/ |
openssl_platform_key_mac.cc | 9 #include <openssl/rsa.h> 93 // RSA and ECDSA objects that are created to wrap Mac system keys. 102 // ExDataDup is called when one of the RSA or EC_KEY objects is 114 // ExDataFree is called when one of the RSA or EC_KEY objects is freed. 124 // BoringSSLEngine is a BoringSSL ENGINE that implements RSA and ECDSA 177 OPENSSL_PUT_ERROR(RSA, sign_raw, ERR_R_INTERNAL_ERROR); 199 // Set RSA blinding. 231 const KeyExData* RsaGetExData(const RSA* rsa) { 233 RSA_get_ex_data(rsa, global_boringssl_engine.Get().rsa_ex_index())) [all...] |
/external/openssl/crypto/asn1/ |
n_pkey.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 62 #include <openssl/rsa.h> 109 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os, 114 int i2d_Netscape_RSA(const RSA *a, unsigned char **pp, 121 int i2d_RSA_NET(const RSA *a, unsigned char **pp, 238 RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, 245 RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length [all...] |