Implementation notes: riscv64, riscvunleashed000, crypto_sign/rainbow1b

Computer: riscvunleashed000
Microarchitecture: riscv64; U54 (sifive,u54-mc)
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_sign
Primitive: rainbow1b

Compiler output

Implementation: T:portable
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash_utils.c: hash_utils.c:19:2: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
hash_utils.c: SHA256_Init( &sha256 );
hash_utils.c: ^
hash_utils.c: /usr/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
hash_utils.c: OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
hash_utils.c: ^
hash_utils.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
hash_utils.c: # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
hash_utils.c: ^
hash_utils.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
hash_utils.c: # define OSSL_DEPRECATED(since) __attribute__((deprecated))
hash_utils.c: ^
hash_utils.c: hash_utils.c:20:2: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
hash_utils.c: SHA256_Update( &sha256 , m , mlen );
hash_utils.c: ^
hash_utils.c: /usr/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
hash_utils.c: OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
hash_utils.c: ^
hash_utils.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
hash_utils.c: # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
hash_utils.c: ^
hash_utils.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
hash_utils.c: # define OSSL_DEPRECATED(since) __attribute__((deprecated))
hash_utils.c: ^
hash_utils.c: hash_utils.c:21:2: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
hash_utils.c: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:portable
clang -march=rv64imafdc -mtune=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:portable
clang -march=rv64imafdc -mtune=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:portable
clang -march=rv64imafdc -mtune=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:portable
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:portable
clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=rv64imafdc -mtune=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=rv64imafdc -mtune=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=rv64imafdc -mtune=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:portable
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash_utils.c: hash_utils.c: In function '_sha2_str':
hash_utils.c: hash_utils.c:19:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 19 | SHA256_Init( &sha256 );
hash_utils.c: | ^~~~~~~~~~~
hash_utils.c: In file included from hash_utils.c:4:
hash_utils.c: /usr/include/openssl/sha.h:73:27: note: declared here
hash_utils.c: 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
hash_utils.c: | ^~~~~~~~~~~
hash_utils.c: hash_utils.c:20:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 20 | SHA256_Update( &sha256 , m , mlen );
hash_utils.c: | ^~~~~~~~~~~~~
hash_utils.c: In file included from hash_utils.c:4:
hash_utils.c: /usr/include/openssl/sha.h:74:27: note: declared here
hash_utils.c: 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
hash_utils.c: | ^~~~~~~~~~~~~
hash_utils.c: hash_utils.c:21:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 21 | SHA256_Final( digest , &sha256 );
hash_utils.c: | ^~~~~~~~~~~~
hash_utils.c: In file included from hash_utils.c:4:
hash_utils.c: /usr/include/openssl/sha.h:76:27: note: declared here
hash_utils.c: 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
hash_utils.c: | ^~~~~~~~~~~~
hash_utils.c: hash_utils.c: In function 'sha2_file':
hash_utils.c: hash_utils.c:55:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 55 | SHA256_Init( &sha256 );
hash_utils.c: ...

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:portable
gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:portable
gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:portable
gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:portable
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash_utils.c: hash_utils.c: In function '_sha2_str':
hash_utils.c: hash_utils.c:19:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 19 | SHA256_Init( &sha256 );
hash_utils.c: | ^~~~~~~~~~~
hash_utils.c: In file included from hash_utils.c:4:
hash_utils.c: /usr/include/openssl/sha.h:73:27: note: declared here
hash_utils.c: 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
hash_utils.c: | ^~~~~~~~~~~
hash_utils.c: hash_utils.c:20:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 20 | SHA256_Update( &sha256 , m , mlen );
hash_utils.c: | ^~~~~~~~~~~~~
hash_utils.c: In file included from hash_utils.c:4:
hash_utils.c: /usr/include/openssl/sha.h:74:27: note: declared here
hash_utils.c: 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
hash_utils.c: | ^~~~~~~~~~~~~
hash_utils.c: hash_utils.c:21:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 21 | SHA256_Final( digest , &sha256 );
hash_utils.c: | ^~~~~~~~~~~~
hash_utils.c: In file included from hash_utils.c:4:
hash_utils.c: /usr/include/openssl/sha.h:76:27: note: declared here
hash_utils.c: 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
hash_utils.c: | ^~~~~~~~~~~~
hash_utils.c: hash_utils.c: In function 'sha2_file':
hash_utils.c: hash_utils.c:55:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash_utils.c: 55 | SHA256_Init( &sha256 );
hash_utils.c: ...
prng_utils.c: prng_utils.c: In function 'openssl_prng_bytes':
prng_utils.c: prng_utils.c:70:32: warning: implicit declaration of function 'FIPS_mode_set' [-Wimplicit-function-declaration]
prng_utils.c: 70 | fips_mode_on = FIPS_mode_set(1);
prng_utils.c: | ^~~~~~~~~~~~~
try.c: /usr/bin/ld: libcrypto_sign_rainbow1b.a(prng_utils.o): in function `.L16':
try.c: prng_utils.c:(.text+0x...): undefined reference to `FIPS_mode_set'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:portable