Home
last modified time | relevance | path

Searched full:xts (Results 1 – 25 of 51) sorted by relevance

123

/linux/tools/perf/pmu-events/arch/s390/cf_z17/
H A Dpai_crypto.json97 "BriefDescription": "KM XTS AES 128",
98 "PublicDescription": "KM-XTS-AES-128 function ending with CC=0"
104 "BriefDescription": "KM XTS AES 256",
105 "PublicDescription": "KM-XTS-AES-256 function ending with CC=0"
111 "BriefDescription": "KM XTS ENCRYPTED AES 128",
112 "PublicDescription": "KM-XTS-Encrypted-AES-128 function ending with CC=0"
118 "BriefDescription": "KM XTS ENCRYPTED AES 256",
119 "PublicDescription": "KM-XTS-Encrypted-AES-256 function ending with CC=0"
811 "BriefDescription": "PCC COMPUTE XTS PARAMETER USING AES 128",
812 "PublicDescription": "PCC-Compute-XTS-Parameter-Using-AES-128 function ending with CC=0"
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z16/
H A Dpai_crypto.json97 "BriefDescription": "KM XTS AES 128",
98 "PublicDescription": "KM-XTS-AES-128 function ending with CC=0"
104 "BriefDescription": "KM XTS AES 256",
105 "PublicDescription": "KM-XTS-AES-256 function ending with CC=0"
111 "BriefDescription": "KM XTS ENCRYPTED AES 128",
112 "PublicDescription": "KM-XTS-Encrypted-AES-128 function ending with CC=0"
118 "BriefDescription": "KM XTS ENCRYPTED AES 256",
119 "PublicDescription": "KM-XTS-Encrypted-AES-256 function ending with CC=0"
811 "BriefDescription": "PCC COMPUTE XTS PARAMETER USING AES 128",
812 "PublicDescription": "PCC-Compute-XTS-Parameter-Using-AES-128 function ending with CC=0"
[all …]
/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/crypto/
H A Dapi-samples.rst7 This code encrypts some data with AES-256-XTS. For sake of example,
21 u8 iv[16]; /* AES-256-XTS takes a 16-byte IV */
22 u8 key[64]; /* AES-256-XTS takes a 64-byte key */
33 tfm = crypto_alloc_skcipher("xts(aes)", 0, 0);
35 pr_err("Error allocating xts(aes) handle: %ld\n", PTR_ERR(tfm));
/linux/drivers/crypto/ccp/
H A Dccp-ops.c1105 struct ccp_xts_aes_engine *xts = &cmd->u.xts; in ccp_run_xts_aes_cmd() local
1115 switch (xts->unit_size) { in ccp_run_xts_aes_cmd()
1136 if (xts->key_len == AES_KEYSIZE_128) in ccp_run_xts_aes_cmd()
1138 else if (xts->key_len == AES_KEYSIZE_256) in ccp_run_xts_aes_cmd()
1143 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd()
1146 if (xts->iv_len != AES_BLOCK_SIZE) in ccp_run_xts_aes_cmd()
1149 if (!xts->key || !xts->iv || !xts->src || !xts->dst) in ccp_run_xts_aes_cmd()
1162 op.u.xts.type = aestype; in ccp_run_xts_aes_cmd()
1163 op.u.xts.action = xts->action; in ccp_run_xts_aes_cmd()
1164 op.u.xts.unit_size = xts->unit_size; in ccp_run_xts_aes_cmd()
[all …]
H A DMakefile27 ccp-crypto-aes-xts.o \
H A Dccp-dev.h147 /* XTS-AES Related Values */
548 struct ccp_xts_aes_op xts; member
H A Dccp-crypto.h92 /* Fallback cipher for XTS with unsupported unit sizes */
/linux/include/linux/
H A Dccp.h193 /***** XTS-AES engine *****/
195 * ccp_xts_aes_unit_size - XTS unit size
213 * struct ccp_xts_aes_engine - CCP XTS AES operation
215 * @unit_size: unit size of the XTS operation
216 * @key: key to be used for this XTS AES operation
218 * @iv: IV to be used for this XTS AES operation
223 * @final: indicates final XTS operation
595 * @CCP_ENGINE_XTS_AES: 128-bit XTS AES operation
653 struct ccp_xts_aes_engine xts; member
/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
/linux/Documentation/devicetree/bindings/crypto/
H A Dsamsung-slimsss.yaml15 -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS
H A Dnvidia,tegra234-se-aes.yaml11 algorithms - AES-ECB, AES-CBC, AES-OFB, AES-XTS, AES-CTR, AES-GCM, AES-CCM,
/linux/arch/x86/crypto/
H A Daes-xts-avx-x86_64.S3 // AES-XTS for modern x86_64 CPUs
50 * This file implements AES-XTS for modern x86_64 CPUs. To handle the
79 * the XTS tweaks. This avoids a bottleneck. Currently there don't seem to be
83 * The AES-XTS implementations in this file support everything required by the
170 // V6-V9 hold XTS tweaks. Each 128-bit lane holds one tweak.
273 // Given a 128-bit XTS tweak in the xmm register \src, compute the next tweak
287 // Given the XTS tweak(s) in the vector \src, compute the next vector of
305 // Given the first XTS tweak at (TWEAK), compute the first set of tweaks and
497 // interleave the AES rounds with the XTS tweak computation, and (c) it
867 // Below are the actual AES-XTS encryption and decryption functions,
/linux/fs/crypto/
H A Dhkdf.c23 * common case of deriving an AES-256-XTS key (512 bits), that can result in
38 * length HKDF_HASHLEN bytes. However, cipher modes other than AES-256-XTS take
/linux/arch/arm64/crypto/
H A Daes-neonbs-glue.c15 #include <crypto/xts.h>
26 MODULE_ALIAS_CRYPTO("xts(aes)");
434 .base.cra_name = "xts(aes)",
435 .base.cra_driver_name = "xts-aes-neonbs",
H A Dsm4-ce-glue.c18 #include <crypto/xts.h>
473 .cra_name = "xts(sm4)",
474 .cra_driver_name = "xts-sm4-ce",
707 MODULE_DESCRIPTION("SM4 ECB/CBC/CTR/XTS using ARMv8 Crypto Extensions");
714 MODULE_ALIAS_CRYPTO("xts(sm4)");
/linux/crypto/
H A DKconfig604 AES-XTS.
608 bound. Unlike XTS, Adiantum is a true wide-block encryption
610 security than XTS, subject to the security bound.
737 tristate "XTS (XOR Encrypt XOR with ciphertext stealing)"
742 XTS (XOR Encrypt XOR with ciphertext stealing) mode (NIST SP800-38E
745 Use with aes-xts-plain, key size 256, 384 or 512 bits. This
853 the SoC in question has accelerated CBC but not XTS, making CBC
/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c11 #include <crypto/xts.h>
342 .base.cra_name = "xts(aes)",
343 .base.cra_driver_name = "cavium-xts-aes",
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c12 #include <crypto/xts.h>
34 { "xts(aes)", CIPHER_AES_XTS },
424 .cra_name = "xts(aes)",
H A Dnitrox_req.h126 * @key: Encryption key or KEY1 for AES-XTS
127 * @iv: Encryption IV or Tweak for AES-XTS
139 * @ipad: IPAD or KEY2 for AES-XTS
/linux/Documentation/virt/kvm/s390/
H A Ds390-pv-boot.rst52 * AES-XTS Tweak prefix
/linux/drivers/crypto/qce/
H A Dcommon.h16 /* xts du size */
/linux/drivers/crypto/bcm/
H A Dcipher.h131 /* IV or counter. Size to include salt. Also used for XTS tweek. */
159 * -OR- tweak value when XTS/AES is used
/linux/drivers/crypto/caam/
H A Dcaamalg_desc.c1602 * cnstr_shdsc_xts_skcipher_encap - xts skcipher encapsulation shared descriptor
1611 * sector size segmentation in xts implementation. We cannot in cnstr_shdsc_xts_skcipher_encap()
1657 print_hex_dump_debug("xts skcipher enc shdesc@" __stringify(__LINE__) in cnstr_shdsc_xts_skcipher_encap()
1664 * cnstr_shdsc_xts_skcipher_decap - xts skcipher decapsulation shared descriptor
1673 * sector size segmentation in xts implementation. We cannot in cnstr_shdsc_xts_skcipher_decap()
1717 print_hex_dump_debug("xts skcipher dec shdesc@" __stringify(__LINE__) in cnstr_shdsc_xts_skcipher_decap()

123