Searched refs:tweak1 (Results 1 – 3 of 3) sorted by relevance
/openssl/crypto/modes/ |
H A D | xts128gb.c | 127 } tweak1; in ossl_crypto_xts128gb_encrypt() local 143 tweak1.u[1] = hi >> 1; in ossl_crypto_xts128gb_encrypt() 145 tweak1.c[15] ^= 0xe1; in ossl_crypto_xts128gb_encrypt() 150 p = tweak1.c; in ossl_crypto_xts128gb_encrypt() 155 tweak1.u[0] = lo; in ossl_crypto_xts128gb_encrypt() 156 tweak1.u[1] = hi; in ossl_crypto_xts128gb_encrypt() 166 tweak1.c[0] ^= 0xe1; in ossl_crypto_xts128gb_encrypt() 170 scratch.u[0] ^= tweak1.u[0]; in ossl_crypto_xts128gb_encrypt() 171 scratch.u[1] ^= tweak1.u[1]; in ossl_crypto_xts128gb_encrypt() 177 scratch.u[0] ^= tweak1.u[0]; in ossl_crypto_xts128gb_encrypt() [all …]
|
H A D | xts128.c | 108 } tweak1; in CRYPTO_xts128_encrypt() local 115 tweak1.u[0] = (tweak.u[0] << 1) ^ res; in CRYPTO_xts128_encrypt() 116 tweak1.u[1] = (tweak.u[1] << 1) | carry; in CRYPTO_xts128_encrypt() 125 tweak1.c[i] = (u8)c; in CRYPTO_xts128_encrypt() 128 tweak1.c[0] ^= (u8)(0x87 & (0 - c)); in CRYPTO_xts128_encrypt() 132 scratch.u[0] ^= tweak1.u[0]; in CRYPTO_xts128_encrypt() 133 scratch.u[1] ^= tweak1.u[1]; in CRYPTO_xts128_encrypt() 135 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak1.u[0]; in CRYPTO_xts128_encrypt() 136 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak1.u[1]; in CRYPTO_xts128_encrypt() 139 scratch.u[0] ^= tweak1.u[0]; in CRYPTO_xts128_encrypt() [all …]
|
/openssl/crypto/aes/asm/ |
H A D | aesp8-ppc.pl | 1931 my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12)); 2316 vaddubm $tweak1,$tweak,$tweak 2319 vxor $tweak1,$tweak1,$tmp 2325 vxor $inout,$inout,$tweak1 # :-) 2343 vxor $rndkey0,$rndkey0,$tweak1
|
Completed in 15 milliseconds