Searched refs:key_bytes (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dchannel_id_openssl.cc49 const uint8* key_bytes = reinterpret_cast<const uint8*>(key.data()); local
53 if (BN_bin2bn(key_bytes + 0, 32, x.get()) == NULL ||
54 BN_bin2bn(key_bytes + 32, 32, y.get()) == NULL ||
H A Dcrypto_utils.cc91 size_t key_bytes = crypters->encrypter->GetKeySize(); local
103 crypto::HKDF hkdf(premaster_secret, nonce, hkdf_input, key_bytes,
H A Dquic_crypto_server_config.cc246 scoped_ptr<uint8[]> key_bytes(new uint8[key_size]);
247 rand->RandBytes(key_bytes.get(), key_size);
250 StringPiece(reinterpret_cast<char*>(key_bytes.get()), key_size));
/external/chromium_org/chrome/app/
H A Dsignature_validator_win_unittest.cc83 base::StringPiece key_bytes(reinterpret_cast<char*>(public_key),
85 crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length);
H A Dsignature_validator_win.cc38 base::StringPiece key_bytes(reinterpret_cast<char*>(
40 crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length);
/external/chromium_org/content/child/webcrypto/test/
H A Daes_cbc_unittest.cc260 std::vector<uint8_t> key_bytes; local
273 ExportKey(blink::WebCryptoKeyFormatRaw, key, &key_bytes));
274 EXPECT_EQ(key_bytes.size() * 8,
276 keys.push_back(key_bytes);
888 std::vector<uint8_t> key_bytes(16);
896 CryptoData(key_bytes),
H A Daes_kw_unittest.cc481 std::vector<uint8_t> key_bytes(16);
489 CryptoData(key_bytes),
H A Dhmac_unittest.cc120 std::vector<uint8_t> key_bytes; local
/external/chromium_org/net/socket/
H A Dssl_server_socket_nss.cc110 std::vector<uint8> key_bytes; local
111 CHECK(key->ExportPrivateKey(&key_bytes));
112 key_.reset(crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_bytes));
H A Dssl_server_socket_openssl.cc55 std::vector<uint8> key_bytes; local
56 CHECK(key->ExportPrivateKey(&key_bytes));
57 key_.reset(crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_bytes));
/external/chromium_org/extensions/common/
H A Dfile_util.cc248 std::string key_bytes; local
249 if (!Extension::ParsePEMKeyBytes(key_contents, &key_bytes)) {

Completed in 531 milliseconds