Home
last modified time | relevance | path

Searched refs:QUARTERROUND (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/hchacha20/
H A Dcore_hchacha20.c8 #define QUARTERROUND(A, B, C, D) \ macro
49 QUARTERROUND(x0, x4, x8, x12); in crypto_core_hchacha20()
50 QUARTERROUND(x1, x5, x9, x13); in crypto_core_hchacha20()
51 QUARTERROUND(x2, x6, x10, x14); in crypto_core_hchacha20()
52 QUARTERROUND(x3, x7, x11, x15); in crypto_core_hchacha20()
53 QUARTERROUND(x0, x5, x10, x15); in crypto_core_hchacha20()
54 QUARTERROUND(x1, x6, x11, x12); in crypto_core_hchacha20()
55 QUARTERROUND(x2, x7, x8, x13); in crypto_core_hchacha20()
56 QUARTERROUND(x3, x4, x9, x14); in crypto_core_hchacha20()
/freebsd/crypto/openssl/crypto/chacha/
H A Dchacha_enc.c35 # define QUARTERROUND(a,b,c,d) ( \ macro
52 QUARTERROUND(0, 4, 8, 12); in chacha20_core()
53 QUARTERROUND(1, 5, 9, 13); in chacha20_core()
54 QUARTERROUND(2, 6, 10, 14); in chacha20_core()
55 QUARTERROUND(3, 7, 11, 15); in chacha20_core()
56 QUARTERROUND(0, 5, 10, 15); in chacha20_core()
57 QUARTERROUND(1, 6, 11, 12); in chacha20_core()
58 QUARTERROUND(2, 7, 8, 13); in chacha20_core()
59 QUARTERROUND(3, 4, 9, 14); in chacha20_core()
/freebsd/contrib/unbound/compat/
H A Dchacha_private.h45 #define QUARTERROUND(a,b,c,d) \ macro
140 QUARTERROUND( x0, x4, x8,x12) in chacha_encrypt_bytes()
141 QUARTERROUND( x1, x5, x9,x13) in chacha_encrypt_bytes()
142 QUARTERROUND( x2, x6,x10,x14) in chacha_encrypt_bytes()
143 QUARTERROUND( x3, x7,x11,x15) in chacha_encrypt_bytes()
144 QUARTERROUND( x0, x5,x10,x15) in chacha_encrypt_bytes()
145 QUARTERROUND( x1, x6,x11,x12) in chacha_encrypt_bytes()
146 QUARTERROUND( x2, x7, x8,x13) in chacha_encrypt_bytes()
147 QUARTERROUND( x3, x4, x9,x14) in chacha_encrypt_bytes()
/freebsd/crypto/openssh/openbsd-compat/
H A Dchacha_private.h47 #define QUARTERROUND(a,b,c,d) \ macro
142 QUARTERROUND( x0, x4, x8,x12) in chacha_encrypt_bytes()
143 QUARTERROUND( x1, x5, x9,x13) in chacha_encrypt_bytes()
144 QUARTERROUND( x2, x6,x10,x14) in chacha_encrypt_bytes()
145 QUARTERROUND( x3, x7,x11,x15) in chacha_encrypt_bytes()
146 QUARTERROUND( x0, x5,x10,x15) in chacha_encrypt_bytes()
147 QUARTERROUND( x1, x6,x11,x12) in chacha_encrypt_bytes()
148 QUARTERROUND( x2, x7, x8,x13) in chacha_encrypt_bytes()
149 QUARTERROUND( x3, x4, x9,x14) in chacha_encrypt_bytes()
/freebsd/crypto/openssh/
H A Dchacha.c45 #define QUARTERROUND(a,b,c,d) \ macro
140 QUARTERROUND( x0, x4, x8,x12) in chacha_encrypt_bytes()
141 QUARTERROUND( x1, x5, x9,x13) in chacha_encrypt_bytes()
142 QUARTERROUND( x2, x6,x10,x14) in chacha_encrypt_bytes()
143 QUARTERROUND( x3, x7,x11,x15) in chacha_encrypt_bytes()
144 QUARTERROUND( x0, x5,x10,x15) in chacha_encrypt_bytes()
145 QUARTERROUND( x1, x6,x11,x12) in chacha_encrypt_bytes()
146 QUARTERROUND( x2, x7, x8,x13) in chacha_encrypt_bytes()
147 QUARTERROUND( x3, x4, x9,x14) in chacha_encrypt_bytes()
/freebsd/sys/crypto/chacha20/
H A Dchacha.c47 #define QUARTERROUND(a,b,c,d) \ macro
164 QUARTERROUND( x0, x4, x8,x12) in chacha_encrypt_bytes()
165 QUARTERROUND( x1, x5, x9,x13) in chacha_encrypt_bytes()
166 QUARTERROUND( x2, x6,x10,x14) in chacha_encrypt_bytes()
167 QUARTERROUND( x3, x7,x11,x15) in chacha_encrypt_bytes()
168 QUARTERROUND( x0, x5,x10,x15) in chacha_encrypt_bytes()
169 QUARTERROUND( x1, x6,x11,x12) in chacha_encrypt_bytes()
170 QUARTERROUND( x2, x7, x8,x13) in chacha_encrypt_bytes()
171 QUARTERROUND( x3, x4, x9,x14) in chacha_encrypt_bytes()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c35 #define QUARTERROUND(a, b, c, d) \ macro
142 QUARTERROUND(x0, x4, x8, x12) in chacha20_encrypt_bytes()
143 QUARTERROUND(x1, x5, x9, x13) in chacha20_encrypt_bytes()
144 QUARTERROUND(x2, x6, x10, x14) in chacha20_encrypt_bytes()
145 QUARTERROUND(x3, x7, x11, x15) in chacha20_encrypt_bytes()
146 QUARTERROUND(x0, x5, x10, x15) in chacha20_encrypt_bytes()
147 QUARTERROUND(x1, x6, x11, x12) in chacha20_encrypt_bytes()
148 QUARTERROUND(x2, x7, x8, x13) in chacha20_encrypt_bytes()
149 QUARTERROUND(x3, x4, x9, x14) in chacha20_encrypt_bytes()
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-x86.pl72 sub QUARTERROUND { subroutine
225 &QUARTERROUND(0, 4, 8, 12, 0);
226 &QUARTERROUND(1, 5, 9, 13, 1);
227 &QUARTERROUND(2, 6,10, 14, 2);
228 &QUARTERROUND(3, 7,11, 15, 3);
229 &QUARTERROUND(0, 5,10, 15, 4);
230 &QUARTERROUND(1, 6,11, 12, 5);
231 &QUARTERROUND(2, 7, 8, 13, 6);
232 &QUARTERROUND(3, 4, 9, 14, 7);