Home
last modified time | relevance | path

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

/linux/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 DMakefile27 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()
H A Dccp-dev.h548 struct ccp_xts_aes_op xts; member
/linux/tools/testing/selftests/ptp/
H A Dtestptp.c168 struct ptp_sys_offset_precise *xts; in main() local
658 xts = calloc(1, sizeof(*xts)); in main()
659 if (!xts) { in main()
664 if (ioctl(fd, PTP_SYS_OFFSET_PRECISE, xts)) { in main()
670 xts->device.sec, xts->device.nsec); in main()
672 xts->sys_realtime.sec, xts->sys_realtime.nsec); in main()
674 xts->sys_monoraw.sec, xts->sys_monoraw.nsec); in main()
677 free(xts); in main()
/linux/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
H A Ddm-init.rst95 0 1048576 crypt aes-xts-plain64
H A Ddm-ima.rst416 …iv_large_sectors=n,cipher_string=aes-xts-plain64,key_size=32,key_parts=1,key_extra_size=0,key_mac_…
/linux/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));
/linux/include/linux/
H A Dccp.h653 struct ccp_xts_aes_engine xts; member
/linux/arch/x86/crypto/
H A DMakefile51 aes-xts-avx-x86_64.o
/linux/crypto/
H A DMakefile92 obj-$(CONFIG_CRYPTO_XTS) += xts.o
H A DKconfig758 Use with aes-xts-plain, key size 256, 384 or 512 bits. This
/linux/Documentation/dev-tools/
H A Dcoccinelle.rst387 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg
511 …* 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/
H A Dsafexcel_cipher.c60 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()