/external/chromium_org/components/ownership/ |
H A D | mock_owner_key_util.cc | 19 *output = public_key_; 20 return !public_key_.empty(); 32 return !public_key_.empty(); 36 public_key_.clear(); 41 public_key_ = key; 46 key.ExportPublicKey(&public_key_); 51 private_key_->ExportPublicKey(&public_key_);
|
H A D | mock_owner_key_util.h | 50 std::vector<uint8> public_key_; member in class:ownership::MockOwnerKeyUtil
|
H A D | owner_settings_service.h | 84 scoped_refptr<ownership::PublicKey> public_key_; member in class:ownership::OwnerSettingsService
|
/external/chromium_org/net/cert/ |
H A D | ct_log_verifier_nss.cc | 62 if (public_key_) 63 SECKEY_DestroyPublicKey(public_key_); 69 public_key_(NULL) {} 88 public_key_ = SECKEY_ExtractPublicKey(public_key_info); 91 if (!public_key_) { 101 switch (SECKEY_GetPublicKeyType(public_key_)) { 112 << SECKEY_GetPublicKeyType(public_key_); 118 SECKEY_PublicKeyStrengthInBits(public_key_) < 2048) { 135 data_to_sign.size(), public_key_, &sig_data,
|
H A D | ct_log_verifier_openssl.cc | 46 if (public_key_) 47 EVP_PKEY_free(public_key_); 53 public_key_(NULL) {} 64 public_key_ = d2i_PUBKEY_bio(bio.get(), NULL); 65 if (!public_key_) 73 switch (EVP_PKEY_type(public_key_->type)) { 83 DVLOG(1) << "Unsupported key type: " << EVP_PKEY_type(public_key_->type); 90 EVP_PKEY_size(public_key_) < 256) { 110 1 == EVP_DigestVerifyInit(&ctx, NULL, hash_alg, NULL, public_key_) &&
|
H A D | ct_log_verifier.h | 84 EVP_PKEY* public_key_; member in class:net::CTLogVerifier 86 SECKEYPublicKey* public_key_; member in class:net::CTLogVerifier
|
/external/chromium_org/net/quic/crypto/ |
H A D | curve25519_key_exchange.cc | 26 // we use literals for the sizes of private_key_ and public_key_. Here we 31 COMPILE_ASSERT(sizeof(ka->public_key_) == crypto::curve25519::kBytes, 41 crypto::curve25519::ScalarBaseMult(ka->private_key_, ka->public_key_); 81 return StringPiece(reinterpret_cast<const char*>(public_key_), 82 sizeof(public_key_));
|
H A D | curve25519_key_exchange.h | 44 uint8 public_key_[32]; member in class:net::Curve25519KeyExchange
|
H A D | p256_key_exchange_openssl.cc | 20 memcpy(public_key_, public_key, sizeof(public_key_)); 110 return StringPiece(reinterpret_cast<const char*>(public_key_), 111 sizeof(public_key_));
|
H A D | p256_key_exchange.h | 73 uint8 public_key_[kUncompressedP256PointBytes]; member in class:net::P256KeyExchange
|
H A D | p256_key_exchange_nss.cc | 34 memcpy(public_key_, public_key, sizeof(public_key_)); 226 return StringPiece(reinterpret_cast<const char*>(public_key_), 227 sizeof(public_key_));
|
/external/chromium_org/crypto/ |
H A D | rsa_private_key_nss.cc | 79 if (public_key_) 80 SECKEY_DestroyPublicKey(public_key_); 134 copy->public_key_ = SECKEY_ConvertToPublicKey(key); 135 if (!copy->key_ || !copy->public_key_) { 151 PK11_MakeIDFromPubKey(&(result->public_key_->u.rsa.modulus))); 187 PK11_MakeIDFromPubKey(&(result->public_key_->u.rsa.modulus))); 203 copy->public_key_ = SECKEY_CopyPublicKey(public_key_); 230 ScopedSECItem der_pubkey(SECKEY_EncodeDERSubjectPublicKeyInfo(public_key_)); 240 RSAPrivateKey::RSAPrivateKey() : key_(NULL), public_key_(NUL [all...] |
H A D | rsa_private_key_nss_unittest.cc | 52 if (key_pair->public_key_) { 53 PK11_DestroyTokenObject(key_pair->public_key_->pkcs11Slot, 54 key_pair->public_key_->pkcs11ID);
|
H A D | ec_private_key_nss.cc | 80 if (public_key_) 81 SECKEY_DestroyPublicKey(public_key_); 225 if (public_key_) { 226 copy->public_key_ = SECKEY_CopyPublicKey(public_key_); 227 if (!copy->public_key_) 280 SECKEY_EncodeDERSubjectPublicKeyInfo(public_key_)); 290 // public_key_->u.ec.publicValue is an ANSI X9.62 public key which, for 295 CHECK_EQ(ecKey, SECKEY_GetPublicKeyType(public_key_)); 296 const unsigned char* const data = public_key_ [all...] |
H A D | ec_private_key.h | 98 SECKEYPublicKey* public_key() { return public_key_; } 148 SECKEYPublicKey* public_key_; member in class:crypto::ECPrivateKey
|
H A D | signature_verifier_nss.cc | 67 public_key_(NULL), 155 public_key_ = public_key; 181 rv = VerifyRSAPSS_End(public_key_, hash_context_, 219 if (public_key_) { 220 SECKEY_DestroyPublicKey(public_key_); 221 public_key_ = NULL;
|
H A D | signature_verifier.h | 138 SECKEYPublicKey* public_key_; member in class:crypto::SignatureVerifier
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | session_manager_operation.cc | 45 public_key_ = public_key; 51 public_key_ = NULL; 77 if (force_key_load_ || !public_key_.get() || !public_key_->is_loaded()) { 87 public_key_), 117 public_key_ = new_key; 119 if (!public_key_.get() || !public_key_->is_loaded()) { 180 validator->ValidateSignature(public_key_->as_string(),
|
H A D | device_settings_service.cc | 165 return public_key_; 236 if (public_key_.get()) 237 return public_key_->is_loaded() ? OWNERSHIP_TAKEN : OWNERSHIP_NONE; 243 if (public_key_.get()) { 293 public_key_ = NULL; 340 session_manager_client_, owner_key_util_, public_key_); 360 if (public_key_.get() != new_key.get()) { 361 public_key_ = new_key;
|
H A D | session_manager_operation.h | 62 scoped_refptr<ownership::PublicKey> public_key() { return public_key_; } 122 scoped_refptr<ownership::PublicKey> public_key_; member in class:chromeos::SessionManagerOperation
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
H A D | networking_private_credentials_getter_win.cc | 44 std::vector<uint8> public_key_; member in class:__anon3783::CredentialsGetterHostClient 55 : public_key_(public_key.begin(), public_key.end()) { 83 public_key_, key_data, &ciphertext)) {
|
/external/chromium_org/extensions/browser/ |
H A D | verified_contents.h | 74 const uint8* public_key_; member in class:extensions::VerifiedContents
|
/external/chromium_org/chrome/browser/chromeos/ownership/ |
H A D | owner_settings_service_chromeos.cc | 291 service->session_manager_client(), owner_key_util_, public_key_); 307 if ((operation->public_key().get() && !public_key_.get()) || 308 (operation->public_key().get() && public_key_.get() && 309 operation->public_key()->data() != public_key_->data())) {
|
/external/chromium_org/components/component_updater/ |
H A D | component_unpacker.cc | 86 public_key_.swap(key); 94 const std::vector<uint8_t>& public_key() const { return public_key_; } 99 std::vector<uint8_t> public_key_; member in class:component_updater::__anon6380::CRXValidator
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | sandboxed_unpacker.h | 164 // |public_key_|. Returns true if the signature validates, false otherwise. 224 std::string public_key_; member in class:extensions::SandboxedUnpacker
|