Lines Matching full:hmac
13 #include <crypto/hmac.h>
508 /* HMAC step: in sun8i_ss_hash_run()
513 int hmac = 0; in sun8i_ss_hash_run() local
587 if (tfmctx->keylen && hmac == 0) { in sun8i_ss_hash_run()
588 hmac = 1; in sun8i_ss_hash_run()
609 if (tfmctx->keylen && hmac == 2) { in sun8i_ss_hash_run()
671 * flow start for hmac = 0 (and HMAC = 1) in sun8i_ss_hash_run()
672 * HMAC = 0 in sun8i_ss_hash_run()
677 * if hmac then hmac = 1 in sun8i_ss_hash_run()
679 * if hmac == 2 in sun8i_ss_hash_run()
685 * if hmac in sun8i_ss_hash_run()
688 * if hmac < 2 in sun8i_ss_hash_run()
691 * if hmac = 1 then hmac = 2 goto retry in sun8i_ss_hash_run()
697 if (hmac > 0) in sun8i_ss_hash_run()
702 if (hmac < 2) in sun8i_ss_hash_run()
705 if (hmac == 1 && !err) { in sun8i_ss_hash_run()
706 hmac = 2; in sun8i_ss_hash_run()