Implementation notes: amd64, hertz, crypto_aead/flexaead256b256v1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: flexaead256b256v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
701124 | 27544 0 0 | 48599 828 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
702342 | 27544 0 0 | 48711 828 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
807054 | 6930 0 0 | 22331 820 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1140223 | 4320 0 0 | 18046 796 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1241236 | 10897 0 0 | 25952 820 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
encrypt.c: In function 'dirPFK',
encrypt.c: inlined from 'crypto_aead_flexaead256b256v1_ref_timingleaks_encrypt' at encrypt.c:164:2:
encrypt.c: encrypt.c:376:36: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 376 | *(block+i) = (*(block+i))^(*(block+i+(blocklen/2)));
encrypt.c: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead256b256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:104:23: note: at offset 32 into destination object 'tag' of size 32
encrypt.c: 104 | unsigned char tag[BLOCKSIZE];
encrypt.c: | ^~~
encrypt.c: In function 'dirPFK',
encrypt.c: inlined from 'crypto_aead_flexaead256b256v1_ref_timingleaks_encrypt' at encrypt.c:164:2:
encrypt.c: encrypt.c:376:36: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 376 | *(block+i) = (*(block+i))^(*(block+i+(blocklen/2)));
encrypt.c: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead256b256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:104:23: note: at offset [64, 96] into destination object 'tag' of size 32
encrypt.c: 104 | unsigned char tag[BLOCKSIZE];
encrypt.c: | ^~~
encrypt.c: In function 'dirPFK',
encrypt.c: inlined from 'crypto_aead_flexaead256b256v1_ref_timingleaks_encrypt' at encrypt.c:164:2:
encrypt.c: encrypt.c:381:49: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 381 | *(block+i+(blocklen/2)) = (*(block+i))^(*(block+i+(blocklen/2)));
encrypt.c: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead256b256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:104:23: note: at offset 128 into destination object 'tag' of size 32
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
encrypt.o FlexAEADv1_init T
encrypt.o decryptBlock T
encrypt.o dirPFK T
encrypt.o dirSBox0 R
encrypt.o dirSBoxLayer T
encrypt.o dirShuffleLayer T
encrypt.o encryptBlock T
encrypt.o inc32 T
encrypt.o invPFK T
encrypt.o invSBox0 R
encrypt.o invSBoxLayer T
encrypt.o invShuffleLayer T
encrypt.o padBlock T
encrypt.o sumAD T
encrypt.o unpadBlock T
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |