Home
last modified time | relevance | path

Searched full:tweak (Results 1 – 25 of 137) sorted by relevance

123456

/linux/arch/powerpc/crypto/
H A Daesp8-ppc.pl1961 # If $key2 is NULL, then a "tweak chaining" mode is engaged, in which #
1962 # input tweak value is assumed to be encrypted already, and last tweak #
1964 # written back to original buffer. In addition, in "tweak chaining" #
1970 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12));
1993 lvx $tweak,0,$ivp # load [unaligned] iv
1997 vperm $tweak,$tweak,$inptail,$inpperm
2018 vxor $tweak,$tweak,$rndkey0
2025 vcipher $tweak,$tweak,$rndkey1
2029 vcipher $tweak,$tweak,$rndkey0
2035 vcipher $tweak,$tweak,$rndkey1
[all …]
H A Daes-spe-regs.h15 #define rKT r9 /* pointer to tweak key (XTS mode) */
34 #define rG0 r28 /* endian reversed tweak (XTS mode) */
/linux/arch/x86/crypto/
H A Daes-xts-avx-x86_64.S97 // tweak each time a 1 is carried out of the high 64 bits.
100 // exists when there's a carry out of the low 64 bits of the tweak.
159 .set TWEAK, %r8 // Pointer to next tweak define
170 // V6-V9 hold XTS tweaks. Each 128-bit lane holds one tweak.
178 // V10-V13 are used for computing the next values of TWEAK[0-3].
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
288 // tweak(s) (by multiplying by the polynomial 'x^(VL/16)') and write it to \dst.
292 // computation without vpclmulqdq, as it's the faster method for a single tweak.
305 // Given the first XTS tweak at (TWEAK), compute the first set of tweaks and
[all …]
H A Daesni-intel_glue.c408 /* second half of xts-key is for tweak */ in xts_setkey_aesni()
416 u8 tweak[AES_BLOCK_SIZE]);
525 u8 tweak[AES_BLOCK_SIZE]) in aesni_xts_encrypt()
527 aesni_xts_enc(key, dst, src, len, tweak); in aesni_xts_encrypt()
532 u8 tweak[AES_BLOCK_SIZE]) in aesni_xts_decrypt()
534 aesni_xts_dec(key, dst, src, len, tweak); in aesni_xts_decrypt()
752 u8 *dst, int len, u8 tweak[AES_BLOCK_SIZE]); \
755 u8 *dst, int len, u8 tweak[AES_BLOCK_SIZE]); \
/linux/arch/riscv/crypto/
H A Daes-riscv64-zvkned-zvbb-zvkg.S85 // instruction which does multiplication in this field. Therefore, for tweak
91 // Load the first tweak T.
95 // If there's only one block (or no blocks at all), then skip the tweak
160 // the multiplier required to advance the tweak by one.
199 // Since we compute the tweak multipliers x^N in advance, we require
213 // Compute the next tweak.
216 vslidedown.vx TWEAKS_BREV, TWEAKS_BREV, t0 // Extract last tweak
218 vgmul.vv TWEAKS_BREV, MULTS_BREV // Advance to next tweak
222 // Update *TWEAKP to contain the next tweak.
230 // TWEAKS_BREV now contains the next tweak. Compute the one after that.
[all …]
H A Daes-riscv64-glue.c56 u8 tweak[AES_BLOCK_SIZE]);
61 u8 tweak[AES_BLOCK_SIZE]);
368 /* Encrypt the IV with the tweak key to get the first tweak. */ in riscv64_aes_xts_crypt()
/linux/Documentation/devicetree/bindings/net/
H A Dqcom,qca807x.yaml81 and qcom,dac-disable-bias-current-tweak disabled,
93 qcom,dac-disable-bias-current-tweak disabled.
96 qcom,dac-disable-bias-current-tweak:
98 Set Analog MDI driver bias current to disable tweak
101 With this not defined, bias current tweak are enabled
104 With this enabled the following tweak are NOT applied:
/linux/sound/core/
H A Dpcm_iec958.c25 * Drivers may wish to tweak the contents of the buffer after creation.
128 * Drivers may wish to tweak the contents of the buffer after its been
151 * Drivers may wish to tweak the contents of the buffer after its been
172 * Drivers may wish to tweak the contents of the buffer after creation.
198 * Drivers may wish to tweak the contents of the buffer after creation.
/linux/Documentation/dev-tools/
H A Dclang-format.rst26 it is possible that you may want to tweak the defaults for a particular
94 Remember that you can always tweak the changes afterwards in those cases
108 so that you can tweak a few options. See clangformatextra_.
/linux/arch/s390/kvm/
H A Dpv.c695 static int unpack_one(struct kvm *kvm, unsigned long addr, u64 tweak, in unpack_one() argument
703 .tweak[0] = tweak, in unpack_one()
704 .tweak[1] = offset, in unpack_one()
736 unsigned long tweak, u16 *rc, u16 *rrc) in kvm_s390_pv_unpack() argument
750 ret = unpack_one(kvm, addr, tweak, offset, rc, rrc); in kvm_s390_pv_unpack()
815 * Stores buff_len bytes of tweak component values to buff_user
/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs42l42.yaml146 For different hardware setups, a designer might want to tweak this.
184 to tweak default behavior.
/linux/arch/arc/plat-hsdk/
H A Dplatform.c120 pr_err("failed to tweak %s to %scoherent\n", path, coherent ? "" : "non"); in hsdk_tweak_node_coherency()
195 * Don't tweak memory bridge configuration if we failed to tweak DTB in hsdk_init_memory_bridge_axi_dmac()
/linux/arch/arm64/crypto/
H A Dsm4-ce-core.S525 * x3: tweak (big endian, 128 bit)
535 /* Generate first tweak */
679 /* store new tweak */
692 * x3: tweak (big endian, 128 bit)
702 /* Generate first tweak */
846 /* store new tweak */
/linux/include/crypto/
H A Dxts.h29 * Ensure that the AES and tweak key are not identical when in xts_verify_key()
/linux/drivers/net/
H A Dloopback.c18 * Larry McVoy : Tiny tweak to double performance
19 * Alan Cox : Backed out LMV's tweak - the linux mm
/linux/arch/arm/include/uapi/asm/
H A Dtypes.h16 * supplied by GCC, we can tweak these to align with the kernel's idea of those
/linux/include/linux/mtd/
H A Dnand-ecc-sw-bch.h16 * @req_ctx: Save request context and tweak the original request to fit the
H A Dnand-ecc-sw-hamming.h17 * @req_ctx: Save request context and tweak the original request to fit the
/linux/tools/perf/tests/
H A Dopenat-syscall.c42 "tweak /proc/sys/kernel/perf_event_paranoid?\n", in test__openat_syscall_event()
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,glink-rpm-edge.yaml62 preallocated for this virtual channel. This can be used to tweak the
/linux/scripts/
H A Dstackdelta32 # tweak, we can't really track those functions, so we just
/linux/tools/virtio/
H A DMakefile34 #Tweak the below to enable more modules
/linux/Documentation/w1/slaves/
H A Dw1_ds28e17.rst57 wait time, it should be hardly needed to tweak this setting.
/linux/arch/arc/kernel/
H A Dfpu.c27 * However we can tweak the read, so that read-out of outgoing task's FPU regs
/linux/Documentation/virt/kvm/s390/
H A Ds390-pv-boot.rst52 * AES-XTS Tweak prefix

123456