Searched refs:GenerateRandom (Results 1 – 17 of 17) sorted by relevance
/system/bt/gd/os/ |
D | rand.h | 27 std::array<uint8_t, SIZE> GenerateRandom() { in GenerateRandom() function 33 inline uint32_t GenerateRandom() { in GenerateRandom() function
|
/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 | 107 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin() 176 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | symmetric_key.cpp | 54 error = random_source_.GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
|
D | openssl_utils.cpp | 137 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length) { in GenerateRandom() function
|
D | hmac_operation.cpp | 144 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | block_cipher_operation.cpp | 161 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
D | rsa_operation.cpp | 139 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | software_random_source.h | 30 keymaster_error_t GenerateRandom(uint8_t* buffer, size_t length) const override;
|
D | openssl_utils.h | 100 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length);
|
/system/keymaster/include/keymaster/ |
D | random_source.h | 34 virtual keymaster_error_t GenerateRandom(uint8_t* buffer, size_t length) const = 0;
|
/system/bt/gd/security/ |
D | ecdh_keys.cc | 35 static std::array<uint8_t, SIZE> GenerateRandom() { in GenerateRandom() function 54 std::array<uint8_t, 32> private_key = GenerateRandom<32>(); in GenerateECDHKeyPair()
|
D | pairing_handler_le_secure_connections.cc | 23 using bluetooth::os::GenerateRandom; 247 Na = GenerateRandom<16>(); in SecureConnectionsOutOfBand() 260 Nb = GenerateRandom<16>(); in SecureConnectionsOutOfBand() 286 passkey = GenerateRandom(); in SecureConnectionsPasskeyEntry() 319 Nai = GenerateRandom<16>(); in SecureConnectionsPasskeyEntry() 351 Nbi = GenerateRandom<16>(); in SecureConnectionsPasskeyEntry() 431 Na = GenerateRandom<16>(); in SecureConnectionsJustWorks() 458 Nb = GenerateRandom<16>(); in SecureConnectionsJustWorks()
|
D | pairing_handler_le_legacy.cc | 23 using bluetooth::os::GenerateRandom; 91 passkey = GenerateRandom(); in LegacyPasskeyEntry() 130 mrand = GenerateRandom<16>(); in DoLegacyStage2() 188 srand = GenerateRandom<16>(); in DoLegacyStage2()
|
D | pairing_handler_le_unittest.cc | 33 using bluetooth::os::GenerateRandom; 217 Octet16 Nb = GenerateRandom<16>(); in TEST_F()
|
D | pairing_handler_le.cc | 30 data.r = bluetooth::os::GenerateRandom<16>(); in GenerateOobData()
|
/system/bt/gd/hci/ |
D | le_address_manager.cc | 249 std::array<uint8_t, 3> prand = os::GenerateRandom<3>(); in generate_rpa() 254 prand[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_rpa() 277 std::array<uint8_t, 6> random = os::GenerateRandom<6>(); in generate_nrpa() 283 random[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_nrpa() 291 address.address[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_nrpa() 299 auto random_ms = std::chrono::milliseconds(os::GenerateRandom()) % (interval_random_part_max_ms); in get_next_private_address_interval_ms()
|