Searched refs:GenerateRandom (Results 1 – 13 of 13) sorted by relevance
/system/keymaster/km_openssl/ |
D | software_random_source.cpp | 23 keymaster_error_t SoftwareRandomSource::GenerateRandom(uint8_t* buffer, size_t length) const { in GenerateRandom() function in keymaster::SoftwareRandomSource
|
D | ecdsa_operation.cpp | 110 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin() 175 return GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin() 234 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | symmetric_key.cpp | 57 error = random_source_.GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
|
D | ecdh_operation.cpp | 33 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | hmac_operation.cpp | 150 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | openssl_utils.cpp | 203 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length) { in GenerateRandom() function
|
D | block_cipher_operation.cpp | 163 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | rsa_operation.cpp | 173 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | software_random_source.h | 29 keymaster_error_t GenerateRandom(uint8_t* buffer, size_t length) const override;
|
D | openssl_utils.h | 105 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length);
|
/system/keymaster/include/keymaster/ |
D | random_source.h | 33 virtual keymaster_error_t GenerateRandom(uint8_t* buffer, size_t length) const = 0;
|
/system/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.cpp | 46 random.GenerateRandom(nonce.peek_write(), size); in generate_nonce()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 461 if (GenerateRandom(ephemeral_mac_key.data(), ephemeral_mac_key.size()) != KM_ERROR_OK) { in GenerateCsr() 519 if (GenerateRandom(nonce.data(), nonce.size()) != KM_ERROR_OK) { in GenerateCsr()
|