HomeSort by: relevance | last modified time | path
    Searched refs:tweak (Results 1 - 25 of 57) sorted by relevancy

1 2 3

  /src/crypto/external/apache2/openssl/dist/crypto/modes/
xts128gb.c 33 } tweak, scratch; local
39 memcpy(tweak.c, iv, 16);
41 (*ctx->block2)(tweak.c, tweak.c, ctx->key2);
49 scratch.u[0] ^= tweak.u[0];
50 scratch.u[1] ^= tweak.u[1];
52 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0];
53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1];
57 scratch.u[0] ^= tweak.u[0];
58 scratch.u[1] ^= tweak.u[1]
    [all...]
xts128.c 33 } tweak, scratch; local
39 memcpy(tweak.c, iv, 16);
41 (*ctx->block2)(tweak.c, tweak.c, ctx->key2);
49 scratch.u[0] ^= tweak.u[0];
50 scratch.u[1] ^= tweak.u[1];
52 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0];
53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1];
57 scratch.u[0] ^= tweak.u[0];
58 scratch.u[1] ^= tweak.u[1]
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/modes/
xts128.c 33 } tweak, scratch; local
39 memcpy(tweak.c, iv, 16);
41 (*ctx->block2) (tweak.c, tweak.c, ctx->key2);
49 scratch.u[0] ^= tweak.u[0];
50 scratch.u[1] ^= tweak.u[1];
52 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0];
53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1];
57 scratch.u[0] ^= tweak.u[0];
58 scratch.u[1] ^= tweak.u[1]
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/modes/
xts128.c 37 } tweak, scratch; local
43 memcpy(tweak.c, iv, 16);
45 (*ctx->block2) (tweak.c, tweak.c, ctx->key2);
53 scratch.u[0] ^= tweak.u[0];
54 scratch.u[1] ^= tweak.u[1];
56 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0];
57 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1];
61 scratch.u[0] ^= tweak.u[0];
62 scratch.u[1] ^= tweak.u[1]
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/sm4/asm/
vpsm4_ex-armv8.pl 1224 my @tweak=map("v$_",(16..23));
1250 ld1 {@tweak[0].4s}, [$ivp]
1254 &rev32(@tweak[0],@tweak[0]);
1255 &encrypt_1blk(@tweak[0]);
1276 &rbit(@tweak[0],@tweak[0],$std);
1277 &rev32_armeb(@tweak[0],@tweak[0]);
1278 &mov_vec_to_reg(@tweak[0],@twx[0],@twx[1])
    [all...]
vpsm4-armv8.pl 1224 my @tweak=@datax;
1249 ld1 {@tweak[0].4s}, [$ivp]
1253 &rev32(@tweak[0],@tweak[0]);
1254 &encrypt_1blk(@tweak[0]);
1275 &rbit(@tweak[0],@tweak[0],$std);
1276 &rev32_armeb(@tweak[0],@tweak[0]);
1277 &mov_vec_to_reg(@tweak[0],@twx[0],@twx[1])
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/
cipher_aes_xts.h 28 unsigned char tweak[16]; member in struct:S390X_km_xts_params_st
  /src/sys/crypto/aes/arch/arm/
