Lines Matching +full:sub +full:- +full:blocks
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * ChaCha 256-bit cipher algorithm, x64 AVX-512VL functions
29 # %rsi: up to 2 data blocks output, o
30 # %rdx: up to 2 data blocks input, i
34 # This function encrypts two ChaCha blocks by loading the state
41 # x0..3[0-2] = s0..3
110 sub $2,%r8d
181 sub $1,%rax
194 # %rsi: up to 4 data blocks output, o
195 # %rdx: up to 4 data blocks input, i
199 # This function encrypts four ChaCha blocks by loading the state
204 # arithmetic on two matrix-pairs without much slowdown.
208 # x0..3[0-4] = s0..3
322 sub $2,%r8d
447 sub $1,%rax
460 # %rsi: up to 8 data blocks output, o
461 # %rdx: up to 8 data blocks input, i
465 # This function encrypts eight consecutive ChaCha blocks by loading
472 # x0..15[0-7] = s[0..15]
490 # x12 += counter values 0-3
647 sub $2,%r8d
650 # x0..15[0-3] += s[0..15]
668 # interleave 32-bit words in state n, n+1
686 # interleave 64-bit words in state n, n+2
704 # interleave 128-bit words in state n, n+4
705 # xor/write first four blocks
764 # xor remaining blocks, write to output
827 sub $1,%rax