Lines Matching full:hmac
469 #ifdef HMAC
471 * Test the corresponding HMAC variant.
473 * This test case is fairly short, since HMAC is just a simple C wrapper around
476 * interrupt context again for HMAC, nor to have a long list of test vectors.
480 * a key length, generate the inputs from a seed, and compute the HMAC value.
481 * Concatenate all these HMAC values together, and compute the HMAC of that.
482 * Verify that value. If this fails, then the HMAC implementation is wrong.
518 /* Verify that HMAC() is consistent with HMAC_USINGRAWKEY(). */ in test_hmac()
520 HMAC(&key, test_buf, data_len, mac2); in test_hmac()
523 "HMAC gave different results with raw and prepared keys"); in test_hmac()
527 "HMAC gave wrong result"); in test_hmac()
529 "HMAC context was not zeroized by finalization"); in test_hmac()