Implementation notes: aarch64, pi3aplus, crypto_encrypt/mcnie4q1281

Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240716
Operation: crypto_encrypt
Primitive: mcnie4q1281
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1710409446127 6 064822 824 1632T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024073120240716
1723434047640 6 066247 912 1648T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024073120240716
1810433636720 6 054023 912 1632T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024073120240716
2249595638244 6 055639 912 1632T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024073120240716
3402669631563 6 048007 896 1616T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024073120240716

Compiler output


bin_vec.c: bin_vec.c:201:8: warning: unused variable 'last' [-Wunused-variable]
bin_vec.c:         short last = x->size - ((n-1)<<5);
bin_vec.c:               ^
bin_vec.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


bin_vec.c: bin_vec.c: In function 'Shift':
bin_vec.c: bin_vec.c:201:8: warning: unused variable 'last' [-Wunused-variable]
bin_vec.c:   short last = x->size - ((n-1)<<5);
bin_vec.c:         ^~~~
conv.c: conv.c: In function 'conv':
conv.c: conv.c:127:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
conv.c:   for( i=0 ; i<nr ; i++ )
conv.c:   ^~~
conv.c: conv.c:142:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
conv.c:     for( i=0 ; i<nr ; i++ )
conv.c:     ^~~
crypt.c: crypt.c: In function 'crypto_encrypt_mcnie4q1281_ref_timingleaks':
crypt.c: crypt.c:987:31: warning: variable 'res_bytes' set but not used [-Wunused-but-set-variable]
crypt.c:   unsigned long long num_block,res_bytes,real_mlen;
crypt.c:                                ^~~~~~~~~

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

Namespace violations


aes256.o aes256_decrypt_ecb T
aes256.o aes256_done T
aes256.o aes256_encrypt_ecb T
aes256.o aes256_init T
bin_vec.o Shift T
bin_vec.o chk_zero T
bin_vec.o gauss_elm T
bin_vec.o gen_vec T
bin_vec.o gen_vec_copy T
bin_vec.o gen_vec_rand T
bin_vec.o gen_vec_zero T
bin_vec.o get_elt T
bin_vec.o print_bin T
bin_vec.o put_elt T
bin_vec.o vec_add T
bin_vec.o vec_sum T
bin_vec.o vec_swap T
conv.o conv T
conv.o inv_conv T
crypt.o Const_bytes R
crypt.o blk D
crypt.o d D
crypt.o decrypt_one_block T
crypt.o decrypt_one_block_INDCCA2 T
crypt.o decrypt_one_block_return_error T
crypt.o dual_space T
crypt.o encrypt_one_block T
crypt.o encrypt_one_block_INDCCA2 T
crypt.o encrypt_one_block_given_error T
crypt.o error_space T
crypt.o free_LRP T
crypt.o gen_4Q T
crypt.o r D
crypt.o syndrome_decode T
crypt.o vec_sp_inter T
gf.o Div T
gf.o Gauss_elimination T
gf.o _m R
gf.o base_poly R
gf.o bin2gf T
gf.o bin_rank T
gf.o gen_indep_vec T
gf.o gen_rand_vec T
gf.o gf2bin T
gf.o gf_add T
gf.o gf_inverse T
gf.o gf_mul T
gf.o gf_sum T
gf.o rand_gf T
gf.o vec_get_elt T
gf.o vec_print T
gf.o vec_put_elt T
gf.o vec_size T
matrix.o free_matrix T
matrix.o gen_matrix T
matrix.o gen_matrix_id T
matrix.o gf_gauss_elm T
matrix.o gf_gauss_elm2 T
matrix.o mat_inv T
matrix.o mat_mul T
matrix.o mat_mul_t T
matrix.o mat_rank T
matrix.o print_matrix T
rng.o AES256_CTR_DRBG_Update T
rng.o AES256_ECB T
rng.o DRBG_ctx C
rng.o seedexpander T
rng.o seedexpander_init T
rng.o xrandombytes T
rng.o xrandombytes_init T
sha3.o SHA3_Final T
sha3.o SHA3_Init T
sha3.o SHA3_Transform T
sha3.o SHA3_Update T
sha3.o keccakf_piln R
sha3.o keccakf_rndc R
sha3.o keccakf_rotc R

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