Home
last modified time | relevance | path

Searched refs:GenerateRandom (Results 1 – 13 of 13) sorted by relevance

/system/keymaster/km_openssl/
Dsoftware_random_source.cpp23 keymaster_error_t SoftwareRandomSource::GenerateRandom(uint8_t* buffer, size_t length) const { in GenerateRandom() function in keymaster::SoftwareRandomSource
Decdsa_operation.cpp110 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()
Dsymmetric_key.cpp57 error = random_source_.GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
Decdh_operation.cpp33 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
Dhmac_operation.cpp150 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
Dopenssl_utils.cpp203 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length) { in GenerateRandom() function
Dblock_cipher_operation.cpp163 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
Drsa_operation.cpp173 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
/system/keymaster/include/keymaster/km_openssl/
Dsoftware_random_source.h29 keymaster_error_t GenerateRandom(uint8_t* buffer, size_t length) const override;
Dopenssl_utils.h105 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length);
/system/keymaster/include/keymaster/
Drandom_source.h33 virtual keymaster_error_t GenerateRandom(uint8_t* buffer, size_t length) const = 0;
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp46 random.GenerateRandom(nonce.peek_write(), size); in generate_nonce()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp461 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()