Test results for amd64, hunsnivy, crypto_encrypt/ntruees787ep1
[Page version: 20260902 09:50:30]
Measurements for amd64, hunsnivy, crypto_encrypt
Test results for amd64, hunsnivy, crypto_encrypt
Test results for crypto_encrypt/ntruees787ep1
Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20260831
Operation: crypto_encrypt
Primitive: ntruees787ep1
Compiler output
crypto_sha1.c: crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c:164:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:164:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:166:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:166:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:168:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:168:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:170:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:170:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c:477:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:477:26: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:477:26: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: ntru_encrypt.c:493:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:22: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:493:22: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
crypto_sha1.c: crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c:164:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:164:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:166:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:166:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:168:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:168:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:170:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:170:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c:477:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:477:26: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:477:26: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: ntru_encrypt.c:493:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:22: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:493:22: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
crypto_sha1.c: crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c:164:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:164:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:166:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:166:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:168:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:168:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:170:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:170:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c:477:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:477:26: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:477:26: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: ntru_encrypt.c:493:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:22: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:493:22: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
crypto_sha1.c: crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c:164:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:164:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:166:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:166:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:168:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:168:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:170:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:170:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c:477:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:477:26: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:477:26: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: ntru_encrypt.c:493:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:22: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:493:22: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
crypto_sha1.c: crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: ^
crypto_sha1.c: ( )
crypto_sha1.c: crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: ~~^~~~~~~~~ ~
crypto_sha1.c: crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c:164:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:164:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:166:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:166:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:168:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:168:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: ^
crypto_sha2.c: ( )
crypto_sha2.c: crypto_sha2.c:170:21: warning: '&' within '^' [-Wbitwise-op-parentheses]
crypto_sha2.c: E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: ~~^~~~~~~~~ ~
crypto_sha2.c: crypto_sha2.c:170:21: note: place parentheses around the '&' expression to silence this warning
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c:477:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:477:26: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:477:26: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: ntru_encrypt.c:493:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:22: note: place parentheses around the assignment to silence this warning
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ( )
ntru_encrypt.c: ntru_encrypt.c:493:22: note: use '==' to turn this assignment into an equality comparison
ntru_encrypt.c: if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: ^
ntru_encrypt.c: ==
ntru_encrypt.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
crypto_sha1.c: crypto_sha1.c: In function 'sha1_blk':
crypto_sha1.c: crypto_sha1.c:85:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 85 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:86:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 86 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:87:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 87 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:88:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 88 | B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:89:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 89 | A += RL(B, 5) + K00_19 + (C & (D ^ E) ^ E) + data[ 4]; C = RL(C, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:90:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 90 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 5]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:91:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 91 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 6]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:92:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 92 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 7]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c: In function 'sha2_blk':
crypto_sha2.c: crypto_sha2.c:164:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 164 | H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:166:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 166 | G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:168:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 168 | F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:170:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 170 | E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:172:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 172 | D += S1(A) + (A & (B ^ C) ^ C) + 0x3956C25BUL + data[ 4]; H += D;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:174:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 174 | C += S1(H) + (H & (A ^ B) ^ B) + 0x59F111F1UL + data[ 5]; G += C;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:176:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 176 | B += S1(G) + (G & (H ^ A) ^ A) + 0x923F82A4UL + data[ 6]; F += B;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:178:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 178 | A += S1(F) + (F & (G ^ H) ^ H) + 0xAB1C5ED5UL + data[ 7]; E += A;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c: In function 'ntru_decrypt':
ntru_encrypt.c: ntru_encrypt.c:477:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 477 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 493 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
crypto_sha1.c: crypto_sha1.c: In function 'sha1_blk':
crypto_sha1.c: crypto_sha1.c:85:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 85 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:86:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 86 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:87:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 87 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:88:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 88 | B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:89:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 89 | A += RL(B, 5) + K00_19 + (C & (D ^ E) ^ E) + data[ 4]; C = RL(C, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:90:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 90 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 5]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:91:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 91 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 6]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:92:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 92 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 7]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c: In function 'sha2_blk':
crypto_sha2.c: crypto_sha2.c:164:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 164 | H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:166:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 166 | G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:168:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 168 | F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:170:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 170 | E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:172:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 172 | D += S1(A) + (A & (B ^ C) ^ C) + 0x3956C25BUL + data[ 4]; H += D;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:174:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 174 | C += S1(H) + (H & (A ^ B) ^ B) + 0x59F111F1UL + data[ 5]; G += C;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:176:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 176 | B += S1(G) + (G & (H ^ A) ^ A) + 0x923F82A4UL + data[ 6]; F += B;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:178:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 178 | A += S1(F) + (F & (G ^ H) ^ H) + 0xAB1C5ED5UL + data[ 7]; E += A;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c: In function 'ntru_decrypt':
ntru_encrypt.c: ntru_encrypt.c:477:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 477 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 493 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
crypto_sha1.c: crypto_sha1.c: In function 'sha1_blk':
crypto_sha1.c: crypto_sha1.c:85:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 85 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:86:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 86 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:87:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 87 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:88:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 88 | B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:89:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 89 | A += RL(B, 5) + K00_19 + (C & (D ^ E) ^ E) + data[ 4]; C = RL(C, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:90:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 90 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 5]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:91:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 91 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 6]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:92:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 92 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 7]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c: In function 'sha2_blk':
crypto_sha2.c: crypto_sha2.c:164:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 164 | H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:166:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 166 | G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:168:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 168 | F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:170:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 170 | E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:172:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 172 | D += S1(A) + (A & (B ^ C) ^ C) + 0x3956C25BUL + data[ 4]; H += D;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:174:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 174 | C += S1(H) + (H & (A ^ B) ^ B) + 0x59F111F1UL + data[ 5]; G += C;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:176:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 176 | B += S1(G) + (G & (H ^ A) ^ A) + 0x923F82A4UL + data[ 6]; F += B;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:178:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 178 | A += S1(F) + (F & (G ^ H) ^ H) + 0xAB1C5ED5UL + data[ 7]; E += A;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c: In function 'ntru_decrypt':
ntru_encrypt.c: ntru_encrypt.c:477:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 477 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 493 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
crypto_sha1.c: crypto_sha1.c: In function 'sha1_blk':
crypto_sha1.c: crypto_sha1.c:85:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 85 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:86:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 86 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:87:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 87 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:88:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 88 | B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:89:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 89 | A += RL(B, 5) + K00_19 + (C & (D ^ E) ^ E) + data[ 4]; C = RL(C, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:90:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 90 | E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 5]; B = RL(B, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:91:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 91 | D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 6]; A = RL(A, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: crypto_sha1.c:92:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha1.c: 92 | C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 7]; E = RL(E, 30);
crypto_sha1.c: | ~~^~~~~~~~~
crypto_sha1.c: ...
crypto_sha2.c: crypto_sha2.c: In function 'sha2_blk':
crypto_sha2.c: crypto_sha2.c:164:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 164 | H += S1(E) + (E & (F ^ G) ^ G) + 0x428A2F98UL + data[ 0]; D += H;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:166:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 166 | G += S1(D) + (D & (E ^ F) ^ F) + 0x71374491UL + data[ 1]; C += G;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:168:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 168 | F += S1(C) + (C & (D ^ E) ^ E) + 0xB5C0FBCFUL + data[ 2]; B += F;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:170:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 170 | E += S1(B) + (B & (C ^ D) ^ D) + 0xE9B5DBA5UL + data[ 3]; A += E;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:172:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 172 | D += S1(A) + (A & (B ^ C) ^ C) + 0x3956C25BUL + data[ 4]; H += D;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:174:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 174 | C += S1(H) + (H & (A ^ B) ^ B) + 0x59F111F1UL + data[ 5]; G += C;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:176:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 176 | B += S1(G) + (G & (H ^ A) ^ A) + 0x923F82A4UL + data[ 6]; F += B;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: crypto_sha2.c:178:21: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
crypto_sha2.c: 178 | A += S1(F) + (F & (G ^ H) ^ H) + 0xAB1C5ED5UL + data[ 7]; E += A;
crypto_sha2.c: | ~~^~~~~~~~~
crypto_sha2.c: ...
ntru_encrypt.c: ntru_encrypt.c: In function 'ntru_decrypt':
ntru_encrypt.c: ntru_encrypt.c:477:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 477 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
ntru_encrypt.c: ntru_encrypt.c:493:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
ntru_encrypt.c: 493 | if (ci_coeff = *chkR_ptr++ & 0x0001) {
ntru_encrypt.c: | ^~~~~~~~
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:26: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:27: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: libcrypto_encrypt_ntruees787ep1.a(useshort.o): in function `crypto_encrypt_ntruees787ep1_ref_timingleaks_open':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:63: undefined reference to `crypto_hash_sha256_openssl_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_encrypt/ntruees787ep1/ref/work/useshort.c:68: undefined reference to `crypto_stream_salsa20_dolbeau_amd64_xmm6int_constbranchindex_xor'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/lib/knownrandombytes.o: in function `randombytes_internal':
try.c: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:31: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/knownrandombytes/work/knownrandombytes.c:37: undefined reference to `crypto_rng_chacha20_ref_constbranchindex'
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |