/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/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/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/openssl/apps/ |
speed.c | 504 RSA *rsa_key[RSA_NUM]; local 637 memset(rsa_key,0,sizeof(rsa_key)); 639 rsa_key[i]=NULL; 1167 rsa_key[i]=d2i_RSAPrivateKey(NULL,&p,rsa_data_length[i]); 1168 if (rsa_key[i] == NULL) 1178 BN_num_bits(rsa_key[i]->n)); 1179 BN_print(bio_err,rsa_key[i]->e); [all...] |
/external/wpa_supplicant/ |
crypto_libtomcrypt.c | 415 rsa_key rsa; 419 rsa_key rsa; 555 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type,
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_libtomcrypt.c | 415 rsa_key rsa; 419 rsa_key rsa; 555 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type,
|
/external/dropbear/libtomcrypt/testprof/ |
rsa_test.c | 79 rsa_key key; 128 rsa_key key, privKey, pubKey;
|
x86_prof.c | 811 rsa_key key; [all...] |
/external/dropbear/libtomcrypt/ |
crypt.tex | 326 rsa_key key; 371 rsa_key key; [all...] |