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 | 118 status_t ReadRandomBytes(size_t bytes, std::string& out); 119 status_t ReadRandomBytes(size_t bytes, char* buffer);
|
D | Utils.cpp | 777 status_t ReadRandomBytes(size_t bytes, std::string& out) { in ReadRandomBytes() function 779 return ReadRandomBytes(bytes, &out[0]); in ReadRandomBytes() 782 status_t ReadRandomBytes(size_t bytes, char* buf) { in ReadRandomBytes() function 803 status_t res = ReadRandomBytes(16, out); in GenerateRandomUuid()
|
D | KeyUtil.cpp | 45 if (ReadRandomBytes(key->size(), key->data()) != 0) { in randomKey()
|
D | KeyStorage.cpp | 191 auto status = ReadRandomBytes(count, *out); in readRandomBytesOrLog()
|
D | cryptfs.cpp | 1470 if (android::vold::ReadRandomBytes(sizeof(key_buf), reinterpret_cast<char*>(key_buf)) != 0) { in create_encrypted_random_key() 1473 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()
|