Implementation notes: amd64, hydra7, crypto_encrypt/ntruees1087ep1

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_encrypt
Primitive: ntruees1087ep1

Compiler output


ntru_crypto_sha1.c: ntru_crypto_sha1.c: In function 'sha1_blk':
ntru_crypto_sha1.c: ntru_crypto_sha1.c:83:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    83 |     E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:84:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    84 |     D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    85 |     C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    86 |     B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    87 |     A += RL(B, 5) + K00_19 + (C & (D ^ E) ^ E) + data[ 4]; C = RL(C, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    88 |     E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 5]; B = RL(B, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:89:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    89 |     D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 6]; A = RL(A, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:90:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ntru_crypto_sha1.c:    90 |     C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 7]; E = RL(E, 30);
ntru_crypto_sha1.c:       |                               ~~^~~~~~~~~
ntru_crypto_sha1.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)