/linux-6.8/drivers/crypto/vmx/ |
D | aesp8-ppc.pl | 1961 # 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 …]
|
D | aes_xts.c | 84 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-6.8/crypto/ |
D | xts.c | 26 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 …]
|
D | hctr2.c | 31 * 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()
|
D | adiantum.c | 27 * 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.
|
D | lrw.c | 74 const u8 *tweak = key + keylen - bsize; in lrw_setkey() local 89 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in lrw_setkey() 135 * We compute the tweak masks twice (both before and after the ECB encryption or
|
/linux-6.8/drivers/mtd/nand/ |
D | ecc.c | 529 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-6.8/sound/core/ |
D | pcm_iec958.c | 25 * 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-6.8/arch/powerpc/crypto/ |
D | aes-spe-regs.h | 15 #define rKT r9 /* pointer to tweak key (XTS mode) */ 34 #define rG0 r28 /* endian reversed tweak (XTS mode) */
|
/linux-6.8/Documentation/process/ |
D | clang-format.rst | 26 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-6.8/arch/s390/kvm/ |
D | pv.c | 629 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
|
/linux-6.8/drivers/crypto/intel/qat/qat_common/ |
D | qat_algs.c | 92 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()
|
/linux-6.8/Documentation/devicetree/bindings/sound/ |
D | cirrus,cs42l42.yaml | 146 For different hardware setups, a designer might want to tweak this. 184 to tweak default behavior.
|
/linux-6.8/arch/arc/plat-hsdk/ |
D | platform.c | 120 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-6.8/include/crypto/ |
D | xts.h | 29 * Ensure that the AES and tweak key are not identical when in xts_verify_key()
|
/linux-6.8/arch/arm64/crypto/ |
D | sm4-ce-core.S | 525 * 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-6.8/arch/arm/include/uapi/asm/ |
D | types.h | 16 * supplied by GCC, we can tweak these to align with the kernel's idea of those
|
/linux-6.8/drivers/net/ |
D | loopback.c | 18 * Larry McVoy : Tiny tweak to double performance 19 * Alan Cox : Backed out LMV's tweak - the linux mm
|
/linux-6.8/drivers/usb/usbip/ |
D | stub_rx.c | 179 /* tweak clear_halt */ in tweak_special_requests() 183 /* tweak set_interface */ in tweak_special_requests() 187 /* tweak set_configuration */ in tweak_special_requests() 193 usbip_dbg_stub_rx("no need to tweak\n"); in tweak_special_requests()
|
/linux-6.8/include/linux/mtd/ |
D | nand-ecc-sw-bch.h | 16 * @req_ctx: Save request context and tweak the original request to fit the
|
D | nand-ecc-sw-hamming.h | 17 * @req_ctx: Save request context and tweak the original request to fit the
|
/linux-6.8/tools/perf/tests/ |
D | openat-syscall.c | 42 "tweak /proc/sys/kernel/perf_event_paranoid?\n", in test__openat_syscall_event()
|
/linux-6.8/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,glink-rpm-edge.yaml | 63 preallocated for this virtual channel. This can be used to tweak the
|
/linux-6.8/scripts/ |
D | stackdelta | 32 # tweak, we can't really track those functions, so we just
|
/linux-6.8/tools/virtio/ |
D | Makefile | 33 #Tweak the below to enable more modules
|