Implementation notes: aarch64, minimac, crypto_kem/lima2p2048cca

Computer: minimac
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20210529
Operation: crypto_kem
Primitive: lima2p2048cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1311949? ? ?? ? ?T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
1341548? ? ?? ? ?T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
1365680? ? ?? ? ?T:optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021060220210529
1546473? ? ?? ? ?T:optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
1798863? ? ?? ? ?T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
2785092? ? ?? ? ?T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
3128545? ? ?? ? ?T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
3428799? ? ?? ? ?T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529
3795185? ? ?? ? ?T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021060220210529

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
lima.c: lima.c:147:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^
lima.c: lima.c:147:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:155:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^
lima.c: lima.c:155:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^~~~
lima.c: abs
lima.c: 2 warnings generated.
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/knownrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/cpucycles.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _init: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/kernelrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_rng_chacha20_ref_constbranchindex-rng.o)) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libkeccak.a(SP800-185.o)) was built for newer macOS version (11.2) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Update.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Update.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Initialize.part.0: register 26 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Initialize.part.0: register 26 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128_Initialize: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Final.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Final.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _TupleHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC256_Initialize: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC256_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ...
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/knownrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/kernelrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/cpucycles.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _init: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_rng_chacha20_ref_constbranchindex-rng.o)) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libkeccak.a(SP800-185.o)) was built for newer macOS version (11.2) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Update.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Update.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Initialize.part.0: register 26 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Initialize.part.0: register 26 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128_Initialize: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Final.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Final.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _TupleHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC256_Initialize: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC256_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ...
measure.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/fastrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
measure.c: ld: warning: could not create compact unwind for _randombytes: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/kernelrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
measure.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/cpucycles.o) was built for newer macOS version (11.3) than being linked (11.0)
measure.c: ld: warning: could not create compact unwind for _init: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_rng_chacha20_ref_constbranchindex-rng.o)) was built for newer macOS version (11.3) than being linked (11.0)
measure.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libkeccak.a(SP800-185.o)) was built for newer macOS version (11.2) than being linked (11.0)
measure.c: ld: warning: could not create compact unwind for _ParallelHash128_Update.part.0: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _ParallelHash256_Update.part.0: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _cSHAKE256_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _ParallelHash128_Initialize.part.0: register 26 saved somewhere other than in frame
measure.c: ld: warning: could not create compact unwind for _ParallelHash256_Initialize.part.0: register 26 saved somewhere other than in frame
measure.c: ld: warning: could not create compact unwind for _cSHAKE128_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _cSHAKE128_Squeeze: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _cSHAKE128: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _KMAC128_Initialize: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _KMAC128_Squeeze: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _KMAC128: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _ParallelHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _ParallelHash128_Final.part.0: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _ParallelHash256_Final.part.0: registers 21 and 22 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _TupleHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _cSHAKE256_Squeeze: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _cSHAKE256: registers 19 and 20 not saved contiguously in frame
measure.c: ld: warning: could not create compact unwind for _KMAC256_Initialize: registers 21 and 22 not saved contiguously in frame
measure.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
lima.c: lima.c:91:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^
lima.c: lima.c:91:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:91:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
lima.c: lima.c:95:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: { rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^
lima.c: lima.c:95:20: note: use function 'abs' instead
lima.c: { rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:95:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
lima.c: 2 warnings generated.
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/knownrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/kernelrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/cpucycles.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _init: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_rng_chacha20_ref_constbranchindex-rng.o)) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libkeccak.a(SP800-185.o)) was built for newer macOS version (11.2) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Update.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Update.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Initialize.part.0: register 26 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Initialize.part.0: register 26 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128_Initialize.part.0: registers 23 and 24 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE128: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128_Initialize: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC128: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash128_Final.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _ParallelHash256_Final.part.0: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _TupleHash128_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _cSHAKE256: registers 19 and 20 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC256_Initialize: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: could not create compact unwind for _KMAC256_Squeeze: registers 19 and 20 not saved contiguously in frame
try.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref