Home
last modified time | relevance | path

Searched refs:rotl32 (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/crypto/
Dchacha20_generic.c18 static inline u32 rotl32(u32 v, u8 n) in rotl32() function
37 x[0] += x[4]; x[12] = rotl32(x[12] ^ x[0], 16); in chacha20_block()
38 x[1] += x[5]; x[13] = rotl32(x[13] ^ x[1], 16); in chacha20_block()
39 x[2] += x[6]; x[14] = rotl32(x[14] ^ x[2], 16); in chacha20_block()
40 x[3] += x[7]; x[15] = rotl32(x[15] ^ x[3], 16); in chacha20_block()
42 x[8] += x[12]; x[4] = rotl32(x[4] ^ x[8], 12); in chacha20_block()
43 x[9] += x[13]; x[5] = rotl32(x[5] ^ x[9], 12); in chacha20_block()
44 x[10] += x[14]; x[6] = rotl32(x[6] ^ x[10], 12); in chacha20_block()
45 x[11] += x[15]; x[7] = rotl32(x[7] ^ x[11], 12); in chacha20_block()
47 x[0] += x[4]; x[12] = rotl32(x[12] ^ x[0], 8); in chacha20_block()
[all …]
/linux-4.4.14/arch/x86/crypto/
Dchacha20-ssse3-x86_64.S52 # x0 += x1, x3 = rotl32(x3 ^ x0, 16)
57 # x2 += x3, x1 = rotl32(x1 ^ x2, 12)
65 # x0 += x1, x3 = rotl32(x3 ^ x0, 8)
70 # x2 += x3, x1 = rotl32(x1 ^ x2, 7)
85 # x0 += x1, x3 = rotl32(x3 ^ x0, 16)
90 # x2 += x3, x1 = rotl32(x1 ^ x2, 12)
98 # x0 += x1, x3 = rotl32(x3 ^ x0, 8)
103 # x2 += x3, x1 = rotl32(x1 ^ x2, 7)
205 # x0 += x4, x12 = rotl32(x12 ^ x0, 16)
211 # x1 += x5, x13 = rotl32(x13 ^ x1, 16)
[all …]
Dchacha20-avx2-x86_64.S80 # x0 += x4, x12 = rotl32(x12 ^ x0, 16)
85 # x1 += x5, x13 = rotl32(x13 ^ x1, 16)
90 # x2 += x6, x14 = rotl32(x14 ^ x2, 16)
95 # x3 += x7, x15 = rotl32(x15 ^ x3, 16)
101 # x8 += x12, x4 = rotl32(x4 ^ x8, 12)
107 # x9 += x13, x5 = rotl32(x5 ^ x9, 12)
113 # x10 += x14, x6 = rotl32(x6 ^ x10, 12)
119 # x11 += x15, x7 = rotl32(x7 ^ x11, 12)
126 # x0 += x4, x12 = rotl32(x12 ^ x0, 8)
131 # x1 += x5, x13 = rotl32(x13 ^ x1, 8)
[all …]