Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/skein/
Dthreefish_api.c6 u64 *key_data, u64 *tweak) in threefish_set_key() argument
12 key_ctx->tweak[0] = tweak[0]; in threefish_set_key()
13 key_ctx->tweak[1] = tweak[1]; in threefish_set_key()
14 key_ctx->tweak[2] = tweak[0] ^ tweak[1]; in threefish_set_key()
Dskein_base.h66 u64 tweak[SKEIN_MODIFIER_WORDS]; /* tweak[0]=byte cnt, tweak[1]=flags */ member
237 #define skein_get_tweak(ctx_ptr, TWK_NUM) ((ctx_ptr)->h.tweak[TWK_NUM])
239 (ctx_ptr)->h.tweak[TWK_NUM] = (t_val); \
268 (hdr).tweak[1] &= ~SKEIN_T1_FLAG_FIRST; \
271 (hdr).tweak[1] |= SKEIN_T1_FLAG_BIT_PAD; \
275 (hdr).tweak[1] |= SKEIN_T1_TREE_LEVEL(height); \
Dskein_block.c38 ctx->h.tweak[0] = ts[0]; \
39 ctx->h.tweak[1] = ts[1]; \
370 ts[0] = ctx->h.tweak[0]; in skein_256_process_block()
371 ts[1] = ctx->h.tweak[1]; in skein_256_process_block()
456 ctx->h.tweak[0] = ts[0]; in skein_256_process_block()
457 ctx->h.tweak[1] = ts[1]; in skein_256_process_block()
503 ts[0] = ctx->h.tweak[0]; in skein_512_process_block()
504 ts[1] = ctx->h.tweak[1]; in skein_512_process_block()
605 ctx->h.tweak[0] = ts[0]; in skein_512_process_block()
606 ctx->h.tweak[1] = ts[1]; in skein_512_process_block()
[all …]
Dthreefish_api.h56 u64 tweak[3]; member
77 u64 *key_data, u64 *tweak);
Dskein_base.c204 ctx->h.tweak[1] |= SKEIN_T1_FLAG_FINAL; in skein_256_final()
431 ctx->h.tweak[1] |= SKEIN_T1_FLAG_FINAL; in skein_512_final()
653 ctx->h.tweak[1] |= SKEIN_T1_FLAG_FINAL; in skein_1024_final()
701 ctx->h.tweak[1] |= SKEIN_T1_FLAG_FINAL; in skein_256_final_pad()
723 ctx->h.tweak[1] |= SKEIN_T1_FLAG_FINAL; in skein_512_final_pad()
745 ctx->h.tweak[1] |= SKEIN_T1_FLAG_FINAL; in skein_1024_final_pad()
Dthreefish_block.c11 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_encrypt_256()
12 t2 = key_ctx->tweak[2]; in threefish_encrypt_256()
504 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_decrypt_256()
505 t2 = key_ctx->tweak[2]; in threefish_decrypt_256()
1151 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_encrypt_512()
1152 t2 = key_ctx->tweak[2]; in threefish_encrypt_512()
2112 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_decrypt_512()
2113 t2 = key_ctx->tweak[2]; in threefish_decrypt_512()
3381 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_encrypt_1024()
3382 t2 = key_ctx->tweak[2]; in threefish_encrypt_1024()
[all …]
/linux-4.4.14/crypto/
Dxts.c30 struct crypto_cipher *tweak; member
37 struct crypto_cipher *child = ctx->tweak; in setkey()
119 tw(crypto_cipher_tfm(ctx->tweak), w->iv, w->iv); in crypt()
154 return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, in encrypt()
165 return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, in decrypt()
275 ctx->tweak = cipher; in init_tfm()
284 crypto_free_cipher(ctx->tweak); in exit_tfm()
Dlrw.c48 int lrw_init_table(struct lrw_table_ctx *ctx, const u8 *tweak) in lrw_init_table() argument
57 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in lrw_init_table()
85 const u8 *tweak = key + keylen - bsize; in setkey() local
96 return lrw_init_table(&ctx->table, tweak); in setkey()
/linux-4.4.14/arch/arm/crypto/
Daesbs-core.S_shipped1559 ldr r0, [ip] @ pointer to input tweak
1561 @ generate initial tweak
1566 mov r0,sp @ pointer to initial tweak
1575 sub r12, #48 @ place for tweak[9]
1599 0: sub sp, #0x90 @ place for tweak[9]
1602 vld1.8 {q8}, [r0] @ initial tweak
1672 vst1.64 {q8}, [r0,:128] @ next round tweak
1705 vld1.64 {q8}, [r0,:128] @ next round tweak
1784 vst1.64 {q15}, [r0,:128] @ next round tweak
1815 vld1.64 {q8}, [r0,:128] @ next round tweak
[all …]
Daesbs-glue.c37 struct BS_KEY *key, u8 tweak[]);
40 struct BS_KEY *key, u8 tweak[]);
/linux-4.4.14/include/crypto/
Dlrw.h27 int lrw_init_table(struct lrw_table_ctx *ctx, const u8 *tweak);
/linux-4.4.14/Documentation/wimax/
DREADME.wimax39 files will appear in /sys/kernel/debug/wimax:wmxX can tweak for
47 The drivers will register debugfs entries that allow the user to tweak
DREADME.i2400m151 The driver will register debugfs entries that allow the user to tweak
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c255 int acpf, tweak = 0; in tvaudio_setmode() local
263 tweak = audio_clock_tweak; in tvaudio_setmode()
270 acpf, tweak); in tvaudio_setmode()
272 acpf += tweak; in tvaudio_setmode()
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c169 int tweak = 0; in nvidia_panel_tweak() local
172 tweak = par->paneltweak; in nvidia_panel_tweak()
182 tweak = -1; in nvidia_panel_tweak()
186 tweak = 1; in nvidia_panel_tweak()
191 return tweak; in nvidia_panel_tweak()
/linux-4.4.14/Documentation/sysctl/
DREADME9 don't know they need to tweak something, or because they don't
/linux-4.4.14/arch/s390/crypto/
Daes_s390.c53 u8 tweak[16]; member
638 memcpy(pcc_param.tweak, walk->iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
/linux-4.4.14/Documentation/spi/
Dbutterfly51 DataFlash in reset) and tweak the spi_butterfly driver to make it bind to
/linux-4.4.14/arch/nios2/platform/
DKconfig.platform101 This option allows you to tweak the cache settings used during early
/linux-4.4.14/arch/arm/boot/dts/
Darmada-xp-lenovo-ix4-300d.dts287 * them up does the tweak) for poweroff to shutdown otherwise it
/linux-4.4.14/Documentation/device-mapper/
Dcache-policies.txt70 tunables allow you to tweak the promotion threshold by adding a small
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-devices-system-cpu139 There are many knobs to tweak in this directory.
/linux-4.4.14/drivers/usb/gadget/legacy/
DKconfig36 to tweak product and vendor IDs before host software knows about
/linux-4.4.14/Documentation/vm/
Dtranshuge.txt55 to avoid unmovable pages to fragment all the memory but such a tweak
/linux-4.4.14/Documentation/kbuild/
Dmakefiles.txt34 --- 6.1 Set variables to tweak the build to the architecture
836 --- 6.1 Set variables to tweak the build to the architecture
/linux-4.4.14/Documentation/
Dkprobes.txt271 tweak the kernel's execution path, you need to suppress optimization,