Home | History | Annotate | Download | only in functional

Lines Matching defs:hmac

32 #include <openssl/hmac.h>
74 using HMacer = support::HMac<HMacImplementation>;
78 auto hmac = HMacer::hmac256(testKey, data...);
79 if (!hmac.isOk()) {
80 EXPECT_TRUE(false) << "Failed to compute test hmac. This is a self-test error.";
83 hidl_vec<uint8_t> result(hmac.value().size());
84 copy(hmac.value().data(), hmac.value().data() + hmac.value().size(), result.data());
394 // Test the implementation of HMAC SHA 256 against a golden blob.