Searched refs:ReadRandomBytes (Results 1 – 7 of 7) sorted by relevance
/system/hwservicemanager/ |
D | TokenManager.cpp | 17 static void ReadRandomBytes(uint8_t *buf, size_t len) { in ReadRandomBytes() function 36 ReadRandomBytes(mKey.data(), mKey.size()); in TokenManager()
|
/system/vold/ |
D | Utils.h | 82 status_t ReadRandomBytes(size_t bytes, std::string& out); 83 status_t ReadRandomBytes(size_t bytes, char* buffer);
|
D | Utils.cpp | 353 status_t ReadRandomBytes(size_t bytes, std::string& out) { in ReadRandomBytes() function 355 return ReadRandomBytes(bytes, &out[0]); in ReadRandomBytes() 358 status_t ReadRandomBytes(size_t bytes, char* buf) { in ReadRandomBytes() function 379 status_t res = ReadRandomBytes(16, out); in GenerateRandomUuid()
|
D | KeyUtil.cpp | 51 if (ReadRandomBytes(key->size(), key->data()) != 0) { in randomKey()
|
D | KeyStorage.cpp | 315 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog() 440 if (ReadRandomBytes(SALT_BYTES, salt) != OK) { in storeKey()
|
D | Disk.cpp | 480 if (ReadRandomBytes(16, keyRaw) != OK) { in partitionMixed()
|
D | BenchmarkGen.h | 4034 if (android::vold::ReadRandomBytes(chunk, buf) != OK) { in CreateFile()
|