Searched refs:algtype (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_desc.c | 102 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 D | caamhash_desc.c | 31 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 D | key_gen.c | 54 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()
|
| H A D | error.h | 24 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 D | caamhash_desc.h | 18 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 D | caamhash.c | 138 static inline bool is_cmac_aes(u32 algtype) in is_cmac_aes() argument 140 return (algtype & (OP_ALG_ALGSEL_MASK | OP_ALG_AAI_MASK)) == in is_cmac_aes() 387 append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT | in hash_digest_key() 460 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in ahash_setkey() 843 if ((is_xcbc_aes(ctx->adata.algtype) || in ahash_update_ctx() 844 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx() 1219 if ((is_xcbc_aes(ctx->adata.algtype) || in ahash_update_no_ctx() 1220 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_no_ctx() 1416 if ((is_xcbc_aes(ctx->adata.algtype) || in ahash_update_first() 1417 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_first() [all …]
|
| H A D | desc_constr.h | 509 u32 algtype; member 576 protid = (adata->algtype & OP_ALG_ALGSEL_SUBMASK) | in append_proto_dkp()
|
| H A D | caamalg_qi.c | 95 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in aead_set_sh_desc() 224 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in aead_setkey() 2493 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_init_common() 2494 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_init_common()
|
| H A D | caamalg.c | 209 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in aead_set_sh_desc() 615 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in aead_setkey() 1274 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) == in init_authenc_job() 3720 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_init_common() 3721 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_init_common()
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 2006 unsigned int cluster_size, unsigned char algtype), 2008 TP_ARGS(inode, cluster_idx, cluster_size, algtype), 2015 __field(unsigned int, algtype) 2023 __entry->algtype = algtype; 2031 show_compress_algorithm(__entry->algtype)) 2068 unsigned int cluster_size, unsigned char algtype), 2070 TP_ARGS(inode, cluster_idx, cluster_size, algtype) 2076 unsigned int cluster_size, unsigned char algtype), 2078 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
|
| /linux/fs/f2fs/ |
| H A D | super.c | 2264 char *algtype = ""; in f2fs_show_compress_options() local 2272 algtype = "lzo"; in f2fs_show_compress_options() 2275 algtype = "lz4"; in f2fs_show_compress_options() 2278 algtype = "zstd"; in f2fs_show_compress_options() 2281 algtype = "lzo-rle"; in f2fs_show_compress_options() 2284 seq_printf(seq, ",compress_algorithm=%s", algtype); in f2fs_show_compress_options()
|