Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp577 UniqueReadOnlyBlob testKey(TEST_RSA_KEY_1, sizeof(TEST_RSA_KEY_1)); in TEST_F() local
578 ASSERT_TRUE(testKey.get() != NULL); in TEST_F()
581 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(), in TEST_F()
599 UniqueReadOnlyBlob testKey(TEST_EC_KEY_1, sizeof(TEST_EC_KEY_1)); in TEST_F() local
600 ASSERT_TRUE(testKey.get() != NULL); in TEST_F()
603 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(), in TEST_F()
631 UniqueReadOnlyBlob testKey(TEST_RSA_KEY_1, sizeof(TEST_RSA_KEY_1)); in TEST_F() local
632 ASSERT_TRUE(testKey.get() != NULL); in TEST_F()
635 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(), in TEST_F()
650 UniqueReadOnlyBlob testKey(TEST_EC_KEY_1, sizeof(TEST_EC_KEY_1)); in TEST_F() local
[all …]
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h131 const auth_token_key_t testKey(static_cast<uint8_t>(TestKeyBits::BYTE)); in deliverSecureInputEvent()
133 auto hmac = HMacer::hmac256(testKey, "\0", bytes_cast(secureInputToken.challenge), in deliverSecureInputEvent()
144 finalize(testKey); in deliverSecureInputEvent()
153 finalize(testKey); in deliverSecureInputEvent()
/hardware/interfaces/confirmationui/1.0/vts/functional/
DVtsHalConfirmationUIV1_0TargetTest.cpp53 const support::auth_token_key_t testKey(static_cast<uint8_t>(TestKeyBits::BYTE));
82 auto hmac = HMacer::hmac256(testKey, data...); in testHMAC()