Implementation notes: amd64, speed2supercop, crypto_aead/aes192avalanchev1

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aes192avalanchev1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
23594779210646 0 028979 856 872T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2435980609219 0 027371 856 872T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2571550088639 0 025065 832 928T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2639451009513 0 026547 864 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2717034806301 0 020745 832 928T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
2940020285178 0 020116 848 920T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
3104743006201 0 020347 856 856T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4188717725442 0 019625 832 928T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
4494662804478 0 017470 832 896T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Compiler output


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:194: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:194: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: ...
rmac.c: rmac.c:28:6: warning: unused variable 'j' [-Wunused-variable]
rmac.c:         int j;
rmac.c:             ^
rmac.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


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: /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: /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: ...
rmac.c: rmac.c: In function 'AppendOne':
rmac.c: rmac.c:28:13: warning: unused variable 'j' [-Wunused-variable]
rmac.c:    28 |         int j;
rmac.c:       |             ^

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)