Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/linux/drivers/crypto/vmx/
H A Daesp8-ppc.pl1960 # If $key2 is NULL, then a "tweak chaining" mode is engaged, in which #
1961 # input tweak value is assumed to be encrypted already, and last tweak #
1963 # written back to original buffer. In addition, in "tweak chaining" #
1969 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
[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()
/openbmc/linux/crypto/
H A Dxts.c26 struct crypto_cipher *tweak; member
46 struct crypto_cipher *tweak; in xts_setkey() local
55 /* we need two cipher instances: one to compute the initial 'tweak' in xts_setkey()
59 /* tweak cipher, uses Key2 i.e. the second half of *key */ in xts_setkey()
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()
77 * We compute the tweak masks twice (both before and after the ECB encryption or
256 crypto_cipher_encrypt_one(ctx->tweak, (u8 *)&rctx->t, req->iv); in xts_init_crypt()
[all …]
H A Dadiantum.c27 * formally defined to take two inputs (tweak, message) which makes it difficult
58 * tweak length for Adiantum is 16, since that fits into one Poly1305 block for
97 * (bulk length, tweak)
208 * Apply the Poly1305 ε-∆U hash function to (bulk length, tweak) and save the
217 * give the overall Adiantum hash of the (tweak, left-hand part) pair.
H A Dhctr2.c31 * tweak length for HCTR2 is 16, since that fits into one POLYVAL block for
101 * contains the tweak length and a flag that indicates whether the input is evenly
102 * divisible into blocks. Since this implementation only supports one tweak
187 // Store the hashed tweak, since we need it when computing both in hctr2_hash_tweak()
/openbmc/qemu/crypto/
H A Dxts.c80 * @iv: the initialization vector tweak of XTS_BLOCK_SIZE bytes
82 * Encrypt/decrypt data with a tweak
90 /* tweak encrypt block i */ in xts_tweak_encdec()
97 /* LFSR the tweak */ in xts_tweak_encdec()
155 /* PP = tweak decrypt block m-1 */ in xts_decrypt()
168 /* Pm-1 = Tweak uncrypt CC */ in xts_decrypt()
229 /* CC = tweak encrypt block m-1 */ in xts_encrypt()
243 /* Cm-1 = Tweak encrypt PP */ in xts_encrypt()
/openbmc/linux/drivers/mtd/nand/
H A Decc.c529 struct nand_page_io_req *orig, *tweak; in nand_ecc_tweak_req() local
536 tweak = req; in nand_ecc_tweak_req()
541 tweak->dataoffs = 0; in nand_ecc_tweak_req()
542 tweak->datalen = nanddev_page_size(nand); in nand_ecc_tweak_req()
543 tweak->databuf.in = ctx->spare_databuf; in nand_ecc_tweak_req()
544 memset(tweak->databuf.in, 0xFF, ctx->page_buffer_size); in nand_ecc_tweak_req()
549 tweak->ooboffs = 0; in nand_ecc_tweak_req()
550 tweak->ooblen = nanddev_per_page_oobsize(nand); in nand_ecc_tweak_req()
551 tweak->oobbuf.in = ctx->spare_oobbuf; in nand_ecc_tweak_req()
552 memset(tweak->oobbuf.in, 0xFF, ctx->oob_buffer_size); in nand_ecc_tweak_req()
[all …]
/openbmc/qemu/include/crypto/
H A Dxts.h40 * @tweakctx: the cipher context for tweak decryption
43 * @iv: the initialization vector tweak of XTS_BLOCK_SIZE bytes
62 * @tweakctx: the cipher context for tweak encryption
65 * @iv: the initialization vector tweak of XTS_BLOCK_SIZE bytes
/openbmc/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.
/openbmc/linux/arch/powerpc/crypto/
H A Daes-spe-regs.h15 #define rKT r9 /* pointer to tweak key (XTS mode) */
34 #define rG0 r28 /* endian reversed tweak (XTS mode) */
/openbmc/linux/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_.
/openbmc/qemu/target/s390x/kvm/
H A Dpv.h46 int s390_pv_unpack(uint64_t addr, uint64_t size, uint64_t tweak);
67 static inline int s390_pv_unpack(uint64_t addr, uint64_t size, uint64_t tweak) { return 0; } in s390_pv_unpack() argument
H A Dpv.c173 int s390_pv_unpack(uint64_t addr, uint64_t size, uint64_t tweak) in s390_pv_unpack() argument
178 .tweak = tweak, in s390_pv_unpack()
/openbmc/openbmc/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom/
H A Dfeature.scc1 patch 0001-linux-version-tweak.patch
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/
H A Doverlayroot62 # Tweak the mount option and fs_passno for rootfs in fstab
67 # Tweak the "mount -o remount,rw /" command in busybox-inittab inittab
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-app/
H A Diceauth_1.0.10.bb5 DESCRIPTION = "A collection of utilities used to tweak and query the runtime configuration\
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-util/
H A Dutil-macros_1.20.2.bb16 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
/openbmc/linux/arch/s390/kvm/
H A Dpv.c629 static int unpack_one(struct kvm *kvm, unsigned long addr, u64 tweak, in unpack_one() argument
637 .tweak[0] = tweak, in unpack_one()
638 .tweak[1] = offset, in unpack_one()
652 unsigned long tweak, u16 *rc, u16 *rrc) in kvm_s390_pv_unpack() argument
664 ret = unpack_one(kvm, addr, tweak, offset, rc, rrc); in kvm_s390_pv_unpack()
729 * Stores buff_len bytes of tweak component values to buff_user
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c92 struct crypto_cipher *tweak; member
430 * to the HW, the second key is used for tweak calculation in qat_alg_skcipher_init_com()
994 ret = crypto_cipher_setkey(ctx->tweak, key + (keylen / 2), in qat_alg_skcipher_xts_setkey()
1010 crypto_cipher_encrypt_one(ctx->tweak, in qat_alg_set_req_iv()
1222 ctx->tweak = crypto_alloc_cipher("aes", 0, 0); in qat_alg_skcipher_init_xts_tfm()
1223 if (IS_ERR(ctx->tweak)) { in qat_alg_skcipher_init_xts_tfm()
1225 return PTR_ERR(ctx->tweak); in qat_alg_skcipher_init_xts_tfm()
1270 if (ctx->tweak) in qat_alg_skcipher_exit_xts_tfm()
1271 crypto_free_cipher(ctx->tweak); in qat_alg_skcipher_exit_xts_tfm()
/openbmc/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.
/openbmc/openbmc/poky/meta/recipes-sato/webkit/
H A Dlibwpe_1.16.0.bb16 # This is a tweak of upstream-version-is-even needed because
/openbmc/u-boot/tools/
H A Dmxsboot.c23 * TWEAK this if you have blown any OCOTP fuses.
32 * TWEAK this if you have different kind of NAND chip.
46 * TWEAK this if, for some wild reason, you need to boot bigger image.
50 /* i.MX28 NAND controller-specific constants. DO NOT TWEAK! */
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ssmping/
H A Dssmping_0.9.1.bb8 file://0001-Makefile-tweak-install-dir.patch \
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-proto/
H A Dxorgproto_2024.1.bb21 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
/openbmc/openbmc/poky/meta/recipes-gnome/gobject-introspection/
H A Dgobject-introspection_1.82.0.bb58 # Tweak the native python scripts so that they don't refer to the
112 # Also tweak the target python scripts so that they don't refer to the
143 # Tweak the binary names in the introspection pkgconfig file, so that it

12345678910>>...13