Implementation notes: amd64, hertz, crypto_aead/deoxyseq256128v1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: deoxyseq256128v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
9053 | 66535 0 0 | 92670 828 1096 | T:opt | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
9087 | 66535 0 0 | 92782 828 1096 | T:opt | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
9187 | 54595 0 0 | 75024 820 1096 | T:opt | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
10563 | 65554 0 0 | 89084 812 1160 | T:opt | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
11100 | 61235 0 0 | 82748 812 1096 | T:opt | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
12022 | 65626 0 0 | 84711 788 1064 | T:opt | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
1173964 | 42785 0 0 | 63822 828 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
1189051 | 40797 0 0 | 61918 828 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
1340243 | 31472 0 0 | 48676 812 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
2356753 | 26944 0 0 | 41880 820 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
2449291 | 27048 0 0 | 42236 812 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
4417890 | 25358 0 0 | 38903 788 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Compiler output
deoxys-256.c: deoxys-256.c:77:45: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
deoxys-256.c: 77 | const __m128i MSB_XLS1 = constant8( (0x8<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
deoxys-256.c: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deoxys-256.c: ./tweakable-cipher.macros:12:171: note: expanded from macro 'constant8'
deoxys-256.c: 12 | #define constant8(b15,b14,b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,b2,b1,b0) _mm_set_epi8 ((b0),(b1),(b2),(b3),(b4),(b5),(b6),(b7),(b8),(b9),(b10),(b11),(b12),(b13),(b14),(b15))
deoxys-256.c: | ~~~~~~~~~~~~ ^~~
deoxys-256.c: deoxys-256.c:78:45: warning: implicit conversion from 'int' to 'char' changes value from 144 to -112 [-Wconstant-conversion]
deoxys-256.c: 78 | const __m128i MSB_XLS2 = constant8( (0x9<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
deoxys-256.c: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deoxys-256.c: ./tweakable-cipher.macros:12:171: note: expanded from macro 'constant8'
deoxys-256.c: 12 | #define constant8(b15,b14,b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,b2,b1,b0) _mm_set_epi8 ((b0),(b1),(b2),(b3),(b4),(b5),(b6),(b7),(b8),(b9),(b10),(b11),(b12),(b13),(b14),(b15))
deoxys-256.c: | ~~~~~~~~~~~~ ^~~
deoxys-256.c: 2 warnings generated.
encrypt.c: encrypt.c:48:24: warning: unused variable 'outlen' [-Wunused-variable]
encrypt.c: 48 | unsigned long long outlen = 0;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:71:25: warning: unused variable 'outlen' [-Wunused-variable]
encrypt.c: 71 | unsigned long long outlen = 0;
encrypt.c: | ^~~~~~
encrypt.c: 2 warnings generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
deoxys-256.c: In file included from deoxys-256.c:29:
deoxys-256.c: deoxys-256.c: In function 'XLS':
deoxys-256.c: tweakable-cipher.macros:2:18: warning: array subscript 11 is outside array bounds of '__m128i[11]' [-Warray-bounds=]
deoxys-256.c: 2 | #define dec(a,b) _mm_aesdec_si128(a,b)
deoxys-256.c: | ^~~~~~~~~~~~~~~~~~~~~
deoxys-256.c: tweakable-cipher.macros:113:5: note: in expansion of macro 'dec'
deoxys-256.c: 113 | s = dec( s , xor( subkeys[11] , mc_inv(t) ) );t=permute( t , H_PERMUTATION_INV);\
deoxys-256.c: | ^~~
deoxys-256.c: deoxys-256.c:93:10: note: in expansion of macro 'AES_DEC'
deoxys-256.c: 93 | else { AES_DEC( State , subkeys , Tweak ,dTweak ); }
deoxys-256.c: | ^~~~~~~
deoxys-256.c: deoxys-256.c:52:17: note: at offset 176 into object 'subkeys' of size [0, 176]
deoxys-256.c: 52 | __m128i subkeys[11],
deoxys-256.c: | ~~~~~~~~^~~~~~~~~~~
deoxys-256.c: tweakable-cipher.macros:2:18: warning: array subscript 12 is outside array bounds of '__m128i[11]' [-Warray-bounds=]
deoxys-256.c: 2 | #define dec(a,b) _mm_aesdec_si128(a,b)
deoxys-256.c: | ^~~~~~~~~~~~~~~~~~~~~
deoxys-256.c: tweakable-cipher.macros:114:5: note: in expansion of macro 'dec'
deoxys-256.c: 114 | s = dec( s , xor( subkeys[12] , mc_inv(t) ) );t=permute( t , H_PERMUTATION_INV);\
deoxys-256.c: | ^~~
deoxys-256.c: deoxys-256.c:93:10: note: in expansion of macro 'AES_DEC'
deoxys-256.c: 93 | else { AES_DEC( State , subkeys , Tweak ,dTweak ); }
deoxys-256.c: | ^~~~~~~
deoxys-256.c: deoxys-256.c:52:17: note: at offset 192 into object 'subkeys' of size [0, 176]
deoxys-256.c: 52 | __m128i subkeys[11],
deoxys-256.c: ...
encrypt.c: encrypt.c: In function 'crypto_aead_deoxyseq256128v1_opt_timingleaks_encrypt':
encrypt.c: encrypt.c:48:24: warning: unused variable 'outlen' [-Wunused-variable]
encrypt.c: 48 | unsigned long long outlen = 0;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_deoxyseq256128v1_opt_timingleaks_decrypt':
encrypt.c: encrypt.c:71:25: warning: unused variable 'outlen' [-Wunused-variable]
encrypt.c: 71 | unsigned long long outlen = 0;
encrypt.c: | ^~~~~~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
tweakableBC.c: tweakableBC.c:886:9: warning: variable 'Nr' set but not used [-Wunused-but-set-variable]
tweakableBC.c: 886 | int Nr;
tweakableBC.c: | ^
tweakableBC.c: tweakableBC.c:1005:9: warning: variable 'Nr' set but not used [-Wunused-but-set-variable]
tweakableBC.c: 1005 | int Nr;
tweakableBC.c: | ^
tweakableBC.c: 2 warnings generated.
Number of similar (implementation,compiler) pairs: 3, 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)) |
Compiler output
tweakableBC.c: tweakableBC.c: In function 'aesTweakEncrypt':
tweakableBC.c: tweakableBC.c:886:9: warning: variable 'Nr' set but not used [-Wunused-but-set-variable]
tweakableBC.c: 886 | int Nr;
tweakableBC.c: | ^~
tweakableBC.c: tweakableBC.c: In function 'aesTweakDecrypt':
tweakableBC.c: tweakableBC.c:1005:9: warning: variable 'Nr' set but not used [-Wunused-but-set-variable]
tweakableBC.c: 1005 | int Nr;
tweakableBC.c: | ^~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -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) |
Namespace violations
deoxys-256.o XLS T
deoxys-256.o deoxys_aead_decrypt T
deoxys-256.o deoxys_aead_encrypt T
deoxys-256.o mix T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
deoxys.o XLS T
deoxys.o deoxys_aead_decrypt T
deoxys.o deoxys_aead_encrypt T
deoxys.o getUnpaddedLength T
deoxys.o mix T
tweakableBC.o G T
tweakableBC.o H T
tweakableBC.o aesTweakDecrypt T
tweakableBC.o aesTweakEncrypt T
tweakableBC.o deoxysKeySetupDec256 T
tweakableBC.o deoxysKeySetupEnc256 T
tweakableBC.o multi T
Number of similar (implementation,compiler) pairs: 6, 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 -O3 -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) |