aes_armv8.c 163 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
172 aesarmv8_xts_enc1(enc, in, out, nbytes % 128, tweak, nrounds);
180 aesarmv8_xts_enc8(enc, in, out, nbytes, tweak, nrounds);
187 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
196 aesarmv8_xts_dec1(dec, in, out, nbytes % 128, tweak, nrounds);
204 aesarmv8_xts_dec8(dec, in, out, nbytes, tweak, nrounds);
269 uint8_t tweak[16]; local
272 aesarmv8_xts_update(cases[i].in, tweak);
273 if (memcmp(tweak, cases[i].out, 16))
310 /* Verify that our XTS tweak update logic works. *
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/aes/asm/
aesp8-ppc.pl 1922 # If $key2 is NULL, then a "tweak chaining" mode is engaged, in which #
1923 # input tweak value is assumed to be encrypted already, and last tweak #
1925 # written back to original buffer. In addition, in "tweak chaining" #
1931 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12));
1956 lvx $tweak,0,$ivp # load [unaligned] iv
1960 vperm $tweak,$tweak,$inptail,$inpperm
1981 vxor $tweak,$tweak,$rndkey
    [all...]
aesni-x86_64.pl 1781 my @tweak=map("%xmm$_",(10..15));
1782 my ($twmask,$twres,$twtmp)=("%xmm8","%xmm9",@tweak[4]);
1815 movups ($ivp),$inout0 # load clear-text tweak
1819 # generate the tweak
1832 movdqa $inout0,@tweak[5]
1836 # alternative tweak calculation algorithm is based on suggestions
1843 movdqa @tweak[5],@tweak[$i]
1845 paddq @tweak[5],@tweak[5
    [all...]
aesni-x86.pl 1129 { my ($tweak,$twtmp,$twres,$twmask)=($rndkey1,$rndkey0,$inout0,$inout1);
1133 &mov ($inp,&wparam(5)); # clear-text tweak
1159 &movdqa ($tweak,$inout0);
1162 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1180 &movdqa (&QWP(16*$i,"esp"),$tweak);
1181 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1183 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1184 &pxor ($tweak,$twres)
    [all...]
aes-s390x.pl 1642 my $tweak=16*$SIZE_T+16; # or $stdframe-16, bottom of the frame...
1661 lmg $i2,$i3,$tweak($sp) # put aside the tweak value
1667 la %r1,$tweak-16($sp)
1672 # with the tweak in 128-bit case.
1675 stmg $i2,$i3,$tweak($sp) # "re-seat" the tweak value
1680 lrvg $s0,$tweak+0($sp) # load the last tweak
1681 lrvg $s1,$tweak+8($sp
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/aes/asm/
aesp8-ppc.pl 1922 # If $key2 is NULL, then a "tweak chaining" mode is engaged, in which #
1923 # input tweak value is assumed to be encrypted already, and last tweak #
1925 # written back to original buffer. In addition, in "tweak chaining" #
1931 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12));
1956 lvx $tweak,0,$ivp # load [unaligned] iv
1960 vperm $tweak,$tweak,$inptail,$inpperm
1981 vxor $tweak,$tweak,$rndkey
    [all...]
aesni-x86_64.pl 1781 my @tweak=map("%xmm$_",(10..15));
1782 my ($twmask,$twres,$twtmp)=("%xmm8","%xmm9",@tweak[4]);
1815 movups ($ivp),$inout0 # load clear-text tweak
1819 # generate the tweak
1832 movdqa $inout0,@tweak[5]
1836 # alternative tweak calculation algorithm is based on suggestions
1843 movdqa @tweak[5],@tweak[$i]
1845 paddq @tweak[5],@tweak[5
    [all...]
aesni-x86.pl 1129 { my ($tweak,$twtmp,$twres,$twmask)=($rndkey1,$rndkey0,$inout0,$inout1);
1133 &mov ($inp,&wparam(5)); # clear-text tweak
1159 &movdqa ($tweak,$inout0);
1162 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1180 &movdqa (&QWP(16*$i,"esp"),$tweak);
1181 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1183 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1184 &pxor ($tweak,$twres)
    [all...]
aes-s390x.pl 1639 my $tweak=16*$SIZE_T+16; # or $stdframe-16, bottom of the frame...
1658 lmg $i2,$i3,$tweak($sp) # put aside the tweak value
1664 la %r1,$tweak-16($sp)
1669 # with the tweak in 128-bit case.
1672 stmg $i2,$i3,$tweak($sp) # "re-seat" the tweak value
1677 lrvg $s0,$tweak+0($sp) # load the last tweak
1678 lrvg $s1,$tweak+8($sp
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/aes/asm/
aesp8-ppc.pl 1917 # If $key2 is NULL, then a "tweak chaining" mode is engaged, in which #
1918 # input tweak value is assumed to be encrypted already, and last tweak #
1920 # written back to original buffer. In addition, in "tweak chaining" #
1926 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,$rndkey
    [all...]
aesni-x86_64.pl 1773 my @tweak=map("%xmm$_",(10..15));
1774 my ($twmask,$twres,$twtmp)=("%xmm8","%xmm9",@tweak[4]);
1806 movups ($ivp),$inout0 # load clear-text tweak
1810 # generate the tweak
1823 movdqa $inout0,@tweak[5]
1827 # alternative tweak calculation algorithm is based on suggestions
1834 movdqa @tweak[5],@tweak[$i]
1836 paddq @tweak[5],@tweak[5
    [all...]
aesni-x86.pl 1131 { my ($tweak,$twtmp,$twres,$twmask)=($rndkey1,$rndkey0,$inout0,$inout1);
1135 &mov ($inp,&wparam(5)); # clear-text tweak
1161 &movdqa ($tweak,$inout0);
1164 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1182 &movdqa (&QWP(16*$i,"esp"),$tweak);
1183 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1185 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1186 &pxor ($tweak,$twres)
    [all...]
  /src/external/ibm-public/postfix/dist/src/util/
dict_db.c 621 int type, void *tweak, int dict_flags)
717 if ((db = dbopen(db_path, open_flags, 0644, type, tweak)) == 0)
734 if ((errno = db_open(db_path, type, db_flags, 0644, 0, tweak, &db)) != 0)
838 HASHINFO tweak; local
840 memset((void *) &tweak, 0, sizeof(tweak));
841 tweak.nelem = DICT_DB_NELM;
842 tweak.cachesize = dict_db_cache_size;
845 DB_INFO tweak; local
847 memset((void *) &tweak, 0, sizeof(tweak))
852 void *tweak; local
865 BTREEINFO tweak; local
871 DB_INFO tweak; local
877 void *tweak; local
    [all...]
  /src/sys/crypto/aes/arch/x86/
aes_sse2_4x32_impl.c 125 size_t nbytes, uint8_t tweak[static 16], uint32_t nrounds)
131 aes_sse2_4x32_xts_enc(enc, in, out, nbytes, tweak, nrounds);
138 size_t nbytes, uint8_t tweak[static 16], uint32_t nrounds)
144 aes_sse2_4x32_xts_dec(dec, in, out, nbytes, tweak, nrounds);
aes_ssse3_subr.c 173 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
181 t = loadblock(tweak);
188 storeblock(tweak, t);
193 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
201 t = loadblock(tweak);
208 storeblock(tweak, t);
  /src/sys/arch/evbppc/nintendo/dev/
hwaes.c 496 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
506 aes_bear_impl.ai_xts_enc(enc, in, out, nbytes, tweak, nrounds);
512 t[0] = le32dec(tweak + 4*0);
513 t[1] = le32dec(tweak + 4*1);
514 t[2] = le32dec(tweak + 4*2);
515 t[3] = le32dec(tweak + 4*3);
540 le32enc(tweak + 4*0, t[0]);
541 le32enc(tweak + 4*1, t[1]);
542 le32enc(tweak + 4*2, t[2]);
543 le32enc(tweak + 4*3, t[3])
    [all...]
  /src/sys/crypto/aes/
aes_bear.c 394 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
410 /* Load tweak. */
411 t0 = le32dec(tweak + 4*0);
412 t1 = le32dec(tweak + 4*1);
413 t2 = le32dec(tweak + 4*2);
414 t3 = le32dec(tweak + 4*3);
449 /* Compute the upper tweak. */
485 out: /* Store the updated tweak. */
486 le32enc(tweak + 4*0, t0);
487 le32enc(tweak + 4*1, t1)
    [all...]
aes_bear64.c 443 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
461 /* Load tweak. */
462 t0 = le32dec(tweak + 4*0);
463 t1 = le32dec(tweak + 4*1);
464 t2 = le32dec(tweak + 4*2);
465 t3 = le32dec(tweak + 4*3);
540 out: /* Store the updated tweak. */
541 le32enc(tweak + 4*0, t0);
542 le32enc(tweak + 4*1, t1);
543 le32enc(tweak + 4*2, t2)
    [all...]

Completed in 59 milliseconds

1 2 3