Home
last modified time | relevance | path

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

12

/linux/lib/crypto/powerpc/
H A Daesp8-ppc.pl1971 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12));
1994 lvx $tweak,0,$ivp # load [unaligned] iv
1998 vperm $tweak,$tweak,$inptail,$inpperm
2019 vxor $tweak,$tweak,$rndkey0
2026 vcipher $tweak,$tweak,$rndkey1
2030 vcipher $tweak,$tweak,$rndkey0
2036 vcipher $tweak,$tweak,$rndkey1
2039 vcipherlast $tweak,$tweak,$rndkey0
2079 vxor $inout,$inout,$tweak
2103 vxor $rndkey0,$rndkey0,$tweak
[all …]
/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 …]
/linux/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_spawn_cipher(&ictx->tweak_spawn); in xts_init_tfm()
310 if (IS_ERR(tweak)) { in xts_init_tfm()
[all …]
H A Dlrw.c74 const u8 *tweak = key + keylen - bsize; in lrw_setkey() local
89 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in lrw_setkey()
/linux/arch/powerpc/crypto/
H A Daes_xts.c88 u8 tweak[AES_BLOCK_SIZE]; in p8_aes_xts_crypt() local
111 aes_p8_encrypt(walk.iv, tweak, &ctx->tweak_key); in p8_aes_xts_crypt()
125 &ctx->enc_key, NULL, tweak); in p8_aes_xts_crypt()
130 &ctx->dec_key, NULL, tweak); in p8_aes_xts_crypt()
/linux/arch/s390/kvm/
H A Dpv.c768 static int unpack_one(struct kvm *kvm, unsigned long addr, u64 tweak, in unpack_one() argument
776 .tweak[0] = tweak, in unpack_one()
777 .tweak[1] = offset, in unpack_one()
797 unsigned long tweak, u16 *rc, u16 *rrc) in kvm_s390_pv_unpack() argument
811 ret = unpack_one(kvm, addr, tweak, offset, rc, rrc); in kvm_s390_pv_unpack()
/linux/arch/x86/crypto/
H A Daes-xts-avx-x86_64.S588 .macro _aes_crypt enc, xmm_suffix, tweak, data, tmp
589 _xor3 KEY0\xmm_suffix, \tweak, \data
603 vpxord KEY14\xmm_suffix, \tweak, \tmp
606 vpxor 7*16(KEY), \tweak, \tmp
609 vpxor \tweak, \tmp, \tmp
H A Daesni-intel_glue.c382 u8 tweak[AES_BLOCK_SIZE]);
491 u8 tweak[AES_BLOCK_SIZE]) in aesni_xts_encrypt()
493 aesni_xts_enc(key, dst, src, len, tweak); in aesni_xts_encrypt()
498 u8 tweak[AES_BLOCK_SIZE]) in aesni_xts_decrypt()
500 aesni_xts_dec(key, dst, src, len, tweak); in aesni_xts_decrypt()
698 u8 *dst, int len, u8 tweak[AES_BLOCK_SIZE]); \
701 u8 *dst, int len, u8 tweak[AES_BLOCK_SIZE]); \
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c84 struct crypto_cipher *tweak; member
918 ret = crypto_cipher_setkey(ctx->tweak, key + (keylen / 2), in qat_alg_skcipher_xts_setkey()
934 crypto_cipher_encrypt_one(ctx->tweak, in qat_alg_set_req_iv()
1147 ctx->tweak = crypto_alloc_cipher("aes", 0, 0); in qat_alg_skcipher_init_xts_tfm()
1148 if (IS_ERR(ctx->tweak)) { in qat_alg_skcipher_init_xts_tfm()
1150 return PTR_ERR(ctx->tweak); in qat_alg_skcipher_init_xts_tfm()
1195 if (ctx->tweak) in qat_alg_skcipher_exit_xts_tfm()
1196 crypto_free_cipher(ctx->tweak); in qat_alg_skcipher_exit_xts_tfm()
/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/crypto/
H A Daes_s390.c325 u8 tweak[16]; in xts_aes_crypt() member
355 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
462 __u8 tweak[16]; in fullxts_aes_crypt() member
487 memcpy(fxts_param.tweak, req->iv, AES_BLOCK_SIZE); in fullxts_aes_crypt()
H A Dpaes_s390.c1178 u8 tweak[16]; member
1190 u8 tweak[16]; member
1298 memcpy(param->tweak, walk->iv, sizeof(param->tweak)); in xts_paes_do_crypt_fullkey()
1348 memcpy(pcc_param.tweak, walk->iv, sizeof(pcc_param.tweak)); in __xts_2keys_prep_param()
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c243 int acpf, tweak = 0; in tvaudio_setmode() local
251 tweak = audio_clock_tweak; in tvaudio_setmode()
258 acpf, tweak); in tvaudio_setmode()
260 acpf += tweak; in tvaudio_setmode()
/linux/drivers/video/fbdev/nvidia/
H A Dnvidia.c167 int tweak = 0; in nvidia_panel_tweak() local
170 tweak = par->paneltweak; in nvidia_panel_tweak()
180 tweak = -1; in nvidia_panel_tweak()
184 tweak = 1; in nvidia_panel_tweak()
188 return tweak; in nvidia_panel_tweak()
/linux/arch/riscv/crypto/
H A Daes-riscv64-glue.c47 u8 tweak[AES_BLOCK_SIZE]);
52 u8 tweak[AES_BLOCK_SIZE]);
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-nanopi-duo2.dts3 * Copyright (C) 2019 Karl Palsson <karlp@tweak.net.au>
/linux/drivers/staging/media/atomisp/
H A DTODO69 v4l2-ctl on the sensor subdev to tweak the exposure ctrl; or by using a GUI
/linux/Documentation/w1/slaves/
H A Dw1_ds28e17.rst57 wait time, it should be hardly needed to tweak this setting.
/linux/Documentation/spi/
H A Dbutterfly.rst56 DataFlash in reset) and tweak the spi_butterfly driver to make it bind to
/linux/Documentation/admin-guide/sysctl/
H A Dindex.rst14 don't know they need to tweak something, or because they don't
/linux/arch/arm64/crypto/
H A Dsm4-ce-glue.c42 u8 *tweak, unsigned int nbytes,
45 u8 *tweak, unsigned int nbytes,
/linux/Documentation/userspace-api/media/drivers/
H A Dimx-uapi.rst56 The ipuX_csiY subdev includes custom controls to tweak some dials for
/linux/arch/arm/boot/dts/marvell/
H A Darmada-xp-lenovo-ix4-300d.dts228 * them up does the tweak) for poweroff to shutdown otherwise it
/linux/arch/s390/include/uapi/asm/
H A Dkvm.h228 __u64 tweak; member
/linux/arch/nios2/platform/
H A DKconfig.platform121 This option allows you to tweak the cache settings used during early

12