Home
last modified time | relevance | path

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

/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp611 UniqueReadOnlyBlob testKey(TEST_RSA_KEY_1, sizeof(TEST_RSA_KEY_1)); in TEST_F() local
612 ASSERT_TRUE(testKey.get() != NULL); in TEST_F()
615 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(), in TEST_F()
633 UniqueReadOnlyBlob testKey(TEST_EC_KEY_1, sizeof(TEST_EC_KEY_1)); in TEST_F() local
634 ASSERT_TRUE(testKey.get() != NULL); in TEST_F()
637 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(), in TEST_F()
665 UniqueReadOnlyBlob testKey(TEST_RSA_KEY_1, sizeof(TEST_RSA_KEY_1)); in TEST_F() local
666 ASSERT_TRUE(testKey.get() != NULL); in TEST_F()
669 sDevice->import_keypair(sDevice, testKey.get(), testKey.length(), in TEST_F()
684 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.cpp49 const support::auth_token_key_t testKey(static_cast<uint8_t>(TestKeyBits::BYTE));
78 auto hmac = HMacer::hmac256(testKey, data...); in testHMAC()