Home
last modified time | relevance | path

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

/drivers/crypto/
Datmel-sha-regs.h39 #define SHA_FLAGS_HMAC SHA_MR_HMAC macro
40 #define SHA_FLAGS_HMAC_SHA1 (SHA_FLAGS_HMAC | SHA_FLAGS_SHA1)
41 #define SHA_FLAGS_HMAC_SHA256 (SHA_FLAGS_HMAC | SHA_FLAGS_SHA256)
42 #define SHA_FLAGS_HMAC_SHA384 (SHA_FLAGS_HMAC | SHA_FLAGS_SHA384)
43 #define SHA_FLAGS_HMAC_SHA512 (SHA_FLAGS_HMAC | SHA_FLAGS_SHA512)
44 #define SHA_FLAGS_HMAC_SHA224 (SHA_FLAGS_HMAC | SHA_FLAGS_SHA224)
45 #define SHA_FLAGS_MODE_MASK (SHA_FLAGS_HMAC | SHA_FLAGS_ALGO_MASK)
/drivers/crypto/aspeed/
Daspeed-hace-hash.c451 if (rctx->flags & SHA_FLAGS_HMAC) in aspeed_ahash_req_final()
743 if (tctx->flags & SHA_FLAGS_HMAC) { in aspeed_sham_init()
747 rctx->flags |= SHA_FLAGS_HMAC; in aspeed_sham_init()
799 if (tctx->flags & SHA_FLAGS_HMAC) { in aspeed_sha512s_init()
803 rctx->flags |= SHA_FLAGS_HMAC; in aspeed_sha512s_init()
868 tctx->flags |= SHA_FLAGS_HMAC; in aspeed_sham_cra_init()
893 if (tctx->flags & SHA_FLAGS_HMAC) { in aspeed_sham_cra_exit()
Daspeed-hace.h133 #define SHA_FLAGS_HMAC BIT(8) macro