Home
last modified time | relevance | path

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

/linux/drivers/crypto/caam/
A Dcaamalg_desc.c101 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_null_encap()
160 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_null_decap()
298 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_encap()
344 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_encap()
393 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_decap()
462 append_dec_op1(desc, cdata->algtype); in cnstr_shdsc_aead_decap()
556 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_givencap()
591 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL | in cnstr_shdsc_aead_givencap()
1500 append_operation(desc, cdata->algtype | OP_ALG_AS_INIT | in cnstr_shdsc_skcipher_decap()
1503 append_dec_op1(desc, cdata->algtype); in cnstr_shdsc_skcipher_decap()
[all …]
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()
A Dkey_gen.c54 adata->keylen = split_key_len(adata->algtype & OP_ALG_ALGSEL_MASK); in gen_split_key()
55 adata->keylen_pad = split_key_pad_len(adata->algtype & in gen_split_key()
85 append_operation(desc, (adata->algtype & OP_ALG_ALGSEL_MASK) | in gen_split_key()
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()
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()
A Dcaamhash.c133 static inline bool is_cmac_aes(u32 algtype) in is_cmac_aes() argument
135 return (algtype & (OP_ALG_ALGSEL_MASK | OP_ALG_AAI_MASK)) == in is_cmac_aes()
384 append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT | in hash_digest_key()
451 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in ahash_setkey()
835 if ((is_xcbc_aes(ctx->adata.algtype) || in ahash_update_ctx()
836 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx()
1211 if ((is_xcbc_aes(ctx->adata.algtype) || in ahash_update_no_ctx()
1408 if ((is_xcbc_aes(ctx->adata.algtype) || in ahash_update_first()
1790 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1795 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
[all …]
A Ddesc_constr.h505 u32 algtype; member
569 protid = (adata->algtype & OP_ALG_ALGSEL_SUBMASK) | in append_proto_dkp()
A Dcaamalg.c194 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in aead_set_sh_desc()
599 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in aead_setkey()
1190 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in init_authenc_job()
3383 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_init_common()
3384 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_init_common()
A Dcaamalg_qi.c90 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in aead_set_sh_desc()
219 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in aead_setkey()
2477 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_init_common()
2478 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_init_common()
A Dcaamalg_qi2.c184 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in aead_set_sh_desc()
304 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in aead_setkey()
1580 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_cra_init()
1581 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_cra_init()
3243 append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT | in hash_digest_key()
3327 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in ahash_setkey()
4591 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()
4593 ctx->ctx_len = runninglen[(ctx->adata.algtype & in caam_hash_cra_init()
/linux/include/trace/events/
A Df2fs.h1741 unsigned int cluster_size, unsigned char algtype),
1743 TP_ARGS(inode, cluster_idx, cluster_size, algtype),
1750 __field(unsigned int, algtype)
1758 __entry->algtype = algtype;
1766 show_compress_algorithm(__entry->algtype))
1803 unsigned int cluster_size, unsigned char algtype),
1805 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
1811 unsigned int cluster_size, unsigned char algtype),
1813 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
/linux/drivers/s390/crypto/
A Dzcrypt_ccamisc.h85 u8 algtype; /* 0x02 for AES cipher */ member
A Dzcrypt_ccamisc.c113 if (t->algtype != 0x02) { in cca_check_secaescipherkey()
116 __func__, (int) t->algtype); in cca_check_secaescipherkey()
/linux/fs/f2fs/
A Dsuper.c1780 char *algtype = ""; in f2fs_show_compress_options() local
1788 algtype = "lzo"; in f2fs_show_compress_options()
1791 algtype = "lz4"; in f2fs_show_compress_options()
1794 algtype = "zstd"; in f2fs_show_compress_options()
1797 algtype = "lzo-rle"; in f2fs_show_compress_options()
1800 seq_printf(seq, ",compress_algorithm=%s", algtype); in f2fs_show_compress_options()

Completed in 46 milliseconds