Home
last modified time | relevance | path

Searched refs:IS_SHA1_HMAC (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/crypto/qce/
H A Dcommon.h67 #define IS_SHA1_HMAC(flags) (flags & QCE_HASH_SHA1_HMAC) macro
72 (IS_SHA1_HMAC(flags) || IS_SHA256_HMAC(flags))
H A Dcommon.c118 if (IS_SHA1(flags) || IS_SHA1_HMAC(flags)) in qce_auth_cfg()
129 else if (IS_SHA1_HMAC(flags) || IS_SHA256_HMAC(flags)) in qce_auth_cfg()
194 iv_words = (IS_SHA1(rctx->flags) || IS_SHA1_HMAC(rctx->flags)) ? 5 : 8; in qce_setup_regs_ahash()
476 if (IS_SHA1_HMAC(rctx->flags)) { in qce_setup_regs_aead()