Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp156 std::string key_temp; in generateWrappedStorageKey() local
159 if (!generateKeymasterKey(keymaster, paramBuilder, &key_temp)) return false; in generateWrappedStorageKey()
160 *key = KeyBuffer(key_temp.size()); in generateWrappedStorageKey()
161 memcpy(reinterpret_cast<void*>(key->data()), key_temp.c_str(), key->size()); in generateWrappedStorageKey()
168 std::string key_temp; in exportWrappedStorageKey() local
170 if (!keymaster.exportKey(kmKey, &key_temp)) return false; in exportWrappedStorageKey()
171 *key = KeyBuffer(key_temp.size()); in exportWrappedStorageKey()
172 memcpy(reinterpret_cast<void*>(key->data()), key_temp.c_str(), key->size()); in exportWrappedStorageKey()