Searched refs:privkey (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/net/third_party/nss/ssl/
H A Dauthcert.c33 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/
H A Drsa_private_key_nss_unittest.cc40 std::vector<uint8> privkey; local
42 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey));
50 ASSERT_EQ(privkey, privkey_copy);
/external/smack/src/org/xbill/DNS/
H A DSIG0.java31 * @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 DDNSSEC.java807 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/third_party/libjingle/source/talk/base/
H A Dnssidentity.cc62 SECKEYPrivateKey *privkey = NULL; local
68 privkey = PK11_GenerateKeyPair(NSSContext::GetSlot(),
72 if (!privkey) {
77 return new NSSKeyPair(privkey, pubkey);
82 SECKEYPrivateKey *privkey = SECKEY_CopyPrivateKey(privkey_); local
83 if (!privkey)
88 SECKEY_DestroyPrivateKey(privkey);
92 return new NSSKeyPair(privkey, pubkey);
387 keypair->privkey(),
427 SECKEYPrivateKey* privkey local
[all...]
H A Dnssidentity.h47 NSSKeyPair(SECKEYPrivateKey* privkey, SECKEYPublicKey* pubkey) : argument
48 privkey_(privkey), pubkey_(pubkey) {}
55 SECKEYPrivateKey* privkey() const { return privkey_; } function in class:talk_base::NSSKeyPair
H A Dnssstreamadapter.cc491 identity->keypair()->privkey(),
860 *pRetKey = SECKEY_CopyPrivateKey(identity->keypair()->privkey());
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
H A Ddsa_ameth.c198 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/openssl/crypto/dsa/
H A Ddsa_ameth.c198 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 Dprivsep.c340 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...]
/external/chromium_org/third_party/openssl/openssl/crypto/dh/
H A Ddh_ameth.c192 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/dh/
H A Ddh_ameth.c192 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/net/tools/testserver/
H A Dminica.py172 issuer_cn, subject_cn, serial, pubkey, privkey, ocsp_url = None):
173 '''MakeCertificate returns a DER encoded certificate, signed by privkey.'''
245 asn1.BitString(privkey.Sign(tbsCert)),
/external/chromium_org/third_party/openssl/openssl/apps/
H A Dopenssl.cnf107 default_keyfile = privkey.pem
/external/openssl/apps/
H A Dopenssl.cnf107 default_keyfile = privkey.pem
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_common.c640 struct wpabuf **privkey,
668 wpabuf_free(*privkey);
669 *privkey = priv;
639 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
H A Dwps.h854 struct wpabuf **privkey,
/external/wpa_supplicant_8/src/wps/
H A Dwps_common.c640 struct wpabuf **privkey,
668 wpabuf_free(*privkey);
669 *privkey = priv;
639 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
H A Dwps.h854 struct wpabuf **privkey,
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_common.c640 struct wpabuf **privkey,
668 wpabuf_free(*privkey);
669 *privkey = priv;
639 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 Dcrypto_openssl.c466 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/wpa_supplicant_8/src/crypto/
H A Dcrypto_openssl.c466 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/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c466 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/
H A Dssl_client_socket_openssl.cc549 EVP_PKEY* privkey = OpenSSLPrivateKeyStore::GetInstance()->FetchPrivateKey(
552 if (privkey) {
553 CRYPTO_add(&privkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
558 *pkey = privkey;
/external/chromium_org/net/socket/
H A Dssl_client_socket_openssl.cc1315 OpenSSLClientKeyStore::ScopedEVP_PKEY privkey;
1317 ssl_config_.client_cert.get(), &privkey)) {
1322 *pkey = privkey.release();

Completed in 2438 milliseconds

12