Home
last modified time | relevance | path

Searched refs:IS_SHA1 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/crypto/qce/
H A Dcommon.h65 #define IS_SHA1(flags) (flags & QCE_HASH_SHA1) macro
70 #define IS_SHA(flags) (IS_SHA1(flags) || IS_SHA256(flags))
H A Dcommon.c118 if (IS_SHA1(flags) || IS_SHA1_HMAC(flags)) in qce_auth_cfg()
127 if (IS_SHA1(flags) || IS_SHA256(flags)) in qce_auth_cfg()
194 iv_words = (IS_SHA1(rctx->flags) || IS_SHA1_HMAC(rctx->flags)) ? 5 : 8; in qce_setup_regs_ahash()
H A Dsha.c478 if (IS_SHA1(def->flags)) in qce_ahash_register_one()