Home
last modified time | relevance | path

Searched refs:hash_mode (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/crypto/bcm/
A Dspu.h73 enum hash_mode { enum
129 enum hash_mode mode;
229 u16 spum_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode,
261 enum hash_mode auth_mode,
A Dspu2.c82 if (hash_mode >= SPU2_HASH_MODE_LAST) in spu2_hash_mode_name()
84 return spu2_hash_mode_names[hash_mode]; in spu2_hash_mode_name()
196 static int spu2_hash_mode_xlate(enum hash_mode hash_mode, in spu2_hash_mode_xlate() argument
199 switch (hash_mode) { in spu2_hash_mode_xlate()
234 spu2_hash_xlate(enum hash_alg hash_alg, enum hash_mode hash_mode, in spu2_hash_xlate() argument
240 err = spu2_hash_mode_xlate(hash_mode, spu2_mode); in spu2_hash_xlate()
242 flow_log("Invalid hash mode %d\n", hash_mode); in spu2_hash_xlate()
313 enum spu2_hash_mode hash_mode; in spu2_dump_fmd_ctrl0() local
357 hash_mode_name = spu2_hash_mode_name(hash_mode); in spu2_dump_fmd_ctrl0()
844 u16 spu2_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, in spu2_hash_pad_len() argument
[all …]
A Dspu2.h180 u16 spu2_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode,
205 enum hash_alg auth_alg, enum hash_mode auth_mode,
A Dcipher.h102 enum hash_mode mode;
365 enum hash_mode hash_mode, u32 chunksize,
392 enum hash_mode auth_mode,
A Dspu.c35 u32 hash_mode; in spum_dump_msg_hdr() local
82 hash_mode = (cflags & HASH_MODE) >> HASH_MODE_SHIFT; in spum_dump_msg_hdr()
85 hash_alg, hash_mode, hash_type); in spum_dump_msg_hdr()
106 if (hash_alg && hash_mode) { in spum_dump_msg_hdr()
147 (hash_mode == HASH_MODE_XCBC)) { in spum_dump_msg_hdr()
170 if (hash_alg && (hash_mode == HASH_MODE_NONE) && in spum_dump_msg_hdr()
424 u16 spum_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, in spum_hash_pad_len() argument
432 if ((hash_alg == HASH_ALG_AES) && (hash_mode == HASH_MODE_XCBC)) { in spum_hash_pad_len()
1029 enum hash_mode auth_mode, in spum_request_pad()
/linux-6.3-rc2/drivers/crypto/ccree/
A Dcc_hash.c69 int hash_mode; member
95 int hash_mode; member
474 ctx->hash_mode); in cc_hash_digest()
1133 ctx->hash_mode = cc_alg->hash_mode; in cc_cra_init()
1567 int hash_mode; member
1603 .hash_mode = DRV_HASH_SHA1,
1738 .hash_mode = DRV_HASH_MD5,
1763 .hash_mode = DRV_HASH_SM3,
1788 .hash_mode = DRV_HASH_NULL,
1813 .hash_mode = DRV_HASH_NULL,
[all …]
A Dcc_aead.c310 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
321 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
330 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
340 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
347 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey()
1001 set_cipher_mode(&desc[idx], hash_mode); in cc_set_hmac_desc()
1011 set_cipher_mode(&desc[idx], hash_mode); in cc_set_hmac_desc()
1110 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
1125 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
1130 set_cipher_mode(&desc[idx], hash_mode); in cc_proc_scheme_desc()
[all …]
A Dcc_hw_queue_defs.h509 enum drv_hash_mode hash_mode) in set_hash_cipher_mode() argument
512 if (hash_mode == DRV_HASH_SM3) in set_hash_cipher_mode()
/linux-6.3-rc2/include/uapi/linux/netfilter_ipv4/
A Dipt_CLUSTERIP.h31 __u32 hash_mode; member
/linux-6.3-rc2/include/uapi/linux/
A Dvirtio_crypto.h250 __le32 hash_mode; member

Completed in 31 milliseconds