/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...] |
/external/ipsec-tools/src/racoon/ |
rsalist.h | 49 struct rsa_key { struct
|
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...] |
/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...] |
/external/openssl/apps/ |
speed.c | 529 RSA *rsa_key[RSA_NUM]; local 662 memset(rsa_key,0,sizeof(rsa_key)); 664 rsa_key[i]=NULL; 1193 rsa_key[i]=d2i_RSAPrivateKey(NULL,&p,rsa_data_length[i]); 1194 if (rsa_key[i] == NULL) 1204 BN_num_bits(rsa_key[i]->n)); 1205 BN_print(bio_err,rsa_key[i]->e); [all...] |