Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/crypto/
H A Daesp8-ppc.pl1970 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
2038 vcipherlast $tweak,$tweak,$rndkey0
2078 vxor $inout,$inout,$tweak
2102 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()
/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/s390/kvm/
H A Dpv.c630 static int unpack_one(struct kvm *kvm, unsigned long addr, u64 tweak, in unpack_one() argument
638 .tweak[0] = tweak, in unpack_one()
639 .tweak[1] = offset, in unpack_one()
671 unsigned long tweak, u16 *rc, u16 *rrc) in kvm_s390_pv_unpack() argument
685 ret = unpack_one(kvm, addr, tweak, offset, rc, rrc); in kvm_s390_pv_unpack()
/linux/arch/s390/crypto/
H A Dpaes_s390.c596 u8 tweak[16]; in paes_xts_crypt_full() member
617 memcpy(fxts_param.tweak, walk.iv, sizeof(fxts_param.tweak)); in paes_xts_crypt_full()
649 u8 tweak[16]; in paes_xts_crypt() member
669 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in paes_xts_crypt()
H A Daes_s390.c432 u8 tweak[16]; in xts_aes_crypt() member
462 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
569 __u8 tweak[16]; in fullxts_aes_crypt() member
594 memcpy(fxts_param.tweak, req->iv, AES_BLOCK_SIZE); in fullxts_aes_crypt()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c92 struct crypto_cipher *tweak; member
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()
/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/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.c166 int tweak = 0; in nvidia_panel_tweak() local
169 tweak = par->paneltweak; in nvidia_panel_tweak()
179 tweak = -1; in nvidia_panel_tweak()
183 tweak = 1; in nvidia_panel_tweak()
187 return tweak; in nvidia_panel_tweak()
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-nanopi-duo2.dts3 * Copyright (C) 2019 Karl Palsson <karlp@tweak.net.au>
/linux/Documentation/w1/slaves/
H A Dw1_ds28e17.rst57 wait time, it should be hardly needed to tweak this setting.
/linux/drivers/staging/media/atomisp/
H A DTODO71 v4l2-ctl on the sensor subdev to tweak the exposure ctrl; or by using a GUI
/linux/arch/riscv/crypto/
H A Daes-riscv64-glue.c56 u8 tweak[AES_BLOCK_SIZE]);
61 u8 tweak[AES_BLOCK_SIZE]);
/linux/Documentation/admin-guide/sysctl/
H A Dindex.rst14 don't know they need to tweak something, or because they don't
/linux/Documentation/spi/
H A Dbutterfly.rst56 DataFlash in reset) and tweak the spi_butterfly driver to make it bind to
/linux/arch/arm64/crypto/
H A Dsm4-ce-glue.c43 u8 *tweak, unsigned int nbytes,
46 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/nios2/platform/
H A DKconfig.platform120 This option allows you to tweak the cache settings used during early
/linux/Documentation/scheduler/
H A Dsched-domains.rst78 forgot to tweak your cmdline, you can also flip the
/linux/arch/s390/include/asm/
H A Duv.h247 u64 tweak[2]; member
/linux/drivers/crypto/
H A Datmel-aes.c1649 u32 tweak[AES_BLOCK_SIZE / sizeof(u32)]; in atmel_aes_xts_process_data() local
1651 u8 *tweak_bytes = (u8 *)tweak; in atmel_aes_xts_process_data()
1655 atmel_aes_read_block(dd, AES_ODATAR(0), tweak); in atmel_aes_xts_process_data()
1666 atmel_aes_write_block(dd, AES_TWR(0), tweak); in atmel_aes_xts_process_data()

12