Home
last modified time | relevance | path

Searched refs:algtype (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/crypto/caam/
H A Dcaamhash_desc.c31 u32 op = adata->algtype; in cnstr_shdsc_ahash()
101 if (is_xcbc_aes(adata->algtype)) in cnstr_shdsc_sk_hash()
117 append_operation(desc, adata->algtype | state | OP_ALG_ENCRYPT); in cnstr_shdsc_sk_hash()
136 if (is_xcbc_aes(adata->algtype) && state == OP_ALG_AS_INIT) in cnstr_shdsc_sk_hash()
H A Dcaamalg_desc.c102 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_null_encap()
161 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_null_decap()
299 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_encap()
345 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_encap()
394 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_decap()
460 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_decap()
463 append_dec_op1(desc, cdata->algtype); in cnstr_shdsc_aead_decap()
557 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_givencap()
592 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_givencap()
656 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_gcm_encap()
[all …]
H A Derror.h24 static inline bool is_mdha(u32 algtype) in is_mdha() argument
26 return (algtype & OP_ALG_ALGSEL_MASK & ~OP_ALG_ALGSEL_SUBMASK) == in is_mdha()
H A Dcaamhash_desc.h18 static inline bool is_xcbc_aes(u32 algtype) in is_xcbc_aes() argument
20 return (algtype & (OP_ALG_ALGSEL_MASK | OP_ALG_AAI_MASK)) == in is_xcbc_aes()
H A Ddesc_constr.h509 u32 algtype; member
576 protid = (adata->algtype & OP_ALG_ALGSEL_SUBMASK) | in append_proto_dkp()
/linux/drivers/s390/crypto/
H A Dzcrypt_ccamisc.h86 u8 algtype; /* 0x02 for AES cipher */ member
H A Dzcrypt_ccamisc.c149 if (t->algtype != 0x02) { in cca_check_secaescipherkey()
152 __func__, (int)t->algtype); in cca_check_secaescipherkey()
/linux/fs/f2fs/
H A Dsuper.c2324 char *algtype = ""; in f2fs_show_compress_options() local
2332 algtype = "lzo"; in f2fs_show_compress_options()
2335 algtype = "lz4"; in f2fs_show_compress_options()
2338 algtype = "zstd"; in f2fs_show_compress_options()
2341 algtype = "lzo-rle"; in f2fs_show_compress_options()
2344 seq_printf(seq, ",compress_algorithm=%s", algtype); in f2fs_show_compress_options()