Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/confirmationui/1.0/vts/functional/
DVtsHalConfirmationUIV1_0TargetTest.cpp78 auto hmac = HMacer::hmac256(testKey, data...); in testHMAC() local
79 if (!hmac.isOk()) { in testHMAC()
83 hidl_vec<uint8_t> result(hmac.value().size()); in testHMAC()
84 copy(hmac.value().data(), hmac.value().data() + hmac.value().size(), result.data()); in testHMAC()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h133 auto hmac = HMacer::hmac256(testKey, "\0", bytes_cast(secureInputToken.challenge), in deliverSecureInputEvent() local
138 if (!hmac.isOk()) return ResponseCode::Unexpected; in deliverSecureInputEvent()
139 if (hmac.value() == secureInputToken.mac) { in deliverSecureInputEvent()
/hardware/libhardware/include/hardware/
Dhw_auth_token.h46 uint8_t hmac[32]; member
/hardware/qcom/keymaster/
Dkeymaster_qcom.h64 uint8_t hmac[KM_HMAC_LENGTH]; member
/hardware/interfaces/keymaster/3.0/
Dtypes.hal414 uint8_t[32] hmac; // HMAC is computed over 0 || challenge || user_id ||