Implementation notes: amd64, hertz, crypto_aead/aes128poetv2aes128

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: aes128poetv2aes128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15472525985 0 047134 844 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
15478925985 0 047246 844 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
15575121942 0 037032 836 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
15930122784 0 038212 828 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
16295527073 0 044524 828 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
16683520205 0 033983 804 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


poet.c: poet.c:133:65: warning: argument 'key' of type 'const unsigned char[128]' with mismatched bound [-Warray-parameter]
poet.c:   133 | void keysetup_encrypt_only(poet_ctx_t *ctx, const unsigned char key[KEYLEN_BITS])
poet.c:       |                                                                 ^
poet.c: ./poet.h:72:65: note: previously declared as 'const unsigned char[16]' here
poet.c:    72 | void keysetup_encrypt_only(poet_ctx_t *ctx, const unsigned char key[KEYLEN]);
poet.c:       |                                                                 ^
poet.c: poet.c:159:52: warning: argument 'key' of type 'const unsigned char[128]' with mismatched bound [-Warray-parameter]
poet.c:   159 | void keysetup(poet_ctx_t *ctx, const unsigned char key[KEYLEN_BITS])
poet.c:       |                                                    ^
poet.c: ./poet.h:74:52: note: previously declared as 'const unsigned char[16]' here
poet.c:    74 | void keysetup(poet_ctx_t *ctx, const unsigned char key[KEYLEN]);
poet.c:       |                                                    ^
poet.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


poet.c: poet.c:133:65: warning: argument 2 of type 'const unsigned char[128]' with mismatched bound [-Warray-parameter=]
poet.c:   133 | void keysetup_encrypt_only(poet_ctx_t *ctx, const unsigned char key[KEYLEN_BITS])
poet.c:       |                                             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:33:
poet.c: poet.h:72:65: note: previously declared as 'const unsigned char[16]'
poet.c:    72 | void keysetup_encrypt_only(poet_ctx_t *ctx, const unsigned char key[KEYLEN]);
poet.c:       |                                             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
poet.c: poet.c:159:52: warning: argument 2 of type 'const unsigned char[128]' with mismatched bound [-Warray-parameter=]
poet.c:   159 | void keysetup(poet_ctx_t *ctx, const unsigned char key[KEYLEN_BITS])
poet.c:       |                                ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
poet.c: poet.h:74:52: note: previously declared as 'const unsigned char[16]'
poet.c:    74 | void keysetup(poet_ctx_t *ctx, const unsigned char key[KEYLEN]);
poet.c:       |                                ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

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

Namespace violations


aes.o aes_decrypt T
aes.o aes_encrypt T
aes.o aes_expand_dec_key T
aes.o aes_expand_enc_key T
aes.o aesfour_encrypt T
poet.o decrypt_final T
poet.o encrypt_final T
poet.o keysetup T
poet.o keysetup_encrypt_only T
poet.o process_header T

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)