Home
last modified time | relevance | path

Searched refs:modulus_len (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2620 size_t modulus_len = BN_num_bytes(rsa->n); in TEST_P() local
2621 ASSERT_EQ(1024U / 8, modulus_len); in TEST_P()
2622 std::unique_ptr<uint8_t[]> modulus_buf(new uint8_t[modulus_len]); in TEST_P()
2626 string message(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()
2636 modulus_len = BN_num_bytes(rsa->n); in TEST_P()
2637 ASSERT_EQ(1024U / 8, modulus_len); in TEST_P()
2639 message = string(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2327 size_t modulus_len = BN_num_bytes(rsa->n); in TEST_P() local
2328 ASSERT_EQ(2048U / 8, modulus_len); in TEST_P()
2329 std::unique_ptr<uint8_t[]> modulus_buf(new uint8_t[modulus_len]); in TEST_P()
2333 string message(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()
2343 modulus_len = BN_num_bytes(rsa->n); in TEST_P()
2344 ASSERT_EQ(2048U / 8, modulus_len); in TEST_P()
2346 message = string(reinterpret_cast<const char*>(modulus_buf.get()), modulus_len); in TEST_P()