/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
|
oakley.c | [all...] |
/system/keymaster/ |
rsa_key_factory.cpp | 25 #include "rsa_key.h" 78 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(RSA_new()); 80 if (exponent.get() == NULL || rsa_key.get() == NULL || pkey.get() == NULL) 84 !RSA_generate_key_ex(rsa_key.get(), key_size, exponent.get(), NULL /* callback */)) 87 if (EVP_PKEY_set1_RSA(pkey.get(), rsa_key.get()) != 1) 135 UniquePtr<RSA, RsaKey::RSA_Delete> rsa_key(EVP_PKEY_get1_RSA(pkey.get())); 136 if (!rsa_key.get()) 141 *public_exponent = BN_get_word(rsa_key->e); 146 if (*public_exponent != BN_get_word(rsa_key->e)) { 148 *public_exponent, BN_get_word(rsa_key->e)) [all...] |
rsa_keymaster0_key.h | 24 #include "rsa_key.h" 65 RsaKeymaster0Key(RSA* rsa_key, const AuthorizationSet& hw_enforced,
|
rsa_key.cpp | 17 #include "rsa_key.h"
|
rsa_keymaster0_key.cpp | 137 RsaKeymaster0Key::RsaKeymaster0Key(RSA* rsa_key, const AuthorizationSet& hw_enforced, 140 : RsaKey(rsa_key, hw_enforced, sw_enforced, error), engine_(engine) {}
|
rsa_operation.cpp | 29 #include "rsa_key.h" 42 const RsaKey* rsa_key = static_cast<const RsaKey*>(&key); local 43 assert(rsa_key); 44 if (!rsa_key || !rsa_key->key()) { 50 if (!rsa_key->InternalToEvp(pkey.get())) {
|
Android.mk | 70 rsa_key.cpp \
|
Makefile | 101 rsa_key.cpp \ 248 rsa_key.o \
|
/external/vboot_reference/futility/ |
cmd_create.c | 81 RSA *rsa_key = 0; local 95 rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); 98 if (!rsa_key) { 103 sig_alg = vb2_rsa_sig_alg(rsa_key); 118 privkey->rsa_private_key = rsa_key; 130 ret = vb_keyb_from_rsa(rsa_key, &keyb_data, &keyb_size); 155 RSA_free(rsa_key); 163 RSA *rsa_key = 0; local 178 rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); 181 if (!rsa_key) { [all...] |
/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/vboot_reference/host/lib/ |
host_key.c | 26 RSA* rsa_key; local 40 rsa_key = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); 42 if (!rsa_key) { 51 RSA_free(rsa_key); 54 key->rsa_private_key = rsa_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,
|