Home
last modified time | relevance | path

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

123

/freebsd-13.1/crypto/openssl/crypto/modes/
H A Dxts128.c37 } tweak, scratch; in CRYPTO_xts128_encrypt() local
43 memcpy(tweak.c, iv, 16); in CRYPTO_xts128_encrypt()
45 (*ctx->block2) (tweak.c, tweak.c, ctx->key2); in CRYPTO_xts128_encrypt()
53 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
54 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
61 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
62 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
80 tweak.u[0] = (tweak.u[0] << 1) ^ res; in CRYPTO_xts128_encrypt()
81 tweak.u[1] = (tweak.u[1] << 1) | carry; in CRYPTO_xts128_encrypt()
90 tweak.c[i] = (u8)c; in CRYPTO_xts128_encrypt()
[all …]
/freebsd-13.1/crypto/openssl/crypto/aes/asm/
H A Daesni-x86_64.pl1943 pxor @tweak[5],@tweak[0]
1959 pxor @tweak[5],@tweak[1]
1976 pxor @tweak[5],@tweak[2]
1991 pxor @tweak[5],@tweak[3]
2004 pxor @tweak[5],@tweak[4]
2429 pxor @tweak[5],@tweak[0]
2445 pxor @tweak[5],@tweak[1]
2462 pxor @tweak[5],@tweak[2]
2477 pxor @tweak[5],@tweak[3]
2490 pxor @tweak[5],@tweak[4]
[all …]
H A Daesp8-ppc.pl2085 vaddubm $tweak,$tweak,$tweak
2126 vaddubm $tweak,$tweak,$tweak
2293 vaddubm $tweak,$tweak,$tweak
2382 vaddubm $tweak,$tweak,$tweak
2505 vaddubm $tweak,$tweak,$tweak
2514 vaddubm $tweak,$tweak,$tweak
2525 vaddubm $tweak,$tweak,$tweak
2536 vaddubm $tweak,$tweak,$tweak
2547 vaddubm $tweak,$tweak,$tweak
2558 vaddubm $tweak,$tweak,$tweak
[all …]
H A Daes-s390x.pl1834 la $s2,$tweak($sp)
1930 x $s1,$tweak+4($sp)
1931 x $s2,$tweak+8($sp)
1932 x $s3,$tweak+12($sp)
2037 la $s2,$tweak($sp)
2172 x $s1,$tweak+4($sp)
2173 x $s2,$tweak+8($sp)
2174 x $s3,$tweak+12($sp)
2259 x $s1,$tweak+4($sp)
2260 x $s2,$tweak+8($sp)
[all …]
H A Daesni-x86.pl1184 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1242 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1264 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1273 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1283 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1430 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1539 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1597 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1619 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1628 &paddq ($tweak,$tweak); # &psllq($tweak,1);
[all …]
/freebsd-13.1/sys/opencrypto/
H A Dxform_aes_xts.c97 ctx->tweak[i] = blocknum & 0xff; in aes_xts_reinit()
101 bzero(ctx->tweak + AES_XTS_IVSIZE, AES_XTS_IVSIZE); in aes_xts_reinit()
103 rijndael_encrypt(&ctx->key2, ctx->tweak, ctx->tweak); in aes_xts_reinit()
114 block[i] = in[i] ^ ctx->tweak[i]; in aes_xts_crypt()
122 out[i] ^= ctx->tweak[i]; in aes_xts_crypt()
127 carry_out = ctx->tweak[i] & 0x80; in aes_xts_crypt()
128 ctx->tweak[i] = (ctx->tweak[i] << 1) | (carry_in ? 1 : 0); in aes_xts_crypt()
132 ctx->tweak[0] ^= AES_XTS_ALPHA; in aes_xts_crypt()
H A Dxform_enc.h97 uint8_t tweak[AES_XTS_BLOCKSIZE]; member
/freebsd-13.1/lib/libsecureboot/
H A Dverify_file.c273 char *tweak, int *accept_no_fp, in verify_tweak() argument
276 if (strcmp(tweak, "off") == 0) { in verify_tweak()
278 } else if (strcmp(tweak, "strict") == 0) { in verify_tweak()
286 } else if (strcmp(tweak, "modules") == 0) { in verify_tweak()
289 } else if (strcmp(tweak, "try") == 0) { in verify_tweak()
292 } else if (strcmp(tweak, "verbose") == 0) { in verify_tweak()
294 } else if (strcmp(tweak, "quiet") == 0) { in verify_tweak()
296 } else if (strncmp(tweak, "trust", 5) == 0) { in verify_tweak()
306 if (strstr(tweak, "revoke")) { in verify_tweak()
/freebsd-13.1/sys/crypto/aesni/
H A Daesni_wrap.c316 aesni_crypt_xts_block(int rounds, const __m128i *key_schedule, __m128i *tweak, in aesni_crypt_xts_block() argument
321 block = _mm_loadu_si128((const __m128i *)from) ^ *tweak; in aesni_crypt_xts_block()
328 _mm_storeu_si128((__m128i *)to, block ^ *tweak); in aesni_crypt_xts_block()
330 *tweak = xts_crank_lfsr(*tweak); in aesni_crypt_xts_block()
334 aesni_crypt_xts_block8(int rounds, const __m128i *key_schedule, __m128i *tweak, in aesni_crypt_xts_block8() argument
344 tmptweak = *tweak; in aesni_crypt_xts_block8()
366 *tweak = tmptweak; in aesni_crypt_xts_block8()
392 uint8_t tweak[AES_XTS_BLOCKSIZE] __aligned(16); in aesni_crypt_xts() local
400 bcopy(iv, tweak, AES_XTS_IVSIZE); in aesni_crypt_xts()
402 bzero(tweak + AES_XTS_IVSIZE, AES_XTS_IVSIZE); in aesni_crypt_xts()
[all …]
/freebsd-13.1/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c165 uint8x16_t *tweak, const uint8_t *from, uint8_t *to, int do_encrypt) in armv8_aes_crypt_xts_block() argument
169 block = vld1q_u8(from) ^ *tweak; in armv8_aes_crypt_xts_block()
176 vst1q_u8(to, block ^ *tweak); in armv8_aes_crypt_xts_block()
178 *tweak = vreinterpretq_u8_s32(xts_crank_lfsr(vreinterpretq_s32_u8(*tweak))); in armv8_aes_crypt_xts_block()
187 uint8_t tweak[AES_XTS_BLOCKSIZE] __aligned(16); in armv8_aes_crypt_xts() local
195 bcopy(iv, tweak, AES_XTS_IVSIZE); in armv8_aes_crypt_xts()
197 bzero(tweak + AES_XTS_IVSIZE, AES_XTS_IVSIZE); in armv8_aes_crypt_xts()
201 tweakreg = vld1q_u8(tweak); in armv8_aes_crypt_xts()
/freebsd-13.1/sys/crypto/openssl/arm/
H A Dbsaes-armv7.S1588 ldr r0, [ip] @ pointer to input tweak
1590 @ generate initial tweak
1604 sub r12, #48 @ place for tweak[9]
1628 sub sp, #0x90 @ place for tweak[9]
1631 vld1.8 {q8}, [r0] @ initial tweak
1995 vmov q8, q9 @ next round tweak
2070 @ generate initial tweak
2084 sub r12, #48 @ place for tweak[9]
2114 sub sp, #0x90 @ place for tweak[9]
2116 vld1.8 {q8}, [r0] @ initial tweak
[all …]
/freebsd-13.1/sys/crypto/skein/amd64/
H A Dskein_block_asm.S95 TWEAK = 8 + BCNT #tweak values[0..1]
278 StackVar ksTwk ,8*3 #key schedule: tweak words
297 StackVar bitAdd ,8 #bit count to add to tweak
/freebsd-13.1/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dti-da8xx-ddrctl.txt4 a set of registers which allow to tweak the controller's behavior.
/freebsd-13.1/crypto/openssh/
H A D.skipped-commit-ids48 b92c93266d8234d493857bb822260dacf4366157 moduli-gen.sh tweak
/freebsd-13.1/contrib/googletest/googlemock/
H A DREADME.md216 If you see errors, try to tweak the contents of
240 some environments. However, you can easily tweak Google Mock by
289 Please see [Google Test's README][gtest_readme] for how to tweak them.
308 may need to tweak your compiler and/or linker flags. Please see the
/freebsd-13.1/sys/contrib/device-tree/src/arm/
H A Dsun8i-h3-nanopi-duo2.dts3 * Copyright (C) 2019 Karl Palsson <karlp@tweak.net.au>
H A Darmada-xp-lenovo-ix4-300d.dts228 * them up does the tweak) for poweroff to shutdown otherwise it
/freebsd-13.1/sys/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,glink.txt57 to tweak the default intents available for the channel to
/freebsd-13.1/sys/contrib/device-tree/Bindings/sound/
H A Dcs42l42.txt76 hardware setups, a designer might want to tweak this. This is an array of
/freebsd-13.1/contrib/gdtoa/
H A Dchanges30 dtoa.c: tweak strtod (one-line addition) so the end-pointer = start
54 dtoa.c: tweak to work with 32-bit ints and 64-bit longs
182 dtoa.c: tweak to remove LL suffixes from numeric constants (for
204 dtoa.c: computationally invisible tweak for the benefit of people
233 One more tweak to omit a warning on some systems:
248 dtoa.c: tweak to bypass a bug with HUGE_VAL on HP systems.
536 dtoa.c: tweak to banish some compiler warnings.
/freebsd-13.1/crypto/openssl/doc/man3/
H A DEVP_aes.pod168 the XTS "tweak" value.
/freebsd-13.1/tools/tools/sysbuild/
H A DREADME136 # Shell functions to tweak things
/freebsd-13.1/contrib/sendmail/libsm/
H A DREADME44 If you are porting sendmail to a new platform, you may need to tweak
/freebsd-13.1/contrib/googletest/googletest/
H A DREADME.md47 If you see errors, try to tweak the contents of `make/Makefile` to make them go
237 you can easily tweak Google Test by defining control macros on the compiler
/freebsd-13.1/contrib/googletest/googletest/cmake/
H A Dinternal_utils.cmake51 # Google Mock. You can tweak these definitions to suit your need. A

123