Home
last modified time | relevance | path

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

12345

/external/rust/crates/quiche/deps/boringssl/src/decrepit/xts/
Dxts.c71 } tweak, scratch; in CRYPTO_xts128_encrypt() local
76 OPENSSL_memcpy(tweak.c, iv, 16); in CRYPTO_xts128_encrypt()
78 (*ctx->block2)(tweak.c, tweak.c, ctx->key2); in CRYPTO_xts128_encrypt()
84 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
85 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
87 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
88 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
98 res = 0x87 & (((int)tweak.d[3]) >> 31); in CRYPTO_xts128_encrypt()
99 carry = (unsigned int)(tweak.u[0] >> 63); in CRYPTO_xts128_encrypt()
100 tweak.u[0] = (tweak.u[0] << 1) ^ res; in CRYPTO_xts128_encrypt()
[all …]
/external/boringssl/src/decrepit/xts/
Dxts.c71 } tweak, scratch; in CRYPTO_xts128_encrypt() local
76 OPENSSL_memcpy(tweak.c, iv, 16); in CRYPTO_xts128_encrypt()
78 (*ctx->block2)(tweak.c, tweak.c, ctx->key2); in CRYPTO_xts128_encrypt()
84 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
85 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
87 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
88 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
98 res = 0x87 & (((int)tweak.d[3]) >> 31); in CRYPTO_xts128_encrypt()
99 carry = (unsigned int)(tweak.u[0] >> 63); in CRYPTO_xts128_encrypt()
100 tweak.u[0] = (tweak.u[0] << 1) ^ res; in CRYPTO_xts128_encrypt()
[all …]
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Daesp8-ppc.pl1926 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12));
1951 lvx $tweak,0,$ivp # load [unaligned] iv
1955 vperm $tweak,$tweak,$inptail,$inpperm
1976 vxor $tweak,$tweak,$rndkey0
1983 vcipher $tweak,$tweak,$rndkey1
1987 vcipher $tweak,$tweak,$rndkey0
1993 vcipher $tweak,$tweak,$rndkey1
1996 vcipherlast $tweak,$tweak,$rndkey0
2036 vxor $inout,$inout,$tweak
2060 vxor $rndkey0,$rndkey0,$tweak
[all …]
Daesni-x86_64.pl1770 my @tweak=map("%xmm$_",(10..15));
1771 my ($twmask,$twres,$twtmp)=("%xmm8","%xmm9",@tweak[4]);
1820 movdqa $inout0,@tweak[5]
1831 movdqa @tweak[5],@tweak[$i]
1833 paddq @tweak[5],@tweak[5]
1835 pxor $rndkey0,@tweak[$i]
1836 pxor $twtmp,@tweak[5]
1840 movdqa @tweak[5],@tweak[4]
1842 paddq @tweak[5],@tweak[5]
1844 pxor $rndkey0,@tweak[4]
[all …]
Daesni-x86.pl1133 { my ($tweak,$twtmp,$twres,$twmask)=($rndkey1,$rndkey0,$inout0,$inout1);
1163 &movdqa ($tweak,$inout0);
1166 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1184 &movdqa (&QWP(16*$i,"esp"),$tweak);
1185 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1187 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1188 &pxor ($tweak,$twres);
1191 &movdqa (&QWP(16*$i++,"esp"),$tweak);
1192 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1196 &pxor ($inout5,$tweak);
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_driinfo.h.in2 // To add a new tweak:
3 // 1. Define the tweak in util/driconf.h and also add
4 // the tweak name as define to virgl_protocol.h
5 // 2. Add the tweak here with the appropriated default value
6 // 3. Add the code to query the tweak in virgl_create_screen
8 // 5. Implement the tweak in virglrenderer
/external/llvm-project/lld/test/ELF/
Dprint-archive-stats.s4 # RUN: echo '.globl weak; weak:' | llvm-mc -filetype=obj -triple=x86_64 - -o %tweak.o
8 # RUN: rm -f %tweak.a && llvm-ar rc %tweak.a %tweak.o
11 # RUN: ld.lld %t.o %tweak.a %t1.a --print-archive-stats=%t.txt -o /dev/null
14 ## Fetches 0 member from %tweak.a and 2 members from %t1.a
20 # RUN: ld.lld %t.o %tweak.a %t1.a --print-archive-stats=- -o /dev/null | diff %t.txt -
23 # RUN: ld.lld %t.o %tweak.a %t1.a %t1.a --print-archive-stats=- -o /dev/null | \
Dwarn-backrefs.s66 # RUN: echo '.weak foo; foo:' | llvm-mc -filetype=obj -triple=x86_64 - -o %tweak.o
67 # RUN: ld.lld --fatal-warnings --warn-backrefs --start-lib %tweak.o --end-lib %t1.o %t2.o -o /dev/n…
/external/virglrenderer/src/
Dvrend_tweaks.c135 char *tweak = strtok_r(tweak_descr_copy, ":", &saveptr); in vrend_set_tweak_from_env() local
136 while (tweak) { in vrend_set_tweak_from_env()
140 if (!strcmp(tweak, tweak_table[i].name)) { in vrend_set_tweak_from_env()
141 VREND_DEBUG(dbg_tweak, NULL, "Apply tweak %s=%s\n", tweak, tweak_param); in vrend_set_tweak_from_env()
145 tweak = strtok_r(NULL, ":", &saveptr); in vrend_set_tweak_from_env()
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
Dxts.go99 var tweak [16]byte
105 if len(t) != len(tweak) {
108 copy(tweak[:], t)
113 binary.LittleEndian.PutUint64(tweak[:8], *test.SectorNum)
129 result, err := m.Transact(funcName, 1, key, msg, tweak[:])
/external/python/cryptography/src/cryptography/hazmat/primitives/ciphers/
Dmodes.py42 def tweak(self): member in ModeWithTweak
103 def __init__(self, tweak): argument
104 utils._check_byteslike("tweak", tweak)
106 if len(tweak) != 16:
109 self._tweak = tweak
111 tweak = utils.read_only_property("_tweak") variable in XTS
/external/boringssl/src/util/fipstools/acvp/acvptool/testmodulewrapper/
Dtestmodulewrapper.go161 tweak := args[2]
166 if len(tweak) != 16 {
167 return fmt.Errorf("XTS received %d-byte tweak, wanted 16", len(tweak))
171 if !bytes.Equal(tweak[8:], zeros[:]) {
175 sectorNum := binary.LittleEndian.Uint64(tweak[:8])
/external/llvm-project/clang-tools-extra/clangd/test/
Dcheck.test10 // CHECK-DAG: tweak: ExpandAuto
12 // CHECK-DAG: tweak: AddUsing
Dcheck-fail.test10 // CHECK: tweak: ExpandAutoType ==> FAIL
/external/crcalc/src/com/hp/creals/
DUnaryCRFunction.java487 BigInteger tweak = big2; in approximate() local
532 BigInteger new_guess = guess.add(tweak); in approximate()
534 guess = guess.subtract(tweak); in approximate()
541 tweak = tweak.negate(); in approximate()
/external/llvm/docs/
DPackaging.rst14 etc.) will tweak them. This document lists settings we suggest you tweak.
/external/llvm-project/llvm/docs/
DPackaging.rst14 etc.) will tweak them. This document lists settings we suggest you tweak.
/external/rust/crates/rand_xorshift/
DCHANGELOG.md21 - Reorganise code and tests; tweak doc
/external/openssh/
D.skipped-commit-ids44 b92c93266d8234d493857bb822260dacf4366157 moduli-gen.sh tweak
/external/skia/tools/fm/
Dfm.cpp139 std::function<void(GrContextOptions*)> tweak = [](GrContextOptions*){}; in __anond7de82150202() member
144 source->tweak = [gm](GrContextOptions* options) { gm->modifyGrContextOptions(options); }; in init()
585 source.tweak(&options); in main()
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Ddebuginfo-split-int.ll23 ; This file is a slight tweak of that output, with irrelevant
/external/llvm-project/llvm/test/FileCheck/
Dlit.local.cfg51 # FILECHECK_OPTS=-dump-input=fail) to tweak the output of FileCheck while
/external/python/cryptography/docs/hazmat/primitives/
Dsymmetric-encryption.rst493 .. class:: XTS(tweak)
514 :param tweak: The tweak is a 16 byte value typically derived from
515 something like the disk sector number. A given ``(tweak, key)`` pair
518 :type tweak: :term:`bytes-like`
803 A cipher mode with a tweak.
805 .. attribute:: tweak
809 Exact requirements of the tweak are described by the documentation of
/external/fmtlib/doc/bootstrap/mixins/
Dforms.less49 // this to tweak colors on an as-needed basis. This aesthetic change is based on
/external/python/cryptography/tests/hazmat/primitives/
Dtest_aes.py41 tweak = binascii.unhexlify(vector["i"])
44 cipher = base.Cipher(algorithms.AES(key), modes.XTS(tweak), backend)

12345