HomeSort by relevance Sort by last modified time
    Searched refs:raw_key (Results 1 - 24 of 24) sorted by null

  /external/chromium_org/crypto/
hmac.cc 16 std::string raw_key; local
17 bool result = key->GetRawKey(&raw_key) && Init(raw_key);
20 std::fill(raw_key.begin(), raw_key.end(), 0);
symmetric_key_openssl.cc 85 const std::string& raw_key) {
90 if (raw_key.size() != 128/8 && raw_key.size() != 256/8)
95 key->key_ = raw_key;
99 bool SymmetricKey::GetRawKey(std::string* raw_key) {
100 *raw_key = key_;
symmetric_key_nss.cc 97 const std::string& raw_key) {
104 if (raw_key.size() != 128/8 && raw_key.size() != 256/8)
114 const_cast<char *>(raw_key.data()));
115 key_item.len = raw_key.size();
132 bool SymmetricKey::GetRawKey(std::string* raw_key) {
141 raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len);
symmetric_key_unittest.cc 18 std::string raw_key; local
19 EXPECT_TRUE(key->GetRawKey(&raw_key));
20 EXPECT_EQ(32U, raw_key.size());
30 EXPECT_NE(raw_key, raw_key2);
99 std::string raw_key; local
100 key->GetRawKey(&raw_key);
101 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size());
103 base::StringToLowerASCII(base::HexEncode(raw_key.data(),
104 raw_key.size())));
symmetric_key_win.cc 171 scoped_ptr<BYTE[]>* raw_key) {
174 DCHECK(raw_key);
199 raw_key->swap(random);
323 scoped_ptr<BYTE[]> raw_key; local
331 &key, &raw_key);
341 if (raw_key == NULL)
346 raw_key.get(),
348 if (raw_key != NULL)
349 SecureZeroMemory(raw_key.get(), key_size_in_bytes);
465 const std::string& raw_key) {
    [all...]
symmetric_key.h 54 // Imports an array of key bytes in |raw_key|. This key may have been
58 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key);
69 // Warning: |raw_key| holds the raw key as bytes and thus must be handled
71 bool GetRawKey(std::string* raw_key);
  /external/chromium_org/content/child/webcrypto/openssl/
util_openssl.h 33 const std::vector<uint8_t>& raw_key,
aes_gcm_openssl.cc 42 const std::vector<uint8_t>& raw_key = local
52 raw_key,
57 GetAesGcmAlgorithmFromKeySize(raw_key.size()),
aes_kw_openssl.cc 51 const std::vector<uint8_t>& raw_key = local
55 raw_key,
60 GetAesKwAlgorithmFromKeySize(raw_key.size()),
util_openssl.cc 40 const std::vector<uint8_t>& raw_key,
55 vector_as_array(&raw_key),
56 raw_key.size(),
aes_ctr_openssl.cc 45 const CryptoData& raw_key,
62 raw_key.bytes(),
162 const std::vector<uint8_t>& raw_key = local
178 const EVP_CIPHER* const cipher = GetAESCipherByKeyLength(raw_key.size());
222 CryptoData(raw_key),
241 CryptoData(raw_key),
254 CryptoData(raw_key),
aes_cbc_openssl.cc 47 const std::vector<uint8_t>& raw_key = local
74 const EVP_CIPHER* const cipher = GetAESCipherByKeyLength(raw_key.size());
80 &raw_key[0],
hmac_openssl.cc 32 Status SignHmac(const std::vector<uint8_t>& raw_key,
46 // which will result if the raw_key vector is empty; an entirely valid
49 const void* const raw_key_voidp = raw_key.size() ? &raw_key[0] : null_key;
58 raw_key.size(),
  /external/chromium_org/chrome/browser/signin/
easy_unlock_auth_attempt.cc 25 // raw AES key |raw_key|.
28 const std::string& raw_key) {
29 if (raw_key.empty())
34 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key));
39 std::string iv(raw_key.size(), ' ');
  /external/chromium_org/content/child/webcrypto/test/
hmac_unittest.cc 65 std::vector<uint8_t> raw_key; local
67 ExportKey(blink::WebCryptoKeyFormatRaw, key, &raw_key));
68 EXPECT_BYTES_EQ(test_key, raw_key);
133 std::vector<uint8_t> raw_key; local
135 ExportKey(blink::WebCryptoKeyFormatRaw, key, &raw_key));
136 EXPECT_EQ(64U, raw_key.size());
137 keys.push_back(raw_key);
156 std::vector<uint8_t> raw_key; local
158 ExportKey(blink::WebCryptoKeyFormatRaw, key, &raw_key));
159 EXPECT_EQ(64U, raw_key.size())
172 std::vector<uint8_t> raw_key; local
    [all...]
aes_gcm_unittest.cc 181 std::vector<uint8_t> raw_key; local
183 ExportKey(blink::WebCryptoKeyFormatRaw, key, &raw_key));
185 EXPECT_BYTES_EQ(test_key, raw_key);
aes_kw_unittest.cc 259 std::vector<uint8_t> raw_key; local
261 ExportKey(blink::WebCryptoKeyFormatRaw, unwrapped_key, &raw_key));
262 EXPECT_BYTES_EQ(test_key, raw_key);
459 std::vector<uint8_t> raw_key; local
461 ExportKey(blink::WebCryptoKeyFormatRaw, unwrapped_key, &raw_key));
462 EXPECT_BYTES_EQ(key_data, raw_key);
rsa_oaep_unittest.cc 447 std::vector<uint8_t> raw_key; local
449 ExportKey(blink::WebCryptoKeyFormatRaw, unwrapped_key, &raw_key));
450 EXPECT_BYTES_EQ_HEX(key_hex, raw_key);
566 std::vector<uint8_t> raw_key; local
568 ExportKey(blink::WebCryptoKeyFormatRaw, unwrapped_key, &raw_key));
569 EXPECT_BYTES_EQ_HEX(key_hex, raw_key);
aes_cbc_unittest.cc 42 std::vector<uint8_t> raw_key; local
44 ExportKey(blink::WebCryptoKeyFormatRaw, key, &raw_key));
45 EXPECT_BYTES_EQ_HEX(key_hex, raw_key);
178 std::vector<uint8_t> raw_key; local
180 ExportKey(blink::WebCryptoKeyFormatRaw, key, &raw_key));
181 EXPECT_BYTES_EQ(test_key, raw_key);
    [all...]
  /external/chromium_org/media/cdm/
json_web_key.cc 117 std::string raw_key = DecodeBase64(encoded_key); local
118 if (raw_key.empty()) {
124 *jwk_key = std::make_pair(raw_key_id, raw_key);
  /external/chromium_org/chrome/browser/extensions/
component_loader.cc 65 std::string raw_key; local
67 CHECK(manifest->GetString(manifest_keys::kPublicKey, &raw_key));
68 CHECK(Extension::ParsePEMKeyBytes(raw_key, &id_input));
  /external/chromium_org/v8/src/
bootstrapper.cc     [all...]
runtime.cc     [all...]
  /external/chromium_org/v8/src/heap/
mark-compact.cc 2411 Object* raw_key = map_cache->get(i); local
    [all...]

Completed in 373 milliseconds