/external/dropbear/ |
rsa.h | 35 struct RSA_key { 45 typedef struct RSA_key rsa_key; typedef in typeref:struct:RSA_key 47 void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data, 50 int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data, 53 int buf_get_rsa_pub_key(buffer* buf, rsa_key *key); 54 int buf_get_rsa_priv_key(buffer* buf, rsa_key *key); 55 void buf_put_rsa_pub_key(buffer* buf, rsa_key *key); 56 void buf_put_rsa_priv_key(buffer* buf, rsa_key *key); 57 void rsa_key_free(rsa_key *key) [all...] |
genrsa.h | 32 rsa_key * gen_rsa_priv_key(unsigned int size);
|
genrsa.c | 40 rsa_key * gen_rsa_priv_key(unsigned int size) { 42 rsa_key * key; 47 key = (rsa_key*)m_malloc(sizeof(rsa_key));
|
rsa.c | 41 static void rsa_pad_em(rsa_key * key, 49 int buf_get_rsa_pub_key(buffer* buf, rsa_key *key) { 87 int buf_get_rsa_priv_key(buffer* buf, rsa_key *key) { 140 void rsa_key_free(rsa_key *key) { 178 void buf_put_rsa_pub_key(buffer* buf, rsa_key *key) { 192 void buf_put_rsa_priv_key(buffer* buf, rsa_key *key) { 216 int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data, 273 void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data, 379 static void rsa_pad_em(rsa_key * key,
|
signkey.h | 38 rsa_key * rsakey;
|
signkey.c | 125 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key)); 178 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key));
|
/external/ipsec-tools/src/racoon/ |
rsalist.c | 71 struct rsa_key *rsa_key; local 73 rsa_key = calloc(sizeof(struct rsa_key), 1); 74 rsa_key->rsa = rsa; 77 rsa_key->src = src; 79 rsa_key->src = calloc(sizeof(*rsa_key->src), 1); 82 rsa_key->dst = dst; 84 rsa_key->dst = calloc(sizeof(*rsa_key->dst), 1) [all...] |
rsalist.h | 49 struct rsa_key { struct
|
/external/chromium_org/crypto/ |
signature_creator_openssl.cc | 33 RSA* rsa_key = EVP_PKEY_get1_RSA(key->key()); local 34 if (!rsa_key) 36 signature->resize(RSA_size(rsa_key)); 40 &len, rsa_key);
|
rsa_private_key_openssl.cc | 53 ScopedOpenSSL<RSA, RSA_free> rsa_key(RSA_new()); 55 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L)) 58 if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), NULL)) 63 if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_, rsa_key.get()))
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_free.c | 24 void rsa_free(rsa_key *key)
|
rsa_export.c | 28 int rsa_export(unsigned char *out, unsigned long *outlen, int type, rsa_key *key)
|
rsa_decrypt_key.c | 38 int *stat, rsa_key *key)
|
rsa_encrypt_key.c | 38 prng_state *prng, int prng_idx, int hash_idx, int padding, rsa_key *key)
|
rsa_exptmod.c | 32 rsa_key *key)
|
rsa_sign_hash.c | 39 rsa_key *key)
|
rsa_verify_hash.c | 37 int *stat, rsa_key *key)
|
rsa_import.c | 27 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key)
|
rsa_make_key.c | 29 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key)
|
/external/chromium/crypto/ |
rsa_private_key_openssl.cc | 54 ScopedOpenSSL<RSA, RSA_free> rsa_key(RSA_new()); 56 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L)) 59 if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), NULL)) 64 if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_, rsa_key.get()))
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_pk.h | 18 typedef struct Rsa_key { 37 } rsa_key; typedef in typeref:struct:Rsa_key 39 int rsa_make_key(prng_state *prng, int wprng, int size, long e, rsa_key *key); 43 rsa_key *key); 45 void rsa_free(rsa_key *key); 64 prng_state *prng, int prng_idx, int hash_idx, int padding, rsa_key *key); 70 int *stat, rsa_key *key); 77 rsa_key *key); 83 int *stat, rsa_key *key); 86 int rsa_export(unsigned char *out, unsigned long *outlen, int type, rsa_key *key) [all...] |
tomcrypt_math.h | 14 /* Dropbear has its own rsa_key. We just comment this out. */ 17 typedef void rsa_key; 404 int (*rsa_keygen)(prng_state *prng, int wprng, int size, long e, rsa_key *key); 418 rsa_key *key);
|
/external/chromium_org/chrome/browser/devtools/adb/ |
android_usb_device.cc | 68 crypto::RSAPrivateKey* rsa_key, 101 return new AndroidUsbDevice(rsa_key, usb_handle, UTF16ToASCII(serial), 184 crypto::RSAPrivateKey* rsa_key, 195 ClaimInterface(rsa_key, usb_handle, config->GetInterface(interface_id), 228 static void EnumerateOnFileThread(crypto::RSAPrivateKey* rsa_key, 284 rsa_key, barrier, *it, j)); 286 OpenAndroidDevicesOnFileThread(rsa_key, barrier, *it, j, true); 306 void AndroidUsbDevice::Enumerate(crypto::RSAPrivateKey* rsa_key, 310 base::Bind(&EnumerateOnFileThread, rsa_key, 314 AndroidUsbDevice::AndroidUsbDevice(crypto::RSAPrivateKey* rsa_key, [all...] |
android_usb_device.h | 69 static void Enumerate(crypto::RSAPrivateKey* rsa_key, 74 AndroidUsbDevice(crypto::RSAPrivateKey* rsa_key,
|
/external/chromium_org/net/android/ |
keystore_unittest.cc | 567 ScopedJava rsa_key = GetRSATestKeyJava(); local 568 ASSERT_FALSE(rsa_key.is_null()); 570 GetPrivateKeyType(rsa_key.obj())); 574 ScopedJava rsa_key = GetRSATestKeyJava(); local 575 ASSERT_FALSE(rsa_key.is_null()); 589 DoKeySigning(rsa_key.obj(), openssl_key.get(), message, &signature); 598 ScopedJava rsa_key = GetRSATestKeyJava(); local 599 ASSERT_FALSE(rsa_key.is_null()); 601 ScopedEVP_PKEY wrapper_key(GetOpenSSLPrivateKeyWrapper(rsa_key.obj()));
|