Searched refs:hmac (Results 1 – 5 of 5) sorted by relevance
78 auto hmac = HMacer::hmac256(testKey, data...); in testHMAC() local79 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()
133 auto hmac = HMacer::hmac256(testKey, "\0", bytes_cast(secureInputToken.challenge), in deliverSecureInputEvent() local138 if (!hmac.isOk()) return ResponseCode::Unexpected; in deliverSecureInputEvent()139 if (hmac.value() == secureInputToken.mac) { in deliverSecureInputEvent()
46 uint8_t hmac[32]; member
64 uint8_t hmac[KM_HMAC_LENGTH]; member
414 uint8_t[32] hmac; // HMAC is computed over 0 || challenge || user_id ||