Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp142 std::string key_temp; in generateWrappedStorageKey() local
146 if (!keymaster.generateKey(paramBuilder, &key_temp)) return false; in generateWrappedStorageKey()
147 *key = KeyBuffer(key_temp.size()); in generateWrappedStorageKey()
148 memcpy(reinterpret_cast<void*>(key->data()), key_temp.c_str(), key->size()); in generateWrappedStorageKey()
155 std::string key_temp; in exportWrappedStorageKey() local
157 if (!keymaster.exportKey(kmKey, &key_temp)) return false; in exportWrappedStorageKey()
158 *key = KeyBuffer(key_temp.size()); in exportWrappedStorageKey()
159 memcpy(reinterpret_cast<void*>(key->data()), key_temp.c_str(), key->size()); in exportWrappedStorageKey()