Test results for armeabi, berry0, crypto_hash/rhash

[Page version: 20250206 00:27:24]

Measurements for armeabi, berry0, crypto_hash Test results for armeabi, berry0, crypto_hash Test results for crypto_hash/rhash
Computer: berry0
Microarchitecture: armeabi; ARM1176 (410fb767)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240909
Operation: crypto_hash
Primitive: rhash
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2787800817320 0 026647 404 744T:refclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
2904868719588 0 031341 408 752T:refclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
2992448318112 0 029333 408 744T:refclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
3209495317320 0 026651 404 744T:refclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
8470216918176 0 028836 372 744T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
8655157217292 0 025586 368 744T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
8830223317412 0 026458 376 744T:refg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024100220240909
8880486417488 0 026327 372 744T:refg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024100220240909

Compiler output


Hash.cpp: In file included from Hash.cpp:9:
Hash.cpp: ./Hash.h:6:37: warning: '&' within '^' [-Wbitwise-op-parentheses]
Hash.cpp:         ulong out = ulong (num ^ (num>>32) & 0xffffffff);
Hash.cpp:                                ~ ~~~~~~~~~~^~~~~~~~~~~~
Hash.cpp: ./Hash.h:6:37: note: place parentheses around the '&' expression to silence this warning
Hash.cpp:         ulong out = ulong (num ^ (num>>32) & 0xffffffff);
Hash.cpp:                                            ^
Hash.cpp:                                  (                     )
Hash.cpp: 1 warning generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)
T:refclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)
T:refclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall
T:refclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)

Compiler output


Hash.cpp: In file included from Hash.cpp:9:
Hash.cpp: Hash.h: In function 'ulong CheckParity(ulong64)':
Hash.cpp: Hash.h:6:37: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
Hash.cpp:     6 |  ulong out = ulong (num ^ (num>>32) & 0xffffffff);
Hash.cpp:       |                           ~~~~~~~~~~^~~~~~~~~~~~
Hash.cpp: Hash.cpp: In function 'int crypto_hash_rhash_ref_timingleaks(unsigned char*, const unsigned char*, long long unsigned int)':
Hash.cpp: Hash.cpp:26:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation]
Hash.cpp:    26 |   strncpy((char*)Msg_Blk, (const char*)(in + blkcount*64), 64);
Hash.cpp:       |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


Hash.cpp: In file included from Hash.cpp:9:
Hash.cpp: Hash.h: In function 'ulong CheckParity(ulong64)':
Hash.cpp: Hash.h:6:37: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
Hash.cpp:     6 |  ulong out = ulong (num ^ (num>>32) & 0xffffffff);
Hash.cpp:       |                           ~~~~~~~~~~^~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall
T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)