Home
last modified time | relevance | path

Searched refs:tweak (Results 1 – 25 of 113) sorted by relevance

12345

/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Daes_xts.c14 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; in aes_xts128_encrypt() local
20 memcpy(tweak.c, iv, 16); in aes_xts128_encrypt()
22 rk_aes_encrypt(tweak.c, tweak.c, key2); in aes_xts128_encrypt()
29 scratch.u[0] ^= tweak.u[0]; in aes_xts128_encrypt()
30 scratch.u[1] ^= tweak.u[1]; in aes_xts128_encrypt()
37 scratch.u[0] ^= tweak.u[0]; in aes_xts128_encrypt()
38 scratch.u[1] ^= tweak.u[1]; in aes_xts128_encrypt()
51 res = 0x87 & (((int)tweak.d[3]) >> 31); in aes_xts128_encrypt()
52 carry = (unsigned int)(tweak.u[0] >> 63); in aes_xts128_encrypt()
53 tweak.u[0] = (tweak.u[0] << 1) ^ res; in aes_xts128_encrypt()
[all …]
H A Dsm4_xts.c13 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; in aes_xts128_encrypt() local
19 memcpy(tweak.c, iv, 16); in aes_xts128_encrypt()
21 rk_sm4_crypt_ecb(ctx2, (const unsigned char*)tweak.c, tweak.c); in aes_xts128_encrypt()
28 scratch.u[0] ^= tweak.u[0]; in aes_xts128_encrypt()
29 scratch.u[1] ^= tweak.u[1]; in aes_xts128_encrypt()
36 scratch.u[0] ^= tweak.u[0]; in aes_xts128_encrypt()
37 scratch.u[1] ^= tweak.u[1]; in aes_xts128_encrypt()
50 res = 0x87 & (((int)tweak.d[3]) >> 31); in aes_xts128_encrypt()
51 carry = (unsigned int)(tweak.u[0] >> 63); in aes_xts128_encrypt()
52 tweak.u[0] = (tweak.u[0] << 1) ^ res; in aes_xts128_encrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/vmx/
H A Daesp8-ppc.pl1969 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12));
1992 lvx $tweak,0,$ivp # load [unaligned] iv
1996 vperm $tweak,$tweak,$inptail,$inpperm
2017 vxor $tweak,$tweak,$rndkey0
2024 vcipher $tweak,$tweak,$rndkey1
2028 vcipher $tweak,$tweak,$rndkey0
2034 vcipher $tweak,$tweak,$rndkey1
2037 vcipherlast $tweak,$tweak,$rndkey0
2077 vxor $inout,$inout,$tweak
2101 vxor $rndkey0,$rndkey0,$tweak
[all …]
H A Daes_xts.c84 u8 tweak[AES_BLOCK_SIZE]; in p8_aes_xts_crypt() local
107 aes_p8_encrypt(walk.iv, tweak, &ctx->tweak_key); in p8_aes_xts_crypt()
121 &ctx->enc_key, NULL, tweak); in p8_aes_xts_crypt()
126 &ctx->dec_key, NULL, tweak); in p8_aes_xts_crypt()
/OK3568_Linux_fs/kernel/crypto/
H A Dxts.c26 struct crypto_cipher *tweak; member
46 struct crypto_cipher *tweak; in xts_setkey() local
60 tweak = ctx->tweak; in xts_setkey()
61 crypto_cipher_clear_flags(tweak, CRYPTO_TFM_REQ_MASK); in xts_setkey()
62 crypto_cipher_set_flags(tweak, crypto_skcipher_get_flags(parent) & in xts_setkey()
64 err = crypto_cipher_setkey(tweak, key + keylen, keylen); in xts_setkey()
256 crypto_cipher_encrypt_one(ctx->tweak, (u8 *)&rctx->t, req->iv); in xts_init_crypt()
301 struct crypto_cipher *tweak; in xts_init_tfm() local
309 tweak = crypto_alloc_cipher(ictx->name, 0, 0); in xts_init_tfm()
310 if (IS_ERR(tweak)) { in xts_init_tfm()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dpv.c237 static int unpack_one(struct kvm *kvm, unsigned long addr, u64 tweak, in unpack_one() argument
245 .tweak[0] = tweak, in unpack_one()
246 .tweak[1] = offset, in unpack_one()
260 unsigned long tweak, u16 *rc, u16 *rrc) in kvm_s390_pv_unpack() argument
272 ret = unpack_one(kvm, addr, tweak, offset, rc, rrc); in kvm_s390_pv_unpack()
/OK3568_Linux_fs/buildroot/package/linknx/
H A D0001-configure-ac-tweak-CPPUNIT-conditional.patch4 Subject: [PATCH] configure.ac: tweak CPPUNIT conditional
7 (http://patchwork.ozlabs.org/patch/1088520), tweak CPPUNIT to move call
/OK3568_Linux_fs/buildroot/package/cmake/
H A D0001-rename-cmake-rootfile.patch13 [Vincent: tweak patch for 3.6.3]
14 [James: tweak patch for 3.15.4]
/OK3568_Linux_fs/yocto/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom/
H A Dfeature.scc1 patch 0001-linux-version-tweak.patch
H A D0001-linux-version-tweak.patch4 Subject: [PATCH] linux: version tweak
/OK3568_Linux_fs/buildroot/package/acpica/
H A D0001-build-do-not-use-Werror.patch12 [Vincent: tweak patch for 20170531 release]
13 [Bernd: tweak patch for 20191018 release]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/xorg-app/
H A Diceauth_1.0.8.bb5 DESCRIPTION = "A collection of utilities used to tweak and query the runtime configuration\
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-util/
H A Dutil-macros_1.19.3.bb15 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/ssmping/
H A Dssmping_0.9.1.bb8 file://0001-Makefile-tweak-install-dir.patch \
/OK3568_Linux_fs/yocto/poky/meta/recipes-sato/webkit/
H A Dlibwpe_1.12.3.bb16 # This is a tweak of upstream-version-is-even needed because
H A Dwpebackend-fdo_1.14.0.bb22 # This is a tweak of upstream-version-is-even needed because
/OK3568_Linux_fs/kernel/Documentation/process/
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_.
/OK3568_Linux_fs/kernel/Documentation/admin-guide/wimax/
H A Dwimax.rst44 files will appear in /sys/kernel/debug/wimax:wmxX can tweak for
53 The drivers will register debugfs entries that allow the user to tweak
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/
H A Dti-da8xx-ddrctl.txt4 a set of registers which allow to tweak the controller's behavior.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/isomd5sum/
H A Disomd5sum_1.2.3.bb11 file://0001-tweak-install-prefix.patch \
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-proto/
H A Dxorgproto_2021.5.bb21 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libeigen/
H A Dlibeigen_3.4.0.bb24 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
/OK3568_Linux_fs/buildroot/package/tinyalsa/
H A D0001-disable-doxygen-usage.patch7 [Vincent: tweak patch for 1.1.1 version]
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/gpgme/gpgme/
H A D0006-fix-build-path-issue.patch10 Since --root added, we need to tweak --prefix and --install-lib
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-extended/python-blivet/
H A Dpython3-blivet_3.4.3.bb13 file://0006-tweak-btrfs-packages.patch \

12345