Searched defs:public_key (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium/crypto/
H A Drsa_private_key_nss_unittest.cc35 std::vector<uint8> public_key; local
36 ASSERT_TRUE(key_pair->ExportPublicKey(&public_key));
39 crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key));
48 std::vector<uint8> public_key; local
49 ASSERT_TRUE(key_pair->ExportPublicKey(&public_key));
61 EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key));
H A Dsignature_verifier_openssl.cc20 ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> public_key; member in struct:crypto::SignatureVerifier::VerifyContext
59 verify_context_->public_key.reset(d2i_PUBKEY_bio(bio.get(), NULL));
60 if (!verify_context_->public_key.get())
82 verify_context_->public_key.get());
H A Drsa_private_key.h216 SECKEYPublicKeyStr* public_key() { return public_key_; } function in class:crypto::RSAPrivateKey
222 CSSM_KEY_PTR public_key() { return &public_key_; } function in class:crypto::RSAPrivateKey
H A Drsa_private_key_mac.cc34 result->public_key(), CSSM_KEYUSE_SIGN,
119 CSSM_KEY* public_key = result->public_key(); local
121 public_key->KeyData.Data = reinterpret_cast<uint8*>(CSSMMalloc(size));
122 if (!public_key->KeyData.Data) {
126 memcpy(public_key->KeyData.Data, &public_key_data.front(), size);
127 public_key->KeyData.Length = size;
128 public_key->KeyHeader.Format = CSSM_KEYBLOB_RAW_FORMAT_PKCS1;
129 public_key->KeyHeader.HeaderVersion = CSSM_KEYHEADER_VERSION;
130 public_key
[all...]
/external/chromium/chrome/common/remoting/
H A Dchromoting_host_info.h19 std::string public_key; member in struct:remoting::ChromotingHostInfo
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_shared_secret.c24 @param public_key The public key
30 dsa_key *public_key,
38 LTC_ARGCHK(public_key != NULL);
47 if ((err = mp_exptmod(base, private_key, public_key->p, res)) != CRYPT_OK) {
29 dsa_shared_secret(void *private_key, void *base, dsa_key *public_key, unsigned char *out, unsigned long *outlen) argument
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_shared_secret.c29 @param public_key The public key
34 int ecc_shared_secret(ecc_key *private_key, ecc_key *public_key, argument
43 LTC_ARGCHK(public_key != NULL);
52 if (ltc_ecc_is_valid_idx(private_key->idx) == 0 || ltc_ecc_is_valid_idx(public_key->idx) == 0) {
56 if (XSTRCMP(private_key->dp->name, public_key->dp->name) != 0) {
72 if ((err = ltc_mp.ecc_ptmul(private_key->k, &public_key->pubkey, result, prime, 1)) != CRYPT_OK) { goto done; }
/external/chromium/chrome/browser/chromeos/login/
H A Downer_key_utils_unittest.cc54 std::vector<uint8> public_key; local
55 ASSERT_TRUE(pair->ExportPublicKey(&public_key));
61 for (pubkey_it = public_key.begin(), disk_it = from_disk.begin();
62 pubkey_it < public_key.end();
H A Downer_key_utils.cc47 const std::vector<uint8> public_key);
136 const std::vector<uint8> public_key) {
140 &public_key[0], public_key.size())) {
134 Verify(const std::string& data, const std::vector<uint8> signature, const std::vector<uint8> public_key) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_creator.cc196 std::vector<uint8> public_key; local
197 if (!private_key->ExportPublicKey(&public_key)) {
207 header.key_size = public_key.size();
214 if (fwrite(&public_key.front(), sizeof(uint8), public_key.size(),
215 crx_handle.get()) != public_key.size()) {
216 PLOG(ERROR) << "fwrite failed to write public_key.front";
/external/chromium/net/base/
H A Dkeygen_handler_mac.cc106 SecKeyRef public_key = NULL; local
129 &public_key, &private_key);
135 err = SecKeychainItemExport(public_key, kSecFormatBSAFE, 0, NULL,
201 if (public_key)
202 SecKeychainItemDelete(reinterpret_cast<SecKeychainItemRef>(public_key));
213 if (public_key)
214 CFRelease(public_key);
H A Ddnssec_keyset.cc193 base::StringPiece public_key,
207 spki_der.data = (uint8*) public_key.data();
208 spki_der.len = public_key.size();
190 VerifySignature( base::StringPiece signature_algorithm, base::StringPiece signature, base::StringPiece public_key, base::StringPiece signed_data) argument
/external/openssl/crypto/dh/
H A Ddh_ameth.c79 ASN1_INTEGER *public_key = NULL; local
103 if (!(public_key=d2i_ASN1_INTEGER(NULL, &p, pklen)))
110 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
116 ASN1_INTEGER_free(public_key);
121 if (public_key)
122 ASN1_INTEGER_free(public_key);
/external/chromium/net/socket/
H A Ddns_cert_provenance_checker.cc213 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); local
216 return public_key;
/external/openssl/crypto/dsa/
H A Ddsa_ameth.c77 ASN1_INTEGER *public_key = NULL; local
113 if (!(public_key=d2i_ASN1_INTEGER(NULL, &p, pklen)))
119 if (!(dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
125 ASN1_INTEGER_free(public_key);
130 if (public_key)
131 ASN1_INTEGER_free(public_key);
/external/openssl/crypto/ec/
H A Dec_ameth.c436 const EC_POINT *public_key; local
454 public_key = EC_KEY_get0_public_key(x);
455 if ((pub_key = EC_POINT_point2bn(group, public_key,
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dx509v3.h44 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_8/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dwps_i.h158 const u8 *public_key; member in struct:wps_parse_attr
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_i.h179 const u8 *public_key; member in struct:wps_parse_attr
H A Dwps_validate.c610 static int wps_validate_public_key(const u8 *public_key, size_t len, argument
613 if (public_key == NULL) {
1304 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
1360 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
/external/wpa_supplicant_8/src/wps/
H A Dwps_i.h179 const u8 *public_key; member in struct:wps_parse_attr
H A Dwps_validate.c610 static int wps_validate_public_key(const u8 *public_key, size_t len, argument
613 if (public_key == NULL) {
1304 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
1360 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||

Completed in 355 milliseconds

12