Home
last modified time | relevance | path

Searched refs:xts (Results 1 - 25 of 73) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c16 #include <crypto/xts.h>
29 .name = "xts(aes)",
30 .drv_name = "xts-aes-ccp",
170 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 in ccp_aes_xts_crypt()
[all...]
H A Dccp-ops.c1095 struct ccp_xts_aes_engine *xts = &cmd->u.xts; in ccp_run_xts_aes_cmd() local
1105 switch (xts->unit_size) { in ccp_run_xts_aes_cmd()
1126 if (xts->key_len == AES_KEYSIZE_128) in ccp_run_xts_aes_cmd()
1128 else if (xts->key_len == AES_KEYSIZE_256) in ccp_run_xts_aes_cmd()
1133 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd()
1136 if (xts->iv_len != AES_BLOCK_SIZE) in ccp_run_xts_aes_cmd()
1139 if (!xts->key || !xts 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()
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c16 #include <crypto/xts.h>
29 .name = "xts(aes)",
30 .drv_name = "xts-aes-ccp",
170 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 in ccp_aes_xts_crypt()
[all...]
H A Dccp-ops.c1095 struct ccp_xts_aes_engine *xts = &cmd->u.xts; in ccp_run_xts_aes_cmd() local
1105 switch (xts->unit_size) { in ccp_run_xts_aes_cmd()
1126 if (xts->key_len == AES_KEYSIZE_128) in ccp_run_xts_aes_cmd()
1128 else if (xts->key_len == AES_KEYSIZE_256) in ccp_run_xts_aes_cmd()
1133 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd()
1136 if (xts->iv_len != AES_BLOCK_SIZE) in ccp_run_xts_aes_cmd()
1139 if (!xts->key || !xts in ccp_run_xts_aes_cmd()
[all...]
H A DMakefile21 ccp-crypto-aes-xts.o \
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dserpent_avx2_glue.c15 #include <crypto/xts.h>
77 .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.c12 #include <crypto/xts.h>
78 .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 Dcamellia_aesni_avx_glue.c12 #include <crypto/xts.h>
92 .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 }
185 /* first half of xts-key is for crypt */ in xts_camellia_setkey()
190 /* second half of xts-key is for tweak */ in xts_camellia_setkey()
H A Dtwofish_avx_glue.c18 #include <crypto/xts.h>
73 /* first half of xts-key is for crypt */ in xts_twofish_setkey()
78 /* second half of xts-key is for tweak */ in xts_twofish_setkey()
120 .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 Dserpent_avx_glue.c18 #include <crypto/xts.h>
89 /* first half of xts-key is for crypt */ in xts_serpent_setkey()
94 /* second half of xts-key is for tweak */ in xts_serpent_setkey()
131 .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 Dcast6_avx_glue.c18 #include <crypto/xts.h>
96 .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 }
182 /* first half of xts-key is for crypt */ in xts_cast6_setkey()
187 /* second half of xts-key is for tweak */ in xts_cast6_setkey()
H A Daesni-intel_glue.c27 #include <crypto/xts.h>
531 /* first half of xts-key is for crypt */ in xts_aesni_setkey()
537 /* second half of xts-key is for tweak */ in xts_aesni_setkey()
569 .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 }
H A Dglue_helper.c18 #include <crypto/xts.h>
247 gctx->funcs[i].fn_u.xts(ctx, (u8 *)dst, in __glue_xts_req_128bit()
/kernel/linux/linux-6.6/tools/testing/selftests/ptp/
H A Dtestptp.c164 struct ptp_sys_offset_precise *xts; in main() local
585 xts = calloc(1, sizeof(*xts)); in main()
586 if (!xts) { in main()
591 if (ioctl(fd, PTP_SYS_OFFSET_PRECISE, xts)) { in main()
597 xts->device.sec, xts->device.nsec); in main()
599 xts->sys_realtime.sec, xts->sys_realtime.nsec); in main()
601 xts in main()
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/crypto/
H A Dglue_helper.h27 common_glue_xts_func_t xts; member
/kernel/linux/linux-5.10/arch/s390/crypto/
H A Daes_s390.c33 #include <crypto/xts.h>
433 u8 xts[16]; in xts_aes_crypt() member
459 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
465 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
515 .base.cra_name = "xts(aes)",
516 .base.cra_driver_name = "xts-aes-s390",
H A Dpaes_s390.c26 #include <crypto/xts.h>
490 u8 xts[16]; in xts_paes_crypt() member
511 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()
544 .base.cra_name = "xts(paes)",
545 .base.cra_driver_name = "xts-paes-s390",
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Daes_s390.c34 #include <crypto/xts.h>
430 u8 xts[16]; in xts_aes_crypt() member
456 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
462 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
512 .base.cra_name = "xts(aes)",
513 .base.cra_driver_name = "xts-aes-s390",
H A Dpaes_s390.c27 #include <crypto/xts.h>
505 u8 xts[16]; in xts_paes_crypt() member
526 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()
559 .base.cra_name = "xts(paes)",
560 .base.cra_driver_name = "xts-paes-s390",
/kernel/linux/linux-5.10/drivers/crypto/vmx/
H A Daes_xts.c15 #include <crypto/xts.h>
31 fallback = crypto_alloc_skcipher("xts(aes)", 0, in p8_aes_xts_init()
35 pr_err("Failed to allocate xts(aes) fallback: %ld\n", in p8_aes_xts_init()
147 .base.cra_name = "xts(aes)",
/kernel/linux/linux-6.6/drivers/crypto/vmx/
H A Daes_xts.c15 #include <crypto/xts.h>
31 fallback = crypto_alloc_skcipher("xts(aes)", 0, in p8_aes_xts_init()
35 pr_err("Failed to allocate xts(aes) fallback: %ld\n", in p8_aes_xts_init()
147 .base.cra_name = "xts(aes)",
/kernel/linux/linux-5.10/include/linux/
H A Dccp.h652 struct ccp_xts_aes_engine xts; member
/kernel/linux/linux-6.6/include/linux/
H A Dccp.h653 struct ccp_xts_aes_engine xts; member

Completed in 20 milliseconds

123