/external/chromium_org/net/third_party/nss/ssl/ |
authcert.c | 33 SECKEYPrivateKey * privkey = NULL; local 45 privkey = PK11_FindKeyByAnyCert(cert, proto_win); 46 if ( privkey ) { 73 privkey = PK11_FindKeyByAnyCert(cert, proto_win); 74 if ( privkey ) 85 *pRetKey = privkey;
|
/external/chromium_org/crypto/ |
rsa_private_key_nss_unittest.cc | 40 std::vector<uint8> privkey; local 42 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey)); 50 ASSERT_EQ(privkey, privkey_copy);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
nssidentity.h | 47 NSSKeyPair(SECKEYPrivateKey* privkey, SECKEYPublicKey* pubkey) : 48 privkey_(privkey), pubkey_(pubkey) {} 55 SECKEYPrivateKey* privkey() const { return privkey_; } function in class:talk_base::NSSKeyPair
|
nssidentity.cc | 60 SECKEYPrivateKey *privkey = NULL; local 66 privkey = PK11_GenerateKeyPair(NSSContext::GetSlot(), 70 if (!privkey) { 75 return new NSSKeyPair(privkey, pubkey); 80 SECKEYPrivateKey *privkey = SECKEY_CopyPrivateKey(privkey_); local 81 if (!privkey) 86 SECKEY_DestroyPrivateKey(privkey); 90 return new NSSKeyPair(privkey, pubkey); 290 keypair->privkey(), 330 SECKEYPrivateKey* privkey = NULL local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
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/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
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/ |
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->v, msg + 1, privkey->l) [all...] |
oakley.c | 1849 vchar_t *privkey = NULL; local [all...] |
/external/openssl/crypto/dh/ |
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/crypto/dsa/ |
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/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 466 struct wpabuf *pubkey = NULL, *privkey = NULL; local 492 privkey = wpabuf_alloc(privlen); 493 if (privkey == NULL) 497 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 499 *priv = privkey; 505 wpabuf_free(privkey);
|
/external/chromium/net/socket/ |
ssl_client_socket_nss.cc | 2203 SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); local [all...] |
/external/chromium_org/net/socket/ |
ssl_client_socket_nss.cc | 1565 SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); local [all...] |
/libcore/crypto/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | 2805 const BIGNUM *privkey = EC_KEY_get0_private_key(eckey.get()); local [all...] |