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 | 80 status_t ReadRandomBytes(size_t bytes, std::string& out);
|
D | Disk.cpp | 472 if (ReadRandomBytes(16, partGuidRaw) || ReadRandomBytes(16, keyRaw)) { in partitionMixed()
|
D | KeyStorage.cpp | 295 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog() 416 if (ReadRandomBytes(SALT_BYTES, salt) != OK) { in storeKey()
|
D | Utils.cpp | 351 status_t ReadRandomBytes(size_t bytes, std::string& out) { in ReadRandomBytes() function
|
D | Ext4Crypt.cpp | 302 if (android::vold::ReadRandomBytes(EXT4_AES_256_XTS_KEY_SIZE, *key) != 0) { in random_key()
|
D | BenchmarkGen.h | 4034 if (android::vold::ReadRandomBytes(chunk, buf) != OK) { in CreateFile()
|