Searched refs:raw_key (Results 1 - 9 of 9) 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_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_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);
89 std::string raw_key; local
90 key->GetRawKey(&raw_key);
91 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size());
93 base::ToLowerASCII(base::HexEncode(raw_key.data(),
94 raw_key.size())));
H A Dsymmetric_key.cc89 const std::string& raw_key) {
94 if (raw_key.size() != 128/8 && raw_key.size() != 256/8)
99 key->key_ = raw_key;
103 bool SymmetricKey::GetRawKey(std::string* raw_key) { argument
104 *raw_key = key_;
88 Import(Algorithm algorithm, const std::string& raw_key) argument
H A Dsymmetric_key.h60 // Imports an array of key bytes in |raw_key|. This key may have been
65 const std::string& raw_key);
75 // Warning: |raw_key| holds the raw key as bytes and thus must be handled
77 bool GetRawKey(std::string* raw_key);
/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.cc1476 int entry, Object* raw_key, PropertyFilter filter) {
1478 DCHECK(raw_key->IsNumber());
1479 DCHECK_LE(raw_key->Number(), kMaxUInt32);
1483 return static_cast<uint32_t>(raw_key->Number());
1490 Object* raw_key = dictionary->KeyAt(entry); local
1491 if (!dictionary->IsKey(isolate, raw_key)) return kMaxUInt32;
1492 return FilterKey(dictionary, entry, raw_key, filter);
1508 Object* raw_key = dictionary->KeyAt(i); local
1509 if (!dictionary->IsKey(isolate, raw_key)) continue;
1510 uint32_t key = FilterKey(dictionary, i, raw_key, filte
1475 FilterKey(Handle<SeededNumberDictionary> dictionary, int entry, Object* raw_key, PropertyFilter filter) argument
[all...]
H A Dbootstrapper.cc4252 Object* raw_key(properties->KeyAt(i));
4253 if (properties->IsKey(isolate(), raw_key)) {
4254 DCHECK(raw_key->IsName());
4256 Handle<Name> key(Name::cast(raw_key));
4275 Object* raw_key(properties->KeyAt(i));
4276 if (properties->IsKey(isolate(), raw_key)) {
4277 DCHECK(raw_key->IsName());
4279 Handle<Name> key(Name::cast(raw_key));
H A Dobjects.cc18650 Object* raw_key = *key; local
18651 int entry = table->KeyToFirstEntry(isolate, raw_key);
18655 if (candidate_key->SameValueZero(raw_key)) return true;

Completed in 1354 milliseconds