/external/chromium/crypto/ |
H A D | rsa_private_key_nss_unittest.cc | 35 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 D | signature_verifier_openssl.cc | 20 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 D | rsa_private_key.h | 216 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 D | rsa_private_key_mac.cc | 34 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 D | chromoting_host_info.h | 19 std::string public_key; member in struct:remoting::ChromotingHostInfo
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
H A D | dsa_shared_secret.c | 24 @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 D | ecc_shared_secret.c | 29 @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 D | owner_key_utils_unittest.cc | 54 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 D | owner_key_utils.cc | 47 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 D | extension_creator.cc | 196 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 D | keygen_handler_mac.cc | 106 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 D | dnssec_keyset.cc | 193 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 D | dh_ameth.c | 79 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 D | dns_cert_provenance_checker.cc | 213 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); local 216 return public_key;
|
/external/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 77 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 D | ec_ameth.c | 436 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 D | x509v3.h | 44 u8 *public_key; member in struct:x509_certificate
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | x509v3.h | 58 u8 *public_key; member in struct:x509_certificate
|
/external/wpa_supplicant_8/src/tls/ |
H A D | x509v3.h | 58 u8 *public_key; member in struct:x509_certificate
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | x509v3.h | 58 u8 *public_key; member in struct:x509_certificate
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
H A D | wps_i.h | 158 const u8 *public_key; member in struct:wps_parse_attr
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_i.h | 179 const u8 *public_key; member in struct:wps_parse_attr
|
H A D | wps_validate.c | 610 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 D | wps_i.h | 179 const u8 *public_key; member in struct:wps_parse_attr
|
H A D | wps_validate.c | 610 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) ||
|