Implementation notes: aarch64, pi3bplus, crypto_sign/ed448goldilocks

Computer: pi3bplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 202311020231107
Operation: crypto_sign
Primitive: ed448goldilocks

Checksum failure

Implementation: T:64
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
f06e0575a1e4d9c1e3a81c0786a1420168d5087277c51193ac65588c93ee1ff1
Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64

Test failure

Implementation: T:32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_sign_open returns nonzero

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32

Compiler output

Implementation: T:32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
ec_point.c: In file included from /usr/include/endian.h:21,
ec_point.c: from word.h:17,
ec_point.c: from p448.h:7,
ec_point.c: from ec_point.h:13,
ec_point.c: from ec_point.c:12:
ec_point.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
ec_point.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: In file included from /usr/include/endian.h:21,
p448.c: from word.h:17,
p448.c: from p448.c:5:
p448.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
p448.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c: | ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c: from word.h:17,
scalarmul.c: from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: | ^~~~~~~
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c: from word.h:17,
sha512.c: from sha512.c:5:
sha512.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: | ^~~~~~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:32

Compiler output

Implementation: T:64
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c: from word.h:17,
scalarmul.c: from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: | ^~~~~~~
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c: from word.h:17,
sha512.c: from sha512.c:5:
sha512.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: | ^~~~~~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:64

Compiler output

Implementation: T:amd64
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: In file included from p448.c:6:
p448.c: In function 'mac',
p448.c: inlined from 'p448_mul' at p448.c:40:5:
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: In function 'mac',
p448.c: inlined from 'p448_mul' at p448.c:41:5:
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: In function 'mac',
p448.c: inlined from 'p448_mul' at p448.c:42:5:
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: In function 'mac',
p448.c: inlined from 'p448_mul' at p448.c:44:5:
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:amd64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:amd64
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:amd64

Compiler output

Implementation: T:amd64
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: In file included from p448.c:6:
p448.c: x86-64-arith.h: In function 'widemul':
p448.c: x86-64-arith.h:17:3: error: impossible constraint in 'asm'
p448.c: 17 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h: In function 'mac':
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'mac_rm':
p448.c: x86-64-arith.h:153:3: error: unknown register name 'rdx' in 'asm'
p448.c: 153 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:153:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'mac2':
p448.c: x86-64-arith.h:181:3: error: unknown register name 'rdx' in 'asm'
p448.c: 181 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:181:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'msb':
p448.c: x86-64-arith.h:208:3: error: unknown register name 'rdx' in 'asm'
p448.c: 208 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:208:3: error: unknown register name 'rax' in 'asm'
p448.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:amd64

Compiler output

Implementation: T:neon
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
crandom.c: In file included from magic.h:15,
crandom.c: from crandom.c:11:
crandom.c: p448.h: In function 'p448_weak_reduce':
crandom.c: p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' [-Wimplicit-function-declaration]
crandom.c: 314 | tmp = vshr_n_u32(aa[7],28);
crandom.c: | ^~~~~~~~~~
crandom.c: p448.h:314:14: error: incompatible types when initializing type 'uint32x2_t' {aka '__vector(2) unsigned int'} using type 'int'
crandom.c: p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' [-Wimplicit-function-declaration]
crandom.c: 318 | aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
crandom.c: | ^~~~~~~~~~
crandom.c: p448.h:318:17: error: incompatible types when assigning to type 'uint32x2_t' {aka '__vector(2) unsigned int'} from type 'int'
crandom.c: p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' [-Wimplicit-function-declaration]
crandom.c: 320 | aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
crandom.c: | ^~~~~~~~~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:neon
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:neon
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:neon
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:neon