Implementation notes: riscv64, riscvunleashed000, crypto_aead/aes192avalanchev1

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
avalanche.c: avalanche.c:59:3: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations]
avalanche.c: AES_set_encrypt_key(finalKey, 192, &key);
avalanche.c: ^
avalanche.c: /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here
avalanche.c: OSSL_DEPRECATEDIN_3_0
avalanche.c: ^
avalanche.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
avalanche.c: # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
avalanche.c: ^
avalanche.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
avalanche.c: # define OSSL_DEPRECATED(since) __attribute__((deprecated))
avalanche.c: ^
avalanche.c: avalanche.c:60:3: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations]
avalanche.c: AES_encrypt(input[j].plainText, input[j].cipherText, &key);
avalanche.c: ^
avalanche.c: /usr/include/openssl/aes.h:56:1: note: 'AES_encrypt' has been explicitly marked deprecated here
avalanche.c: OSSL_DEPRECATEDIN_3_0
avalanche.c: ^
avalanche.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
avalanche.c: # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
avalanche.c: ^
avalanche.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
avalanche.c: # define OSSL_DEPRECATED(since) __attribute__((deprecated))
avalanche.c: ^
avalanche.c: avalanche.c:112:3: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations]
avalanche.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
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:ref
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
avalanche.c: avalanche.c: In function 'PCMACEnc':
avalanche.c: avalanche.c:59:17: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
avalanche.c: 59 | AES_set_encrypt_key(finalKey, 192, &key);
avalanche.c: | ^~~~~~~~~~~~~~~~~~~
avalanche.c: In file included from avalanche.h:28,
avalanche.c: from avalanche.c:17:
avalanche.c: /usr/include/openssl/aes.h:51:5: note: declared here
avalanche.c: 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
avalanche.c: | ^~~~~~~~~~~~~~~~~~~
avalanche.c: avalanche.c:60:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
avalanche.c: 60 | AES_encrypt(input[j].plainText, input[j].cipherText, &key);
avalanche.c: | ^~~~~~~~~~~
avalanche.c: In file included from avalanche.h:28,
avalanche.c: from avalanche.c:17:
avalanche.c: /usr/include/openssl/aes.h:57:6: note: declared here
avalanche.c: 57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
avalanche.c: | ^~~~~~~~~~~
avalanche.c: avalanche.c: In function 'PCMACDec':
avalanche.c: avalanche.c:112:17: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
avalanche.c: 112 | AES_set_decrypt_key(finalKey, 192, &key);
avalanche.c: | ^~~~~~~~~~~~~~~~~~~
avalanche.c: In file included from avalanche.h:28,
avalanche.c: from avalanche.c:17:
avalanche.c: /usr/include/openssl/aes.h:54:5: note: declared here
avalanche.c: 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
avalanche.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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