Home
last modified time | relevance | path

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

/system/hwservicemanager/
DTokenManager.cpp34 static void ReadRandomBytes(uint8_t *buf, size_t len) { in ReadRandomBytes() function
53 ReadRandomBytes(mKey.data(), mKey.size()); in TokenManager()
/system/vold/
DUtils.h91 status_t ReadRandomBytes(size_t bytes, std::string& out);
92 status_t ReadRandomBytes(size_t bytes, char* buffer);
DUtils.cpp417 status_t ReadRandomBytes(size_t bytes, std::string& out) { in ReadRandomBytes() function
419 return ReadRandomBytes(bytes, &out[0]); in ReadRandomBytes()
422 status_t ReadRandomBytes(size_t bytes, char* buf) { in ReadRandomBytes() function
443 status_t res = ReadRandomBytes(16, out); in GenerateRandomUuid()
DKeyStorage.cpp185 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog()
495 if (ReadRandomBytes(SALT_BYTES, salt) != OK) { in storeKey()
DKeyUtil.cpp45 if (ReadRandomBytes(key->size(), key->data()) != 0) { in randomKey()
Dcryptfs.cpp1374 if (android::vold::ReadRandomBytes(sizeof(key_buf), reinterpret_cast<char*>(key_buf)) != 0) { in create_encrypted_random_key()
1377 if (android::vold::ReadRandomBytes(SALT_LEN, reinterpret_cast<char*>(salt)) != 0) { in create_encrypted_random_key()
DBenchmarkGen.h4053 if (android::vold::ReadRandomBytes(chunk, buf) != OK) { in CreateFile()