/external/chromium_org/net/third_party/nss/ssl/ |
H A D | 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/smack/src/org/xbill/DNS/ |
H A D | SIG0.java | 31 * @param privkey The PrivateKey to use when signing 35 signMessage(Message message, KEYRecord key, PrivateKey privkey, argument 47 SIGRecord sig = DNSSEC.signMessage(message, previous, key, privkey,
|
H A D | DNSSEC.java | 807 sign(PrivateKey privkey, PublicKey pubkey, int alg, byte [] data, argument 817 s.initSign(privkey); 889 * @param privkey The PrivateKey to use when signing 898 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, argument 901 return sign(rrset, key, privkey, inception, expiration, null); 909 * @param privkey The PrivateKey to use when signing 920 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, argument 924 checkAlgorithm(privkey, alg); 933 rrsig.setSignature(sign(privkey, key.getPublicKey(), alg, 940 PrivateKey privkey, Dat 939 signMessage(Message message, SIGRecord previous, KEYRecord key, PrivateKey privkey, Date inception, Date expiration) argument [all...] |
/external/chromium_org/crypto/ |
H A D | rsa_private_key_unittest.cc | 418 std::vector<uint8> privkey; local 420 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey)); 428 ASSERT_EQ(privkey, privkey_copy);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | nssidentity.h | 30 NSSKeyPair(SECKEYPrivateKey* privkey, SECKEYPublicKey* pubkey) : argument 31 privkey_(privkey), pubkey_(pubkey) {} 38 SECKEYPrivateKey* privkey() const { return privkey_; } function in class:rtc::NSSKeyPair
|
H A D | nssidentity.cc | 51 SECKEYPrivateKey *privkey = NULL; local 57 privkey = PK11_GenerateKeyPair(NSSContext::GetSlot(), 61 if (!privkey) { 66 return new NSSKeyPair(privkey, pubkey); 71 SECKEYPrivateKey *privkey = SECKEY_CopyPrivateKey(privkey_); local 72 if (!privkey) 77 SECKEY_DestroyPrivateKey(privkey); 81 return new NSSKeyPair(privkey, pubkey); 177 // Check that the parent's privkey was actually used to generate the child's 415 keypair->privkey(), 466 SECKEYPrivateKey* privkey = NULL; local [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);
|
/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/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/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_common.c | 640 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) argument 658 wpabuf_free(*privkey); 659 *privkey = priv; 666 struct wpabuf **privkey, 683 if (wps_nfc_gen_dh(pubkey, privkey) < 0) { 665 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_common.c | 640 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) argument 658 wpabuf_free(*privkey); 659 *privkey = priv; 666 struct wpabuf **privkey, 683 if (wps_nfc_gen_dh(pubkey, privkey) < 0) { 665 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_common.c | 640 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) argument 658 wpabuf_free(*privkey); 659 *privkey = priv; 666 struct wpabuf **privkey, 683 if (wps_nfc_gen_dh(pubkey, privkey) < 0) { 665 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_openssl.c | 472 struct wpabuf *pubkey = NULL, *privkey = NULL; local 498 privkey = wpabuf_alloc(privlen); 499 if (privkey == NULL) 503 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 505 *priv = privkey; 511 wpabuf_free(privkey);
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_openssl.c | 472 struct wpabuf *pubkey = NULL, *privkey = NULL; local 498 privkey = wpabuf_alloc(privlen); 499 if (privkey == NULL) 503 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 505 *priv = privkey; 511 wpabuf_free(privkey);
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_openssl.c | 472 struct wpabuf *pubkey = NULL, *privkey = NULL; local 498 privkey = wpabuf_alloc(privlen); 499 if (privkey == NULL) 503 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 505 *priv = privkey; 511 wpabuf_free(privkey);
|
/external/chromium_org/net/socket/ |
H A D | ssl_client_socket_nss.cc | 1533 SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); local 1534 if (privkey) { 1539 *result_private_key = privkey;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | NativeCrypto.java | 213 public static native long EVP_PKEY_new_EC_KEY(long groupRef, long pubkeyRef, byte[] privkey); argument
|
/external/conscrypt/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 3799 const BIGNUM *privkey = EC_KEY_get0_private_key(eckey.get()); local 3801 jbyteArray privBytes = bignumToArray(env, privkey, "privkey"); 3902 Unique_EC_KEY privkey(EVP_PKEY_get1_EC_KEY(privPkey)); 3903 if (privkey.get() == NULL) { 3912 privkey.get(),
|