/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...] |
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,
|
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));
|
genrsa.h | 32 rsa_key * gen_rsa_priv_key(unsigned int size);
|
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/openssh/ |
start-ssh | 9 RSA_KEY=/data/ssh/ssh_host_rsa_key 20 if [ ! -f $RSA_KEY ]; then 21 /system/bin/ssh-keygen -t rsa -f $RSA_KEY -N "" 22 chmod 600 /$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/openssh/contrib/redhat/ |
sshd.init.old | 28 RSA_KEY=/etc/ssh/ssh_host_rsa_key 80 if [ ! -s $RSA_KEY ]; then 82 if $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' >&/dev/null; then 83 chmod 600 $RSA_KEY 84 chmod 644 $RSA_KEY.pub
|
/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/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_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)
|
rsa_verify_hash.c | 37 int *stat, 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/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 408 rsa_key rsa; 412 rsa_key rsa; 549 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type,
|
/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...] |
/external/dropbear/libtomcrypt/testprof/ |
rsa_test.c | 79 rsa_key key; 128 rsa_key key, privKey, pubKey;
|