Home
last modified time | relevance | path

Searched refs:xts (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c170 rctx->cmd.u.xts.type = CCP_AES_TYPE_128; in ccp_aes_xts_crypt()
171 rctx->cmd.u.xts.action = (encrypt) ? CCP_AES_ACTION_ENCRYPT in ccp_aes_xts_crypt()
173 rctx->cmd.u.xts.unit_size = unit_size; in ccp_aes_xts_crypt()
174 rctx->cmd.u.xts.key = &ctx->u.aes.key_sg; in ccp_aes_xts_crypt()
175 rctx->cmd.u.xts.key_len = ctx->u.aes.key_len; in ccp_aes_xts_crypt()
176 rctx->cmd.u.xts.iv = &rctx->iv_sg; in ccp_aes_xts_crypt()
177 rctx->cmd.u.xts.iv_len = AES_BLOCK_SIZE; in ccp_aes_xts_crypt()
178 rctx->cmd.u.xts.src = req->src; in ccp_aes_xts_crypt()
179 rctx->cmd.u.xts.src_len = req->cryptlen; in ccp_aes_xts_crypt()
180 rctx->cmd.u.xts.dst = req->dst; in ccp_aes_xts_crypt()
H A Dccp-ops.c1092 struct ccp_xts_aes_engine *xts = &cmd->u.xts; in ccp_run_xts_aes_cmd() local
1102 switch (xts->unit_size) { in ccp_run_xts_aes_cmd()
1123 if (xts->key_len == AES_KEYSIZE_128) in ccp_run_xts_aes_cmd()
1125 else if (xts->key_len == AES_KEYSIZE_256) in ccp_run_xts_aes_cmd()
1130 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd()
1133 if (xts->iv_len != AES_BLOCK_SIZE) in ccp_run_xts_aes_cmd()
1136 if (!xts->key || !xts->iv || !xts->src || !xts->dst) in ccp_run_xts_aes_cmd()
1149 op.u.xts.type = aestype; in ccp_run_xts_aes_cmd()
1150 op.u.xts.action = xts->action; in ccp_run_xts_aes_cmd()
1151 op.u.xts.unit_size = xts->unit_size; in ccp_run_xts_aes_cmd()
[all …]
H A DMakefile19 ccp-crypto-aes-xts.o \
H A Dccp-dev-v3.c185 | (op->u.xts.action << REQ1_AES_ACTION_SHIFT) in ccp_perform_xts_aes()
186 | (op->u.xts.unit_size << REQ1_XTS_AES_SIZE_SHIFT) in ccp_perform_xts_aes()
H A Dccp-dev-v5.c342 CCP_XTS_TYPE(&function) = op->u.xts.type; in ccp5_perform_xts_aes()
343 CCP_XTS_ENCRYPT(&function) = op->u.xts.action; in ccp5_perform_xts_aes()
344 CCP_XTS_SIZE(&function) = op->u.xts.unit_size; in ccp5_perform_xts_aes()
/OK3568_Linux_fs/external/xserver/.gitlab-ci/
H A DDockerfile26 git clone https://gitlab.freedesktop.org/xorg/test/xts && \
27 cd xts && ./autogen.sh && xvfb-run make -j$(nproc) && \
28 cd .. && rm -rf piglit/.git xts/.git && \
29 echo '[xts]' > piglit/piglit.conf && echo 'path=/root/xts' >> piglit/piglit.conf && \
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dserpent_avx2_glue.c77 .fn_u = { .xts = serpent_xts_enc_16way }
80 .fn_u = { .xts = serpent_xts_enc_8way_avx }
83 .fn_u = { .xts = serpent_xts_enc }
125 .fn_u = { .xts = serpent_xts_dec_16way }
128 .fn_u = { .xts = serpent_xts_dec_8way_avx }
131 .fn_u = { .xts = serpent_xts_dec }
H A Dcamellia_aesni_avx2_glue.c78 .fn_u = { .xts = camellia_xts_enc_32way }
81 .fn_u = { .xts = camellia_xts_enc_16way }
84 .fn_u = { .xts = camellia_xts_enc }
132 .fn_u = { .xts = camellia_xts_dec_32way }
135 .fn_u = { .xts = camellia_xts_dec_16way }
138 .fn_u = { .xts = camellia_xts_dec }
H A Dtwofish_avx_glue.c120 .fn_u = { .xts = twofish_xts_enc_8way }
123 .fn_u = { .xts = twofish_xts_enc }
165 .fn_u = { .xts = twofish_xts_dec_8way }
168 .fn_u = { .xts = twofish_xts_dec }
H A Dcast6_avx_glue.c96 .fn_u = { .xts = cast6_xts_enc_8way }
99 .fn_u = { .xts = cast6_xts_enc }
135 .fn_u = { .xts = cast6_xts_dec_8way }
138 .fn_u = { .xts = cast6_xts_dec }
H A Dcamellia_aesni_avx_glue.c92 .fn_u = { .xts = camellia_xts_enc_16way }
95 .fn_u = { .xts = camellia_xts_enc }
137 .fn_u = { .xts = camellia_xts_dec_16way }
140 .fn_u = { .xts = camellia_xts_dec }
H A Dserpent_avx_glue.c131 .fn_u = { .xts = serpent_xts_enc_8way_avx }
134 .fn_u = { .xts = serpent_xts_enc }
170 .fn_u = { .xts = serpent_xts_dec_8way_avx }
173 .fn_u = { .xts = serpent_xts_dec }
H A Daesni-intel_glue.c569 .fn_u = { .xts = aesni_xts_enc32 }
572 .fn_u = { .xts = aesni_xts_enc }
582 .fn_u = { .xts = aesni_xts_dec32 }
585 .fn_u = { .xts = aesni_xts_dec }
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-crypto/cryptsetup/
H A Dcryptsetup_2.4.3.bb39 luks-adjust-xts-keysize \
65 PACKAGECONFIG[luks-adjust-xts-keysize] = "--enable-luks-adjust-xts-keysize,--disable-luks-adjust-xt…
102 kernel-module-xts \
/OK3568_Linux_fs/kernel/tools/crypto/
H A Dgen_fips140_testvecs.py98 xts = cryptography.hazmat.primitives.ciphers.Cipher(
101 ciphertext = xts.update(message) + xts.finalize()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst26 aes-xts-plain64
27 serpent-xts-plain64
41 capi:xts(aes)-plain64
46 capi:authenc(hmac(sha256),xts(aes))-random
/OK3568_Linux_fs/external/xserver/test/scripts/
H A Dxinit-piglit-session.sh35 exec ./piglit run xts-render $PIGLIT_ARGS $PIGLIT_RESULTS_DIR
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_v2_skcipher.c623 RK_CIPHER_ALGO_XTS_INIT(SM4, xts(sm4), xts-sm4-rk);
644 RK_CIPHER_ALGO_XTS_INIT(AES, xts(aes), xts-aes-rk);
H A Drk_crypto_v3_skcipher.c622 RK_CIPHER_ALGO_XTS_INIT(SM4, xts(sm4), xts-sm4-rk);
643 RK_CIPHER_ALGO_XTS_INIT(AES, xts(aes), xts-aes-rk);
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Dapi-samples.rst33 tfm = crypto_alloc_skcipher("xts(aes)", 0, 0);
35 pr_err("Error allocating xts(aes) handle: %ld\n", PTR_ERR(tfm));
/OK3568_Linux_fs/kernel/arch/x86/include/asm/crypto/
H A Dglue_helper.h27 common_glue_xts_func_t xts; member
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Daes_s390.c434 u8 xts[16]; in xts_aes_crypt() member
460 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
466 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
H A Dpaes_s390.c490 u8 xts[16]; in xts_paes_crypt() member
511 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()
/OK3568_Linux_fs/kernel/crypto/
H A DMakefile92 obj-$(CONFIG_CRYPTO_XTS) += xts.o
213 crypto-fips-objs := drbg.o ecb.o cbc.o ctr.o cts.o gcm.o xts.o hmac.o cmac.o \
/OK3568_Linux_fs/kernel/include/linux/
H A Dccp.h652 struct ccp_xts_aes_engine xts; member

12