Implementation notes: amd64, bolero, crypto_kem/edonk192k48n144nu4l4

Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_kem
Primitive: edonk192k48n144nu4l4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
587390842506 0 5680070 1112 1704T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072020240716

Checksum failure


e6ebfcc61cb22afe946ad7afaf538eb4d7a9d0004aa2f94ef8b03a5384fc4352

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

Checksum failure


d885c0fd8580b9d93aaa3b32daf860ad10b54e56103f8520d5de52f1440acf89

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

Checksum failure


60a5e29c94efd9d211bf4d8df1b7a42c3457279249d7d2f1d14fad6a70ded7cd

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

Checksum failure


42c660bf8ad111e0ebf1100990f8dbd9b3c443db11904275d2b291ee97fe4327

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

Checksum failure


e49c91041e1ebda872ede242c2ad4217cc3ebdeb2abe8dca0340466e2aafd035

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

Checksum failure


5e1474df3789624d082604e986b740593d9c54d1e5992be360bd9dd860612dbe

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

Checksum failure


02a880b61e56d81fc02cdadab767258372b9b45d74303d072e4c470e8f62756f

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

Test failure


error 111

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

Compiler output


dec.c: dec.c:711:89: warning: for loop has empty body [-Wempty-body]
dec.c:                 for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kclear(allcandidates[i]);
dec.c:                                                                                         ^
dec.c: dec.c:711:89: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:591:76: warning: for loop has empty body [-Wempty-body]
dec.c:     for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kinit(allcandidates[i]);
dec.c:                                                                            ^
dec.c: dec.c:591:76: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:596:56: warning: for loop has empty body [-Wempty-body]
dec.c:     for(i=0; i<NrColumns; i++) Kinit(Ciphertext.cph[i]);
dec.c:                                                        ^
dec.c: dec.c:596:56: note: put the semicolon on a separate line to silence this warning
dec.c: 3 warnings generated.
mpfq_2_192.c: mpfq_2_192.c:154:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
mpfq_2_192.c:         int ret = mpn_set_str(zz, tmp, len, k->io_type);
mpfq_2_192.c:                                   ^~~
mpfq_2_192.c: .../supercop-data/bolero/amd64/include/gmp.h:1595:68: note: passing argument to parameter here
mpfq_2_192.c: __GMP_DECLSPEC mp_size_t mpn_set_str (mp_ptr, const unsigned char *, size_t, int);
mpfq_2_192.c:                                                                    ^
mpfq_2_192.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


mpfq_2_192.c: mpfq_2_192.c: In function 'mpfq_2_192_sscan':
mpfq_2_192.c: mpfq_2_192.c:154:35: warning: pointer targets in passing argument 2 of '__gmpn_set_str' differ in signedness [-Wpointer-sign]
mpfq_2_192.c:   154 |         int ret = mpn_set_str(zz, tmp, len, k->io_type);
mpfq_2_192.c:       |                                   ^~~
mpfq_2_192.c:       |                                   |
mpfq_2_192.c:       |                                   char *
mpfq_2_192.c: In file included from mpfq.h:6,
mpfq_2_192.c:                  from mpfq_2_192.h:6,
mpfq_2_192.c:                  from mpfq_2_192.c:3:
mpfq_2_192.c: .../supercop-data/bolero/amd64/include/gmp.h:1595:47: note: expected 'const unsigned char *' but argument is of type 'char *'
mpfq_2_192.c:  1595 | __GMP_DECLSPEC mp_size_t mpn_set_str (mp_ptr, const unsigned char *, size_t, int);
mpfq_2_192.c:       |                                               ^~~~~~~~~~~~~~~~~~~~~

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

Namespace violations


dec.o addcandidate T
dec.o checkhash T
enc.o K B
gmp_export.o gmp_export T
gmp_import.o gmp_import T
mpfq_2_192.o mpfq_2_192_asprint T
mpfq_2_192.o mpfq_2_192_fprint T
mpfq_2_192.o mpfq_2_192_fscan T
mpfq_2_192.o mpfq_2_192_sscan T
rng.o AES256_ECB T
rng.o DRBG_ctx B
rng.o handleErrors T
rng.o seedexpander T
rng.o seedexpander_init T

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)