Searched refs:ReadRandomBytes (Results 1 – 7 of 7) sorted by relevance
/system/hwservicemanager/ |
D | TokenManager.cpp | 34 static void ReadRandomBytes(uint8_t *buf, size_t len) { in ReadRandomBytes() function 53 ReadRandomBytes(mKey.data(), mKey.size()); in TokenManager()
|
/system/vold/ |
D | Utils.h | 91 status_t ReadRandomBytes(size_t bytes, std::string& out); 92 status_t ReadRandomBytes(size_t bytes, char* buffer);
|
D | Utils.cpp | 417 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()
|
D | KeyStorage.cpp | 185 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog() 495 if (ReadRandomBytes(SALT_BYTES, salt) != OK) { in storeKey()
|
D | KeyUtil.cpp | 45 if (ReadRandomBytes(key->size(), key->data()) != 0) { in randomKey()
|
D | cryptfs.cpp | 1374 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()
|
D | BenchmarkGen.h | 4053 if (android::vold::ReadRandomBytes(chunk, buf) != OK) { in CreateFile()
|