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.h82 status_t ReadRandomBytes(size_t bytes, std::string& out);
83 status_t ReadRandomBytes(size_t bytes, char* buffer);
DUtils.cpp353 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()
DKeyUtil.cpp51 if (ReadRandomBytes(key->size(), key->data()) != 0) { in randomKey()
DKeyStorage.cpp315 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog()
440 if (ReadRandomBytes(SALT_BYTES, salt) != OK) { in storeKey()
DDisk.cpp480 if (ReadRandomBytes(16, keyRaw) != OK) { in partitionMixed()
DBenchmarkGen.h4034 if (android::vold::ReadRandomBytes(chunk, buf) != OK) { in CreateFile()