Test results for aarch64, pi3bplus, crypto_sign/sflashv2
[Page version: 20241105 13:29:25]
Measurements for aarch64, pi3bplus, crypto_sign
Test results for aarch64, pi3bplus, crypto_sign
Test results for crypto_sign/sflashv2
Computer: pi3bplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20241022
Operation: crypto_sign
Primitive: sflashv2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
709091 | 33690 0 0 | 52186 848 1584 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240925 | 20240909 |
787947 | 29942 0 0 | 47522 848 1584 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240925 | 20240909 |
889748 | 28372 0 0 | 44850 832 1568 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240925 | 20240909 |
898959 | 30102 0 0 | 47706 848 1568 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240925 | 20240909 |
Compiler output
keypair.c: keypair.c: In function 'crypto_sign_sflashv2_ref_timingleaks_keypair':
keypair.c: keypair.c:11:7: warning: unused variable 'length' [-Wunused-variable]
keypair.c: 11 | int length;
keypair.c: | ^~~~~~
keypair.c: keypair.c:10:18: warning: unused variable 'seed' [-Wunused-variable]
keypair.c: 10 | unsigned char *seed;
keypair.c: | ^~~~
lib_flash.c: lib_flash.c:270:29: warning: argument 1 of type 'unsigned char[37][37][37]' with mismatched bound [-Warray-parameter=]
lib_flash.c: 270 | void priv_pub(unsigned char QUAD[37][37][37], unsigned char LIN[37][37], unsigned char CONS[37], unsigned char S1[37][37],unsigned char S2[37], unsigned char T1[37][37],unsigned char T2[37], unsigned char M[16384])
lib_flash.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
lib_flash.c: In file included from lib_flash.c:6:
lib_flash.c: lib_flash.h:38:29: note: previously declared as 'unsigned char[26][37][37]'
lib_flash.c: 38 | void priv_pub(unsigned char QUAD[26][37][37], unsigned char LIN[26][37], unsigned char CONS[26],
lib_flash.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
lib_flash.c: lib_flash.c:270:61: warning: argument 2 of type 'unsigned char[37][37]' with mismatched bound [-Warray-parameter=]
lib_flash.c: 270 | void priv_pub(unsigned char QUAD[37][37][37], unsigned char LIN[37][37], unsigned char CONS[37], unsigned char S1[37][37],unsigned char S2[37], unsigned char T1[37][37],unsigned char T2[37], unsigned char M[16384])
lib_flash.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~
lib_flash.c: lib_flash.h:38:61: note: previously declared as 'unsigned char[26][37]'
lib_flash.c: 38 | void priv_pub(unsigned char QUAD[26][37][37], unsigned char LIN[26][37], unsigned char CONS[26],
lib_flash.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~
lib_flash.c: lib_flash.c:270:88: warning: argument 3 of type 'unsigned char[37]' with mismatched bound [-Warray-parameter=]
lib_flash.c: 270 | void priv_pub(unsigned char QUAD[37][37][37], unsigned char LIN[37][37], unsigned char CONS[37], unsigned char S1[37][37],unsigned char S2[37], unsigned char T1[37][37],unsigned char T2[37], unsigned char M[16384])
lib_flash.c: | ~~~~~~~~~~~~~~^~~~~~~~
lib_flash.c: lib_flash.h:38:88: note: previously declared as 'unsigned char[26]'
lib_flash.c: 38 | void priv_pub(unsigned char QUAD[26][37][37], unsigned char LIN[26][37], unsigned char CONS[26],
lib_flash.c: | ~~~~~~~~~~~~~~^~~~~~~~
lib_flash.c: lib_flash.c: In function 'Flash_build_complete_key':
lib_flash.c: lib_flash.c:409:57: warning: "/*" within comment [-Wcomment]
lib_flash.c: 409 | init_table_flash(CK->M,/*CK->I,*/CK->M1/*,CK->M2/* /*,CK->M3*/);
lib_flash.c: |
lib_flash.c: lib_flash.c:409:60: warning: "/*" within comment [-Wcomment]
lib_flash.c: lib_flash.c: In function 'Flash_decrypt':
lib_flash.c: ...
messagesigned.c: messagesigned.c:12:39: warning: argument 5 of type 'const unsigned char[19266]' with mismatched bound [-Warray-parameter=]
messagesigned.c: 12 | const unsigned char pk[PUBLICKEY_BYTES]
messagesigned.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
messagesigned.c: In file included from crypto_sign.h:4,
messagesigned.c: from sizes.h:1,
messagesigned.c: from messagesigned.c:6:
messagesigned.c: crypto_sign_sflashv2.h:12:132: note: previously declared as 'const unsigned char *'
messagesigned.c: 12 | extern int crypto_sign_sflashv2_ref_timingleaks_open(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *);
messagesigned.c: | ^~~~~~~~~~~~~~~~~~~~~
signedmessage.c: signedmessage.c:13:39: warning: argument 5 of type 'const unsigned char[2823]' with mismatched bound [-Warray-parameter=]
signedmessage.c: 13 | const unsigned char sk[SECRETKEY_BYTES]
signedmessage.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
signedmessage.c: In file included from crypto_sign.h:4,
signedmessage.c: from sizes.h:1,
signedmessage.c: from signedmessage.c:6:
signedmessage.c: crypto_sign_sflashv2.h:11:127: note: previously declared as 'const unsigned char *'
signedmessage.c: 11 | extern int crypto_sign_sflashv2_ref_timingleaks(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *);
signedmessage.c: | ^~~~~~~~~~~~~~~~~~~~~
table_flash.c: table_flash.c: In function 'mult2':
table_flash.c: table_flash.c:25:25: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
table_flash.c: 25 | if( x^P < x)
table_flash.c: | ~~^~~
table_flash.c: table_flash.c: In function 'build_MM':
table_flash.c: table_flash.c:39:26: warning: missing braces around initializer [-Wmissing-braces]
table_flash.c: 39 | unsigned char MM[37][37]={ 1 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 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1 ,0 ,0 ,1 ,0 ,1 ,1 ,0 ,0 ,0 ,1 ,1 ,1 ,1 ,1 ,0 ,1 ,1 ,1 ,0 ,0
table_flash.c: | }{
table_flash.c: 46 | ,1 ,1 ,0 ,0 ,1 ,0 ,0 ,1 ,0 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,0 ,0 ,0 ,0 ,1 ,1 ,1 ,1 ,0 ,0 ,0 ,0 ,1 ,0 ,0 ,0 ,1 ,0 ,0 ,1 ,0
table_flash.c: | }{
table_flash.c: 47 | ,0 ,0 ,0 ,0 ,0 ,1 ,0 ,1 ,0 ,0 ,0 ,0 ,1 ,0 ,0 ,0 ,0 ,0 ,1 ,1 ,0 ,0 ,0 ,0 ,1 ,0 ,0 ,0 ,1 ,1 ,1 ,1 ,1 ,0 ,0 ,0 ,1
table_flash.c: | }{
table_flash.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Namespace violations
lib_flash.o Bij_Aff T
lib_flash.o Flash_build_complete_key T
lib_flash.o Flash_complete2private T
lib_flash.o Flash_complete2public T
lib_flash.o Flash_decrypt T
lib_flash.o Flash_encrypt T
lib_flash.o Flash_load2_private_key T
lib_flash.o Flash_load2_public_key T
lib_flash.o Flash_load_private_key T
lib_flash.o Flash_load_public_key T
lib_flash.o Flash_sign T
lib_flash.o Flash_sign2 T
lib_flash.o Flash_store2_private_key T
lib_flash.o Flash_store2_public_key T
lib_flash.o Flash_store_private_key T
lib_flash.o Flash_verify T
lib_flash.o Flash_verify2 T
lib_flash.o add37 T
lib_flash.o bit T
lib_flash.o exponent T
lib_flash.o format_message1 T
lib_flash.o format_message2 T
lib_flash.o inv_affine T
lib_flash.o lineaire T
lib_flash.o load_bit T
lib_flash.o mul37 T
lib_flash.o nextbit T
lib_flash.o priv_pub T
lib_flash.o quadratic T
lib_flash.o sqsq37 T
lib_flash.o store_bit T
table_flash.o build_M T
table_flash.o build_MM T
table_flash.o init_table_flash T
table_flash.o mult2 T
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |