Home
last modified time | relevance | path

Searched refs:SnP_width (Results 1 – 4 of 4) sorted by relevance

/PHP-7.4/ext/hash/sha3/generic64lc/
H A DKeccakSponge.c27 #define SnP_width 200 macro
35 #undef SnP_width
45 #define SnP_width 400 macro
53 #undef SnP_width
63 #define SnP_width 800 macro
71 #undef SnP_width
81 #define SnP_width 1600 macro
89 #undef SnP_width
99 #define SnP_width 1600 macro
107 #undef SnP_width
H A DKeccakSponge.inc42 if (rate+capacity != SnP_width)
44 if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
55 if (((rateInBytes % (SnP_width/200)) == 0) && (inputByteLen >= rateInBytes)) {
58 j = SnP_FastLoop_Absorb(state, rateInBytes/(SnP_width/200), curInput, inputByteLen);
97 unsigned char block[SnP_width/8];
98 memset(block, 0, SnP_width/8);
135 if (rate+capacity != SnP_width)
137 if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
166 if ((rateInBytes % (SnP_width/200)) == 0) {
237 unsigned char block[SnP_width/8];
[all …]
/PHP-7.4/ext/hash/sha3/generic32lc/
H A DKeccakSponge.c27 #define SnP_width 200 macro
35 #undef SnP_width
45 #define SnP_width 400 macro
53 #undef SnP_width
63 #define SnP_width 800 macro
71 #undef SnP_width
81 #define SnP_width 1600 macro
89 #undef SnP_width
99 #define SnP_width 1600 macro
107 #undef SnP_width
H A DKeccakSponge.inc42 if (rate+capacity != SnP_width)
44 if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
55 if (((rateInBytes % (SnP_width/200)) == 0) && (inputByteLen >= rateInBytes)) {
58 j = SnP_FastLoop_Absorb(state, rateInBytes/(SnP_width/200), curInput, inputByteLen);
97 unsigned char block[SnP_width/8];
98 memset(block, 0, SnP_width/8);
135 if (rate+capacity != SnP_width)
137 if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
166 if ((rateInBytes % (SnP_width/200)) == 0) {
237 unsigned char block[SnP_width/8];
[all …]

Completed in 9 milliseconds