Implementation notes: armeabi, bblack, crypto_encrypt/ntruees787ep1

Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_encrypt
Primitive: ntruees787ep1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
192274424148 84 038871 588 1520T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024062620240425
197836820012 84 033699 588 1520T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024062620240425
237672819404 84 033083 580 1520T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024062620240425
319020017472 84 030687 572 1512T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024062620240425

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: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refclang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refclang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refclang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Namespace violations


crypto_hash.o crypto_hash_block_length T
crypto_hash.o crypto_hash_digest T
crypto_hash.o crypto_hash_digest_length T
crypto_hash.o crypto_hash_final T
crypto_hash.o crypto_hash_final_zero_pad T
crypto_hash.o crypto_hash_init T
crypto_hash.o crypto_hash_set_alg T
crypto_hash.o crypto_hash_update T
crypto_msbyte_uint32.o crypto_msbyte_2_uint32 T
crypto_msbyte_uint32.o crypto_uint32_2_msbyte T
crypto_sha1.o crypto_sha1 T
crypto_sha1.o crypto_sha1_digest T
crypto_sha1.o crypto_sha1_final T
crypto_sha1.o crypto_sha1_final_zero_pad T
crypto_sha1.o crypto_sha1_init T
crypto_sha1.o crypto_sha1_update T
crypto_sha2.o crypto_sha2 T
crypto_sha256.o crypto_sha256_digest T
crypto_sha256.o crypto_sha256_final T
crypto_sha256.o crypto_sha256_final_zero_pad T
crypto_sha256.o crypto_sha256_init T
crypto_sha256.o crypto_sha256_update T
ebats.o copyrightclaims T
ebats.o patentclaims T
ebats.o shortciphertext T
ebats.o shortplaintext T
ntru_encrypt.o ntru_decrypt T
ntru_encrypt.o ntru_encrypt T
ntru_encrypt_keygen.o ntru_encrypt_keygen T
ntru_encrypt_param_sets.o get_params T
ntru_encrypt_util.o ntru_bvgm T
ntru_encrypt_util.o ntru_ring_mult T
ntru_encrypt_util.o ntru_sef T
ntru_encrypt_util.o ntru_sef_init T

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
T:refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
T:refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
T:refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)