Implementation notes: amd64, hertz, crypto_aead/aes256avalanchev1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aes256avalanchev1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1998072899668 0 027665 884 1096T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
2263034466989 0 022993 884 1064T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
3058518905161 0 019550 884 1064T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang-17 -march=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: 59 | AES_set_encrypt_key(finalKey, 256, &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: 50 | 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: 182 | # 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: 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
avalanche.c: | ^
avalanche.c: avalanche.c:60:3: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations]
avalanche.c: 60 | 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: 56 | 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: 182 | # 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: 62 | # 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: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -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, 256, &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: /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, 256, &key);
avalanche.c: | ^~~~~~~~~~~~~~~~~~~
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: | ^~~~~~~~~~~~~~~~~~~
avalanche.c: avalanche.c:113:17: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
avalanche.c: 113 | AES_decrypt(input[j].cipherText, input[j].plainText, &key);
avalanche.c: | ^~~~~~~~~~~
avalanche.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref