Lines Matching +full:four +full:- +full:byte

1 /*===--------------- sm4intrin.h - SM4 intrinsics -----------------===
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===-----------------------------------------------------------------------===
17 /// This intrinsic performs four rounds of SM4 key expansion. The intrinsic
18 /// operates on independent 128-bit lanes. The calculated results are
29 /// A 128-bit vector of [4 x int].
31 /// A 128-bit vector of [4 x int].
33 /// A 128-bit vector of [4 x int].
38 /// dest := (dword << count) | (dword >> (32-count))
42 /// RETURN sbox[dword.byte[i]]
45 /// tmp.byte[0] := SBOX_BYTE(dword, 0)
46 /// tmp.byte[1] := SBOX_BYTE(dword, 1)
47 /// tmp.byte[2] := SBOX_BYTE(dword, 2)
48 /// tmp.byte[3] := SBOX_BYTE(dword, 3)
79 /// This intrinsic performs four rounds of SM4 key expansion. The intrinsic
80 /// operates on independent 128-bit lanes. The calculated results are
91 /// A 256-bit vector of [8 x int].
93 /// A 256-bit vector of [8 x int].
95 /// A 256-bit vector of [8 x int].
100 /// dest := (dword << count) | (dword >> (32-count))
104 /// RETURN sbox[dword.byte[i]]
107 /// tmp.byte[0] := SBOX_BYTE(dword, 0)
108 /// tmp.byte[1] := SBOX_BYTE(dword, 1)
109 /// tmp.byte[2] := SBOX_BYTE(dword, 2)
110 /// tmp.byte[3] := SBOX_BYTE(dword, 3)
141 /// This intrinisc performs four rounds of SM4 encryption. The intrinisc
142 /// operates on independent 128-bit lanes. The calculated results are
153 /// A 128-bit vector of [4 x int].
155 /// A 128-bit vector of [4 x int].
157 /// A 128-bit vector of [4 x int].
162 /// dest := (dword << count) | (dword >> (32-count))
166 /// tmp.byte[0] := SBOX_BYTE(dword, 0)
167 /// tmp.byte[1] := SBOX_BYTE(dword, 1)
168 /// tmp.byte[2] := SBOX_BYTE(dword, 2)
169 /// tmp.byte[3] := SBOX_BYTE(dword, 3)
205 /// This intrinisc performs four rounds of SM4 encryption. The intrinisc
206 /// operates on independent 128-bit lanes. The calculated results are
217 /// A 256-bit vector of [8 x int].
219 /// A 256-bit vector of [8 x int].
221 /// A 256-bit vector of [8 x int].
226 /// dest := (dword << count) | (dword >> (32-count))
230 /// tmp.byte[0] := SBOX_BYTE(dword, 0)
231 /// tmp.byte[1] := SBOX_BYTE(dword, 1)
232 /// tmp.byte[2] := SBOX_BYTE(dword, 2)
233 /// tmp.byte[3] := SBOX_BYTE(dword, 3)