Searched defs:rsa_key (Results 1 - 5 of 5) sorted by relevance

/external/dropbear/
H A Drsa.h45 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);
/external/ipsec-tools/src/racoon/
H A Drsalist.h49 struct rsa_key { struct
H A Drsalist.c71 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
[all...]
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_pk.h37 } 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);
87 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *ke
[all...]
/external/openssl/apps/
H A Dspeed.c529 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);
2011 ret=RSA_sign(NID_md5_sha1, buf,36, buf2, &rsa_num, rsa_key[j]);
2023 /* RSA_blinding_on(rsa_key[
[all...]

Completed in 225 milliseconds