Searched refs:privkey (Results 1 - 11 of 11) sorted by relevance
/external/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 198 ASN1_INTEGER *privkey = NULL; local 236 privkey = t2->value.integer; 241 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) 243 if (privkey->type == V_ASN1_NEG_INTEGER) 246 ASN1_INTEGER_free(privkey); 247 if (!(privkey=d2i_ASN1_UINTEGER(NULL, &q, pklen))) 260 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) 288 ASN1_INTEGER_free(privkey); 296 if (privkey) 297 ASN1_INTEGER_free(privkey); [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | privsep.c | 340 vchar_t *privkey; local 356 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){ 361 reply->bufs.buflen[0] = privkey->l; 362 reply->hdr.ac_len = sizeof(*reply) + privkey->l; 371 memcpy(reply + 1, privkey->v, privkey->l); 372 vfree(privkey); 706 vchar_t *privkey; local 736 if ((privkey = vmalloc(len - sizeof(*msg))) == NULL) 739 memcpy(privkey [all...] |
H A D | oakley.c | 1849 vchar_t *privkey = NULL; local 1867 privkey = privsep_eay_get_pkcs1privkey(path); 1868 if (privkey == NULL) { 1874 plogdump(LLV_DEBUG2, privkey->v, privkey->l); 1876 iph1->sig = eay_get_x509sign(iph1->hash, privkey); 1902 if (privkey != NULL) 1903 vfree(privkey);
|
H A D | crypto_openssl.c | 1110 eay_get_x509sign(src, privkey) 1111 vchar_t *src, *privkey; 1114 u_char *bp = (unsigned char *) privkey->v; 1120 evp = d2i_PrivateKey(EVP_PKEY_RSA, NULL, (void *)&bp, privkey->l);
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_openssl.c | 410 struct wpabuf *pubkey = NULL, *privkey = NULL; local 436 privkey = wpabuf_alloc(privlen); 437 if (privkey == NULL) 441 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 443 *priv = privkey; 449 wpabuf_free(privkey);
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_openssl.c | 410 struct wpabuf *pubkey = NULL, *privkey = NULL; local 436 privkey = wpabuf_alloc(privlen); 437 if (privkey == NULL) 441 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 443 *priv = privkey; 449 wpabuf_free(privkey);
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_openssl.c | 410 struct wpabuf *pubkey = NULL, *privkey = NULL; local 436 privkey = wpabuf_alloc(privlen); 437 if (privkey == NULL) 441 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 443 *priv = privkey; 449 wpabuf_free(privkey);
|
/external/openssl/crypto/dh/ |
H A D | dh_ameth.c | 192 ASN1_INTEGER *privkey = NULL; local 204 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) 214 if (!(dh->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) 225 ASN1_INTEGER_free(privkey);
|
/external/openssl/apps/ |
H A D | openssl.cnf | 107 default_keyfile = privkey.pem
|
/external/chromium/net/socket/ |
H A D | ssl_client_socket_openssl.cc | 545 EVP_PKEY* privkey = OpenSSLPrivateKeyStore::GetInstance()->FetchPrivateKey( 548 if (privkey) { 549 CRYPTO_add(&privkey->references, 1, CRYPTO_LOCK_EVP_PKEY); 554 *pkey = privkey;
|
H A D | ssl_client_socket_nss.cc | 2203 SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); local 2204 if (privkey) { 2209 *result_private_key = privkey;
|
Completed in 241 milliseconds