Home
last modified time | relevance | path

Searched refs:raw_key (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/crypto/
Dsymmetric_key_win.cc174 scoped_ptr<BYTE[]>* raw_key) { in GenerateHMACKey() argument
177 DCHECK(raw_key); in GenerateHMACKey()
202 raw_key->swap(random); in GenerateHMACKey()
326 scoped_ptr<BYTE[]> raw_key; in GenerateRandomKey() local
334 &key, &raw_key); in GenerateRandomKey()
344 if (raw_key == NULL) in GenerateRandomKey()
349 raw_key.get(), in GenerateRandomKey()
351 if (raw_key != NULL) in GenerateRandomKey()
352 SecureZeroMemory(raw_key.get(), key_size_in_bytes); in GenerateRandomKey()
468 const std::string& raw_key) { in Import() argument
[all …]
Dsymmetric_key_unittest.cc18 std::string raw_key; in TEST() local
19 EXPECT_TRUE(key->GetRawKey(&raw_key)); in TEST()
20 EXPECT_EQ(32U, raw_key.size()); in TEST()
30 EXPECT_NE(raw_key, raw_key2); in TEST()
99 std::string raw_key; in TEST_P() local
100 key->GetRawKey(&raw_key); in TEST_P()
101 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()); in TEST_P()
103 base::ToLowerASCII(base::HexEncode(raw_key.data(), in TEST_P()
104 raw_key.size()))); in TEST_P()
Dsymmetric_key_nss.cc99 const std::string& raw_key) { in Import() argument
106 if (raw_key.size() != 128/8 && raw_key.size() != 256/8) in Import()
116 const_cast<char *>(raw_key.data())); in Import()
117 key_item.len = raw_key.size(); in Import()
134 bool SymmetricKey::GetRawKey(std::string* raw_key) { in GetRawKey() argument
143 raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len); in GetRawKey()
Dhmac.cc18 std::string raw_key; in Init() local
19 bool result = key->GetRawKey(&raw_key) && Init(raw_key); in Init()
22 std::fill(raw_key.begin(), raw_key.end(), 0); in Init()
Dsymmetric_key_openssl.cc86 const std::string& raw_key) { in Import() argument
91 if (raw_key.size() != 128/8 && raw_key.size() != 256/8) in Import()
96 key->key_ = raw_key; in Import()
100 bool SymmetricKey::GetRawKey(std::string* raw_key) { in GetRawKey() argument
101 *raw_key = key_; in GetRawKey()
Dsymmetric_key.h61 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key);
74 bool GetRawKey(std::string* raw_key);
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb2/
Dtable.py647 raw_key = {}
650 raw_key[key] = self._dynamizer.encode(value)
652 return raw_key
700 raw_key = self._encode_keys(kwargs)
703 raw_key,
845 raw_key = self._encode_keys(key)
851 self.connection.update_item(self.table_name, raw_key, item_data, **kwargs)
907 raw_key = self._encode_keys(kwargs)
910 self.connection.delete_item(self.table_name, raw_key,
1565 raw_key = {}
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dmultistore_file.py397 raw_key = cred_entry['key']
398 key = util.dict_to_tuple_key(raw_key)
412 raw_key = dict(cred_key)
414 raw_creds.append({'key': raw_key, 'credential': raw_cred})
/external/v8/src/runtime/
Druntime-scopes.cc1186 CONVERT_ARG_HANDLE_CHECKED(Object, raw_key, 0); in RUNTIME_FUNCTION()
1197 if (raw_key->ToArrayIndex(&index) && index < argument_count) { in RUNTIME_FUNCTION()
1201 if (raw_key->IsSymbol()) { in RUNTIME_FUNCTION()
1202 Handle<Symbol> symbol = Handle<Symbol>::cast(raw_key); in RUNTIME_FUNCTION()
1211 Handle<Symbol>::cast(raw_key))); in RUNTIME_FUNCTION()
1218 Object::ToString(isolate, raw_key)); in RUNTIME_FUNCTION()
/external/v8/src/
Dbootstrapper.cc3266 Object* raw_key(properties->KeyAt(i)); in TransferNamedProperties() local
3267 if (properties->IsKey(raw_key)) { in TransferNamedProperties()
3268 DCHECK(raw_key->IsName()); in TransferNamedProperties()
3270 Handle<Name> key(Name::cast(raw_key)); in TransferNamedProperties()
3289 Object* raw_key(properties->KeyAt(i)); in TransferNamedProperties() local
3290 if (properties->IsKey(raw_key)) { in TransferNamedProperties()
3291 DCHECK(raw_key->IsName()); in TransferNamedProperties()
3293 Handle<Name> key(Name::cast(raw_key)); in TransferNamedProperties()