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

/linux-master/drivers/crypto/caam/
H A Derror.h24 static inline bool is_mdha(u32 algtype) argument
26 return (algtype & OP_ALG_ALGSEL_MASK & ~OP_ALG_ALGSEL_SUBMASK) ==
H A Dcaamhash_desc.h18 static inline bool is_xcbc_aes(u32 algtype) argument
20 return (algtype & (OP_ALG_ALGSEL_MASK | OP_ALG_AAI_MASK)) ==
H A Dcaamhash_desc.c31 u32 op = adata->algtype;
101 if (is_xcbc_aes(adata->algtype))
117 append_operation(desc, adata->algtype | state | OP_ALG_ENCRYPT);
136 if (is_xcbc_aes(adata->algtype) && state == OP_ALG_AS_INIT)
H A Dkey_gen.c54 adata->keylen = split_key_len(adata->algtype & OP_ALG_ALGSEL_MASK);
55 adata->keylen_pad = split_key_pad_len(adata->algtype &
85 append_operation(desc, (adata->algtype & OP_ALG_ALGSEL_MASK) |
H A Dcaamalg_desc.c101 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
160 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
298 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
344 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
393 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
459 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
462 append_dec_op1(desc, cdata->algtype);
556 append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
591 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
655 append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINA
[all...]
H A Dcaamhash.c138 static inline bool is_cmac_aes(u32 algtype) argument
140 return (algtype & (OP_ALG_ALGSEL_MASK | OP_ALG_AAI_MASK)) ==
387 append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT |
460 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype &
842 if ((is_xcbc_aes(ctx->adata.algtype) ||
843 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
1218 if ((is_xcbc_aes(ctx->adata.algtype) ||
1219 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize &&
1415 if ((is_xcbc_aes(ctx->adata.algtype) ||
1416 is_cmac_aes(ctx->adata.algtype))
[all...]
H A Ddesc_constr.h496 * @algtype: algorithm selector; for valid values, see documentation of the
506 u32 algtype; member in struct:alginfo
570 protid = (adata->algtype & OP_ALG_ALGSEL_SUBMASK) |
H A Dcaamalg_qi.c95 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) ==
224 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype &
2493 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type;
2494 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type;
H A Dcaamalg_qi2.c186 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) ==
306 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype &
1583 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type;
1584 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type;
3248 append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT |
3338 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype &
4603 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type;
4605 ctx->ctx_len = runninglen[(ctx->adata.algtype &
H A Dcaamalg.c203 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) ==
609 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype &
1207 const bool ctr_mode = ((ctx->cdata.algtype & OP_ALG_AAI_MASK) ==
3614 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type;
3615 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type;
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ccamisc.h85 u8 algtype; /* 0x02 for AES cipher */ member in struct:cipherkeytoken
H A Dzcrypt_ccamisc.c108 if (t->algtype != 0x02) {
110 DBF("%s token check failed, algtype 0x%02x != 0x02\n",
111 __func__, (int)t->algtype);
/linux-master/include/trace/events/
H A Df2fs.h1968 unsigned int cluster_size, unsigned char algtype),
1970 TP_ARGS(inode, cluster_idx, cluster_size, algtype),
1977 __field(unsigned int, algtype)
1985 __entry->algtype = algtype;
1993 show_compress_algorithm(__entry->algtype))
2030 unsigned int cluster_size, unsigned char algtype),
2032 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
2038 unsigned int cluster_size, unsigned char algtype),
2040 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
[all...]
/linux-master/fs/f2fs/
H A Dsuper.c1882 char *algtype = ""; local
1890 algtype = "lzo";
1893 algtype = "lz4";
1896 algtype = "zstd";
1899 algtype = "lzo-rle";
1902 seq_printf(seq, ",compress_algorithm=%s", algtype);

Completed in 268 milliseconds