Home
last modified time | relevance | path

Searched refs:caam (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dcaamalg.c93 struct caam_alg_entry caam; member
99 struct caam_alg_entry caam; member
196 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc()
238 if (alg->caam.geniv) in aead_set_sh_desc()
279 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
284 if (!alg->caam.geniv) in aead_set_sh_desc()
739 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey()
1192 const bool is_rfc3686 = alg->caam.rfc3686; in init_authenc_job()
1222 if (ivsize && ((is_rfc3686 && encrypt) || !alg->caam.geniv)) in init_authenc_job()
1875 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CBC,
[all …]
H A Dcaamalg_qi.c46 struct caam_alg_entry caam; member
52 struct caam_alg_entry caam; member
92 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc()
131 if (alg->caam.geniv) in aead_set_sh_desc()
160 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
164 if (!alg->caam.geniv) in aead_set_sh_desc()
626 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey()
1035 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
1480 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CBC,
1496 .caam.class1_alg_type = OP_ALG_ALGSEL_3DES | OP_ALG_AAI_CBC,
[all …]
H A Dcaamalg_qi2.c53 struct caam_alg_entry caam; member
59 struct caam_alg_entry caam; member
183 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc()
222 if (desc_inline_query((alg->caam.geniv ? DESC_QI_AEAD_GIVENC_LEN : in aead_set_sh_desc()
235 if (alg->caam.geniv) in aead_set_sh_desc()
263 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
442 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
499 if ((alg->caam.class1_alg_type & OP_ALG_ALGSEL_MASK) == in aead_edesc_alloc()
948 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey()
1570 static int caam_cra_init(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_cra_init() argument
[all …]
H A DKconfig25 will be called caam.
146 bool "Register caam device for hwrng API"
H A Dregs.h77 static inline u##len caam##len ## _to_cpu(u##len val) \
/OK3568_Linux_fs/kernel/drivers/crypto/
H A DMakefile16 obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON) += caam/
H A DKconfig286 source "drivers/crypto/caam/Kconfig"
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx6ul.dtsi809 compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0";
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dimx6qdl.dtsi893 crypto: caam@2100000 {
H A Dimx6sx.dtsi770 crypto: caam@2100000 {
/OK3568_Linux_fs/kernel/crypto/
H A DKconfig1228 without hardware AES acceleration (e.g. caam crypto). It reduces the
/OK3568_Linux_fs/kernel/
H A DMAINTAINERS6947 F: drivers/crypto/caam/