Searched defs:raw_key (Results 1 - 8 of 8) sorted by relevance

/external/libchrome/crypto/
H A Dhmac.cc18 std::string raw_key; local
19 bool result = key->GetRawKey(&raw_key) && Init(raw_key);
22 std::fill(raw_key.begin(), raw_key.end(), 0);
H A Dsymmetric_key_openssl.cc86 const std::string& raw_key) {
91 if (raw_key.size() != 128/8 && raw_key.size() != 256/8)
96 key->key_ = raw_key;
100 bool SymmetricKey::GetRawKey(std::string* raw_key) { argument
101 *raw_key = key_;
85 Import(Algorithm algorithm, const std::string& raw_key) argument
H A Dsymmetric_key_unittest.cc18 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::ToLowerASCII(base::HexEncode(raw_key.data(),
104 raw_key.size())));
H A Dsymmetric_key_nss.cc99 const std::string& raw_key) {
106 if (raw_key.size() != 128/8 && raw_key.size() != 256/8)
116 const_cast<char *>(raw_key.data()));
117 key_item.len = raw_key.size();
134 bool SymmetricKey::GetRawKey(std::string* raw_key) { argument
143 raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len);
98 Import(Algorithm algorithm, const std::string& raw_key) argument
H A Dsymmetric_key_win.cc174 scoped_ptr<BYTE[]>* raw_key) {
177 DCHECK(raw_key);
202 raw_key->swap(random);
326 scoped_ptr<BYTE[]> raw_key; local
334 &key, &raw_key);
344 if (raw_key == NULL)
349 raw_key.get(),
351 if (raw_key != NULL)
352 SecureZeroMemory(raw_key.get(), key_size_in_bytes);
468 const std::string& raw_key) {
170 GenerateHMACKey(size_t key_size_in_bits, ALG_ID alg, ScopedHCRYPTPROV* provider, ScopedHCRYPTKEY* key, scoped_ptr<BYTE[]>* raw_key) argument
467 Import(Algorithm algorithm, const std::string& raw_key) argument
501 GetRawKey(std::string* raw_key) argument
[all...]
/external/openssh/
H A Dsshconnect.c812 Key *raw_key = NULL; local
1218 raw_key = key_from_private(host_key);
1219 if (key_drop_cert(raw_key) != 0)
1221 host_key = raw_key;
1224 if (raw_key != NULL)
1225 key_free(raw_key);
/external/v8/src/
H A Delements.cc1294 int entry, Object* raw_key, PropertyFilter filter) {
1296 DCHECK(raw_key->IsNumber());
1297 DCHECK_LE(raw_key->Number(), kMaxUInt32);
1301 return static_cast<uint32_t>(raw_key->Number());
1308 Object* raw_key = dictionary->KeyAt(entry); local
1309 if (!dictionary->IsKey(isolate, raw_key)) return kMaxUInt32;
1310 return FilterKey(dictionary, entry, raw_key, filter);
1293 FilterKey(Handle<SeededNumberDictionary> dictionary, int entry, Object* raw_key, PropertyFilter filter) argument
H A Dobjects.cc17912 Object* raw_key = *key; local
17913 int entry = table->KeyToFirstEntry(isolate, raw_key);
17917 if (candidate_key->SameValueZero(raw_key)) return true;

Completed in 222 milliseconds