Searched refs:rsa_key (Results 1 – 9 of 9) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | rsalist.c | 71 struct rsa_key *rsa_key; in rsa_key_insert() local 73 rsa_key = calloc(sizeof(struct rsa_key), 1); in rsa_key_insert() 74 rsa_key->rsa = rsa; in rsa_key_insert() 77 rsa_key->src = src; in rsa_key_insert() 79 rsa_key->src = calloc(sizeof(*rsa_key->src), 1); in rsa_key_insert() 82 rsa_key->dst = dst; in rsa_key_insert() 84 rsa_key->dst = calloc(sizeof(*rsa_key->dst), 1); in rsa_key_insert() 86 genlist_append(list, rsa_key); in rsa_key_insert() 94 struct rsa_key *key = entry; in rsa_key_dump_one() 138 struct rsa_key *key = entry; in rsa_lookup_key_one() [all …]
|
D | rsalist.h | 49 struct rsa_key { struct
|
D | oakley.c | 1792 iph1->rsa = ((struct rsa_key *)
|
/external/vboot_reference/futility/ |
D | cmd_create.c | 81 RSA *rsa_key = 0; in vb1_make_keypair() local 95 rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); in vb1_make_keypair() 98 if (!rsa_key) { in vb1_make_keypair() 103 sig_alg = vb2_rsa_sig_alg(rsa_key); in vb1_make_keypair() 118 privkey->rsa_private_key = rsa_key; in vb1_make_keypair() 130 ret = vb_keyb_from_rsa(rsa_key, &keyb_data, &keyb_size); in vb1_make_keypair() 155 RSA_free(rsa_key); in vb1_make_keypair() 163 RSA *rsa_key = 0; in vb2_make_keypair() local 178 rsa_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); in vb2_make_keypair() 181 if (!rsa_key) { in vb2_make_keypair() [all …]
|
/external/libchrome/crypto/ |
D | signature_creator_openssl.cc | 67 ScopedRSA rsa_key(EVP_PKEY_get1_RSA(key->key())); in Sign() local 68 if (!rsa_key) in Sign() 70 signature->resize(RSA_size(rsa_key.get())); in Sign() 74 signature->data(), &len, rsa_key.get())) { in Sign()
|
D | rsa_private_key_openssl.cc | 60 ScopedRSA rsa_key(RSA_new()); in Create() local 62 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L)) in Create() 65 if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), NULL)) in Create() 70 if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_, rsa_key.get())) in Create()
|
D | rsa_private_key_nss.cc | 68 RSAPrivateKey* rsa_key = new RSAPrivateKey; in Create() local 69 rsa_key->public_key_ = public_key.release(); in Create() 70 rsa_key->key_ = private_key.release(); in Create() 71 return rsa_key; in Create()
|
/external/vboot_reference/host/lib/ |
D | host_key.c | 26 RSA* rsa_key; in PrivateKeyReadPem() local 40 rsa_key = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); in PrivateKeyReadPem() 42 if (!rsa_key) { in PrivateKeyReadPem() 51 RSA_free(rsa_key); in PrivateKeyReadPem() 54 key->rsa_private_key = rsa_key; in PrivateKeyReadPem()
|
/external/wpa_supplicant_8/src/crypto/ |
D | 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, in crypto_rsa_encrypt_pkcs1()
|