| /linux/drivers/crypto/ccp/ |
| A D | ccp-crypto-aes-xts.c | 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.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()
|
| A D | ccp-ops.c | 1095 struct ccp_xts_aes_engine *xts = &cmd->u.xts; in ccp_run_xts_aes_cmd() local 1133 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd() 1139 if (!xts->key || !xts->iv || !xts->src || !xts->dst) in ccp_run_xts_aes_cmd() 1153 op.u.xts.action = xts->action; in ccp_run_xts_aes_cmd() 1154 op.u.xts.unit_size = xts->unit_size; in ccp_run_xts_aes_cmd() 1179 ret = ccp_set_dm_area(&key, 0, xts->key, xts->key_len, xts->key_len); in ccp_run_xts_aes_cmd() 1194 xts->key_len, xts->key_len); in ccp_run_xts_aes_cmd() 1215 ret = ccp_set_dm_area(&ctx, 0, xts->iv, 0, xts->iv_len); in ccp_run_xts_aes_cmd() 1229 if (sg_virt(xts->src) == sg_virt(xts->dst)) in ccp_run_xts_aes_cmd() 1232 ret = ccp_init_data(&src, cmd_q, xts->src, xts->src_len, in ccp_run_xts_aes_cmd() [all …]
|
| A D | Makefile | 22 ccp-crypto-aes-xts.o \
|
| A D | ccp-dev-v3.c | 185 | (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()
|
| A D | ccp-dev-v5.c | 342 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()
|
| A D | ccp-dev.h | 548 struct ccp_xts_aes_op xts; member
|
| /linux/tools/testing/selftests/ptp/ |
| A D | testptp.c | 165 struct ptp_sys_offset_precise *xts; in main() local 590 xts = calloc(1, sizeof(*xts)); in main() 591 if (!xts) { in main() 596 if (ioctl(fd, PTP_SYS_OFFSET_PRECISE, xts)) { in main() 602 xts->device.sec, xts->device.nsec); in main() 604 xts->sys_realtime.sec, xts->sys_realtime.nsec); in main() 606 xts->sys_monoraw.sec, xts->sys_monoraw.nsec); in main() 609 free(xts); in main()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| A D | dm-crypt.rst | 26 aes-xts-plain64 27 serpent-xts-plain64 41 capi:xts(aes)-plain64 46 capi:authenc(hmac(sha256),xts(aes))-random
|
| A D | dm-init.rst | 95 0 1048576 crypt aes-xts-plain64
|
| A D | dm-ima.rst | 416 …iv_large_sectors=n,cipher_string=aes-xts-plain64,key_size=32,key_parts=1,key_extra_size=0,key_mac_…
|
| /linux/Documentation/crypto/ |
| A D | api-samples.rst | 33 tfm = crypto_alloc_skcipher("xts(aes)", 0, 0); 35 pr_err("Error allocating xts(aes) handle: %ld\n", PTR_ERR(tfm));
|
| /linux/include/linux/ |
| A D | ccp.h | 653 struct ccp_xts_aes_engine xts; member
|
| /linux/arch/s390/crypto/ |
| A D | aes_s390.c | 435 u8 xts[16]; in xts_aes_crypt() member 461 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt() 467 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
|
| A D | paes_s390.c | 504 u8 xts[16]; in xts_paes_crypt() member 525 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()
|
| /linux/arch/x86/crypto/ |
| A D | Makefile | 53 aes-xts-avx-x86_64.o
|
| /linux/crypto/ |
| A D | Makefile | 91 obj-$(CONFIG_CRYPTO_XTS) += xts.o
|
| A D | Kconfig | 741 Use with aes-xts-plain, key size 256, 384 or 512 bits. This
|
| /linux/Documentation/dev-tools/ |
| A D | coccinelle.rst | 395 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg 519 …* TODO [[view:/home/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST c…
|
| /linux/drivers/crypto/inside-secure/ |
| A D | safexcel_cipher.c | 60 unsigned int key_len, xts; member 578 switch (ctx->key_len >> ctx->xts) { in safexcel_context_control() 593 ctx->key_len >> ctx->xts); in safexcel_context_control() 2455 ctx->xts = 1; in safexcel_skcipher_aes_xts_cra_init()
|