Home
last modified time | relevance | path

Searched refs:IS_SHA1 (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/qce/
H A Dcommon.h62 #define IS_SHA1(flags) (flags & QCE_HASH_SHA1) macro
67 #define IS_SHA(flags) (IS_SHA1(flags) || IS_SHA256(flags))
H A Dcommon.c112 if (IS_SHA1(flags) || IS_SHA1_HMAC(flags)) in qce_auth_cfg()
119 if (IS_SHA1(flags) || IS_SHA256(flags)) in qce_auth_cfg()
190 iv_words = (IS_SHA1(rctx->flags) || IS_SHA1_HMAC(rctx->flags)) ? 5 : 8; in qce_setup_regs_ahash()
H A Dsha.c149 if (IS_SHA1(flags) || IS_SHA1_HMAC(flags)) { in qce_ahash_export()
220 if (IS_SHA1(flags) || IS_SHA1_HMAC(flags)) { in qce_ahash_import()
511 if (IS_SHA1(def->flags)) in qce_ahash_register_one()
/kernel/linux/linux-6.6/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()

Completed in 4 milliseconds