Home
last modified time | relevance | path

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

/system/hwservicemanager/
DTokenManager.cpp17 static void ReadRandomBytes(uint8_t *buf, size_t len) { in ReadRandomBytes() function
36 ReadRandomBytes(mKey.data(), mKey.size()); in TokenManager()
/system/vold/
DUtils.h80 status_t ReadRandomBytes(size_t bytes, std::string& out);
DDisk.cpp472 if (ReadRandomBytes(16, partGuidRaw) || ReadRandomBytes(16, keyRaw)) { in partitionMixed()
DKeyStorage.cpp295 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog()
416 if (ReadRandomBytes(SALT_BYTES, salt) != OK) { in storeKey()
DUtils.cpp351 status_t ReadRandomBytes(size_t bytes, std::string& out) { in ReadRandomBytes() function
DExt4Crypt.cpp302 if (android::vold::ReadRandomBytes(EXT4_AES_256_XTS_KEY_SIZE, *key) != 0) { in random_key()
DBenchmarkGen.h4034 if (android::vold::ReadRandomBytes(chunk, buf) != OK) { in CreateFile()