Implementation notes: aarch64, pi4b, crypto_aead/joltikneq6464v1

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: joltikneq6464v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
308530612112 0 029033 896 872T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
317061413649 0 029730 880 880T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
678198612465 0 027514 880 864T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
975354811312 0 025370 864 856T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
998791511833 0 031122 880 864T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

Compiler output


joltik.c: In function 'set_nonce_in_tweak',
joltik.c:     inlined from 'joltik_aead_decrypt' at joltik.c:258:5:
joltik.c: joltik.c:55:23: warning: 'tweak' is used uninitialized [-Wuninitialized]
joltik.c:    55 |     tweak[0] =  (tweak[0]&0xe0)    ^ (nonce[0] >> 3);
joltik.c:       |                  ~~~~~^~~
joltik.c: joltik.c: In function 'joltik_aead_decrypt':
joltik.c: joltik.c:240:13: note: 'tweak' declared here
joltik.c:   240 |     uint8_t tweak[8];
joltik.c:       |             ^~~~~

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

Compiler output


joltik.c: joltik.c:29:3: error: "This implementation requires either SSSE3 or AVX2 instruction sets."
joltik.c:  #error "This implementation requires either SSSE3 or AVX2 instruction sets."
joltik.c:   ^
joltik.c: 1 error generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:vpermclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


joltik.c: joltik.c:29:3: error: #error "This implementation requires either SSSE3 or AVX2 instruction sets."
joltik.c:    29 |  #error "This implementation requires either SSSE3 or AVX2 instruction sets."
joltik.c:       |   ^~~~~

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