Home
last modified time | relevance | path

Searched refs:rsa_key (Results 1 – 6 of 6) sorted by relevance

/external/ipsec-tools/src/racoon/
Drsalist.c71 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 …]
Drsalist.h49 struct rsa_key { struct
Doakley.c1792 iph1->rsa = ((struct rsa_key *)
/external/vboot_reference/futility/
Dcmd_create.c81 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/vboot_reference/host/lib/
Dhost_key.c26 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/
Dcrypto_libtomcrypt.c408 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()