Searched refs:privkey (Results 1 – 12 of 12) sorted by relevance
/external/openssl/crypto/dsa/ |
D | dsa_ameth.c | 198 ASN1_INTEGER *privkey = NULL; in dsa_priv_decode() local 236 privkey = t2->value.integer; in dsa_priv_decode() 241 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) in dsa_priv_decode() 243 if (privkey->type == V_ASN1_NEG_INTEGER) in dsa_priv_decode() 246 ASN1_INTEGER_free(privkey); in dsa_priv_decode() 247 if (!(privkey=d2i_ASN1_UINTEGER(NULL, &q, pklen))) in dsa_priv_decode() 260 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) in dsa_priv_decode() 288 ASN1_INTEGER_free(privkey); in dsa_priv_decode() 296 if (privkey) in dsa_priv_decode() 297 ASN1_INTEGER_free(privkey); in dsa_priv_decode()
|
/external/ipsec-tools/src/racoon/ |
D | privsep.c | 340 vchar_t *privkey; in privsep_init() local 356 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){ in privsep_init() 361 reply->bufs.buflen[0] = privkey->l; in privsep_init() 362 reply->hdr.ac_len = sizeof(*reply) + privkey->l; in privsep_init() 371 memcpy(reply + 1, privkey->v, privkey->l); in privsep_init() 372 vfree(privkey); in privsep_init() 706 vchar_t *privkey; local 736 if ((privkey = vmalloc(len - sizeof(*msg))) == NULL) 739 memcpy(privkey->v, msg + 1, privkey->l); 741 return privkey;
|
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);
|
D | crypto_openssl.c | 1110 eay_get_x509sign(src, privkey) in eay_get_x509sign() argument 1111 vchar_t *src, *privkey; in eay_get_x509sign() 1114 u_char *bp = (unsigned char *) privkey->v; 1120 evp = d2i_PrivateKey(EVP_PKEY_RSA, NULL, (void *)&bp, privkey->l);
|
/external/openssl/crypto/dh/ |
D | dh_ameth.c | 192 ASN1_INTEGER *privkey = NULL; in dh_priv_decode() local 204 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) in dh_priv_decode() 214 if (!(dh->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) in dh_priv_decode() 225 ASN1_INTEGER_free(privkey); in dh_priv_decode()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 463 struct wpabuf *pubkey = NULL, *privkey = NULL; in dh5_init() local 489 privkey = wpabuf_alloc(privlen); in dh5_init() 490 if (privkey == NULL) in dh5_init() 494 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init() 496 *priv = privkey; in dh5_init() 502 wpabuf_free(privkey); in dh5_init()
|
/external/openssl/crypto/conf/ |
D | ssleay.cnf | 52 default_keyfile = privkey.pem
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_common.c | 750 struct wpabuf **privkey, in wps_nfc_token_gen() argument 778 wpabuf_free(*privkey); in wps_nfc_token_gen() 779 *privkey = priv; in wps_nfc_token_gen()
|
D | wps.h | 855 struct wpabuf **privkey,
|
/external/chromium/net/socket/ |
D | ssl_client_socket_openssl.cc | 549 EVP_PKEY* privkey = OpenSSLPrivateKeyStore::GetInstance()->FetchPrivateKey( in ClientCertRequestCallback() local 552 if (privkey) { in ClientCertRequestCallback() 553 CRYPTO_add(&privkey->references, 1, CRYPTO_LOCK_EVP_PKEY); in ClientCertRequestCallback() 558 *pkey = privkey; in ClientCertRequestCallback()
|
D | ssl_client_socket_nss.cc | 2203 SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); in ClientAuthHandler() local 2204 if (privkey) { in ClientAuthHandler() 2209 *result_private_key = privkey; in ClientAuthHandler()
|
/external/openssl/apps/ |
D | openssl.cnf | 107 default_keyfile = privkey.pem
|