Home
last modified time | relevance | path

Searched refs:aes (Results 1 – 25 of 119) sorted by relevance

12345

/linux/drivers/crypto/ccp/
A Dccp-crypto-aes-cmac.c159 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_do_cmac_update()
160 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_do_cmac_update()
162 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_do_cmac_update()
163 rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; in ccp_do_cmac_update()
170 rctx->cmd.u.aes.cmac_key_len = ctx->u.aes.kn_len; in ccp_do_cmac_update()
292 memset(ctx->u.aes.key, 0, sizeof(ctx->u.aes.key)); in ccp_aes_cmac_setkey()
293 aes_encrypt(&aes, ctx->u.aes.key, ctx->u.aes.key); in ccp_aes_cmac_setkey()
294 memzero_explicit(&aes, sizeof(aes)); in ccp_aes_cmac_setkey()
322 ctx->u.aes.kn_len = sizeof(ctx->u.aes.k1); in ccp_aes_cmac_setkey()
323 sg_init_one(&ctx->u.aes.k1_sg, ctx->u.aes.k1, sizeof(ctx->u.aes.k1)); in ccp_aes_cmac_setkey()
[all …]
A Dccp-crypto-aes-galois.c49 ctx->u.aes.key_len = key_len; in ccp_aes_gcm_setkey()
52 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_gcm_setkey()
86 if (!ctx->u.aes.key_len) in ccp_aes_gcm_crypt()
120 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_aes_gcm_crypt()
121 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_aes_gcm_crypt()
123 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_aes_gcm_crypt()
124 rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; in ccp_aes_gcm_crypt()
125 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_gcm_crypt()
127 rctx->cmd.u.aes.src = req->src; in ccp_aes_gcm_crypt()
132 rctx->cmd.u.aes.dst = req->dst; in ccp_aes_gcm_crypt()
[all …]
A Dccp-crypto-aes.c56 ctx->u.aes.mode = alg->mode; in ccp_aes_setkey()
60 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_setkey()
74 if (!ctx->u.aes.key_len) in ccp_aes_crypt()
95 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_aes_crypt()
96 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_aes_crypt()
97 rctx->cmd.u.aes.action = in ccp_aes_crypt()
99 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_aes_crypt()
100 rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; in ccp_aes_crypt()
101 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_crypt()
127 ctx->u.aes.key_len = 0; in ccp_aes_init_tfm()
[all …]
A Dccp-ops.c493 if (!aes->key || !aes->iv || !aes->src) in ccp_run_aes_cmac_cmd()
514 op.u.aes.type = aes->type; in ccp_run_aes_cmac_cmd()
515 op.u.aes.mode = aes->mode; in ccp_run_aes_cmac_cmd()
516 op.u.aes.action = aes->action; in ccp_run_aes_cmac_cmd()
701 op.u.aes.type = aes->type; in ccp_run_aes_gcm_cmd()
770 op.u.aes.action = aes->action; in ccp_run_aes_gcm_cmd()
853 op.u.aes.type = aes->type; in ccp_run_aes_gcm_cmd()
933 if (!aes->key || !aes->src || !aes->dst) in ccp_run_aes_cmd()
954 op.u.aes.type = aes->type; in ccp_run_aes_cmd()
955 op.u.aes.mode = aes->mode; in ccp_run_aes_cmd()
[all …]
A Dccp-crypto-aes-xts.c91 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_xts_setkey()
95 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_xts_setkey()
98 ctx->u.aes.key_len = key_len / 2; in ccp_aes_xts_setkey()
99 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_xts_setkey()
116 if (!ctx->u.aes.key_len) in ccp_aes_xts_crypt()
142 (ctx->u.aes.key_len != AES_KEYSIZE_128)) in ccp_aes_xts_crypt()
145 (ctx->u.aes.key_len != AES_KEYSIZE_256)) in ccp_aes_xts_crypt()
152 ctx->u.aes.tfm_skcipher); in ccp_aes_xts_crypt()
174 rctx->cmd.u.xts.key = &ctx->u.aes.key_sg; in ccp_aes_xts_crypt()
203 ctx->u.aes.key_len = 0; in ccp_aes_xts_init_tfm()
[all …]
A DMakefile17 ccp-crypto-aes.o \
18 ccp-crypto-aes-cmac.o \
19 ccp-crypto-aes-xts.o \
20 ccp-crypto-aes-galois.o \
/linux/arch/arm64/crypto/
A DMakefile32 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
33 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
35 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
36 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
39 aes-ce-blk-y := aes-glue-ce.o aes-ce.o
42 aes-neon-blk-y := aes-glue-neon.o aes-neon.o
60 obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o
61 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
63 obj-$(CONFIG_CRYPTO_AES_ARM64_BS) += aes-neon-bs.o
64 aes-neon-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
[all …]
A Daes-ce.S58 aes\de \i0\().16b, \k\().16b
59 aes\mc \i0\().16b, \i0\().16b
61 aes\de \i1\().16b, \k\().16b
64 aes\de \i2\().16b, \k\().16b
66 aes\de \i3\().16b, \k\().16b
69 aes\de \i4\().16b, \k\().16b
87 aes\de \i0\().16b, \k\().16b
89 aes\de \i1\().16b, \k\().16b
91 aes\de \i2\().16b, \k\().16b
92 aes\de \i3\().16b, \k\().16b
[all …]
A Dbuilt-in.a9 aes-ce-core.o/
10 aes-ce-glue.o/
11 aes-ce-ccm-glue.o/
12 aes-ce-ccm-core.o/
13 aes-glue-ce.o/
14 aes-ce.o/
A D.built-in.a.cmd1aes-ce-core.o arch/arm64/crypto/aes-ce-glue.o arch/arm64/crypto/aes-ce-ccm-glue.o arch/arm64/crypt…
A D.aes-ce.o.cmd1aes-ce.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/a…
3 source_arch/arm64/crypto/aes-ce.o := arch/arm64/crypto/aes-ce.S
5 deps_arch/arm64/crypto/aes-ce.o := \
140 arch/arm64/crypto/aes-modes.S \
142 arch/arm64/crypto/aes-ce.o: $(deps_arch/arm64/crypto/aes-ce.o)
144 $(deps_arch/arm64/crypto/aes-ce.o):
A D.aes-ce-ccm-core.o.cmd1aes-ce-ccm-core.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarc…
3 source_arch/arm64/crypto/aes-ce-ccm-core.o := arch/arm64/crypto/aes-ce-ccm-core.S
5 deps_arch/arm64/crypto/aes-ce-ccm-core.o := \
141 arch/arm64/crypto/aes-ce-ccm-core.o: $(deps_arch/arm64/crypto/aes-ce-ccm-core.o)
143 $(deps_arch/arm64/crypto/aes-ce-ccm-core.o):
A D.aes-ce-core.o.cmd1aes-ce-core.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/…
3 source_arch/arm64/crypto/aes-ce-core.o := arch/arm64/crypto/aes-ce-core.S
5 deps_arch/arm64/crypto/aes-ce-core.o := \
141 arch/arm64/crypto/aes-ce-core.o: $(deps_arch/arm64/crypto/aes-ce-core.o)
143 $(deps_arch/arm64/crypto/aes-ce-core.o):
/linux/arch/arm/crypto/
A DMakefile6 obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o
7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
19 obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce.o
26 aes-arm-y := aes-cipher-core.o aes-cipher-glue.o
27 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
38 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o
/linux/arch/powerpc/crypto/
A DMakefile8 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o
17 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o
/linux/Documentation/devicetree/bindings/crypto/
A Domap-aes.txt7 - "ti,omap2-aes" for OMAP2.
8 - "ti,omap3-aes" for OMAP3.
9 - "ti,omap4-aes" for OMAP4 and AM33XX.
23 aes: aes@53500000 {
24 compatible = "ti,omap4-aes";
25 ti,hwmods = "aes";
A Dxlnx,zynqmp-aes.yaml4 $id: http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml#
19 const: xlnx,zynqmp-aes
32 xlnx_aes: zynqmp-aes {
33 compatible = "xlnx,zynqmp-aes";
A Dintel,keembay-ocs-aes.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml#
18 const: intel,keembay-ocs-aes
41 compatible = "intel,keembay-ocs-aes";
/linux/drivers/crypto/nx/
A DMakefile5 nx-aes-cbc.o \
6 nx-aes-ecb.o \
7 nx-aes-gcm.o \
8 nx-aes-ccm.o \
9 nx-aes-ctr.o \
10 nx-aes-xcbc.o \
/linux/drivers/net/wireless/ti/wl12xx/
A Ddebugfs.c80 WL12XX_DEBUGFS_FWSTATS_FILE(aes, encrypt_fail, "%u");
81 WL12XX_DEBUGFS_FWSTATS_FILE(aes, decrypt_fail, "%u");
82 WL12XX_DEBUGFS_FWSTATS_FILE(aes, encrypt_packets, "%u");
83 WL12XX_DEBUGFS_FWSTATS_FILE(aes, decrypt_packets, "%u");
84 WL12XX_DEBUGFS_FWSTATS_FILE(aes, encrypt_interrupt, "%u");
180 DEBUGFS_FWSTATS_ADD(aes, encrypt_fail); in wl12xx_debugfs_add_files()
181 DEBUGFS_FWSTATS_ADD(aes, decrypt_fail); in wl12xx_debugfs_add_files()
182 DEBUGFS_FWSTATS_ADD(aes, encrypt_packets); in wl12xx_debugfs_add_files()
183 DEBUGFS_FWSTATS_ADD(aes, decrypt_packets); in wl12xx_debugfs_add_files()
184 DEBUGFS_FWSTATS_ADD(aes, encrypt_interrupt); in wl12xx_debugfs_add_files()
[all …]
/linux/drivers/crypto/
A DMakefile3 obj-$(CONFIG_CRYPTO_DEV_ATMEL_AES) += atmel-aes.o
17 obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
27 obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes-driver.o
28 omap-aes-driver-objs := omap-aes.o omap-aes-gcm.o
31 obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o
/linux/drivers/net/wireless/ti/wl1251/
A Ddebugfs.c302 DEBUGFS_FWSTATS_DEL(aes, encrypt_fail); in wl1251_debugfs_delete_files()
303 DEBUGFS_FWSTATS_DEL(aes, decrypt_fail); in wl1251_debugfs_delete_files()
304 DEBUGFS_FWSTATS_DEL(aes, encrypt_packets); in wl1251_debugfs_delete_files()
305 DEBUGFS_FWSTATS_DEL(aes, decrypt_packets); in wl1251_debugfs_delete_files()
306 DEBUGFS_FWSTATS_DEL(aes, encrypt_interrupt); in wl1251_debugfs_delete_files()
307 DEBUGFS_FWSTATS_DEL(aes, decrypt_interrupt); in wl1251_debugfs_delete_files()
401 DEBUGFS_FWSTATS_ADD(aes, encrypt_fail); in wl1251_debugfs_add_files()
402 DEBUGFS_FWSTATS_ADD(aes, decrypt_fail); in wl1251_debugfs_add_files()
403 DEBUGFS_FWSTATS_ADD(aes, encrypt_packets); in wl1251_debugfs_add_files()
404 DEBUGFS_FWSTATS_ADD(aes, decrypt_packets); in wl1251_debugfs_add_files()
[all …]
/linux/drivers/crypto/keembay/
A DMakefile4 obj-$(CONFIG_CRYPTO_DEV_KEEMBAY_OCS_AES_SM4) += keembay-ocs-aes.o
5 keembay-ocs-aes-objs := keembay-ocs-aes-core.o ocs-aes.o
A DKconfig13 cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
17 enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)).
26 Provides OCS version of ecb(aes) and ecb(sm4)
38 Provides OCS version of cts(cbc(aes)) and cts(cbc(sm4)).
/linux/arch/arm64/
A Dbuilt-in.a155 crypto/aes-ce-core.o/
156 crypto/aes-ce-glue.o/
157 crypto/aes-ce-ccm-glue.o/
158 crypto/aes-ce-ccm-core.o/
159 crypto/aes-glue-ce.o/
160 crypto/aes-ce.o/

Completed in 30 milliseconds

12345