Implementation notes: amd64, hydra7, crypto_kem/edonk192ref

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: edonk192ref

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/hydra7/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:       |                                               ^~~~~~~~~~~~~~~~~~~~~
try.c: /usr/bin/ld: libcrypto_kem_edonk192ref.a(enc.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/enc.c:21: multiple definition of `K'; libcrypto_kem_edonk192ref.a(dec.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/dec.c:22: first defined here
try.c: collect2: error: ld returned 1 exit status

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)

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/hydra7/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:       |                                               ^~~~~~~~~~~~~~~~~~~~~
try.c: /usr/bin/ld: libcrypto_kem_edonk192ref.a(enc.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/enc.c:21: multiple definition of `K'; libcrypto_kem_edonk192ref.a(dec.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/dec.c:22: first defined here
try.c: collect2: error: ld returned 1 exit status

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


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/hydra7/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:       |                                               ^~~~~~~~~~~~~~~~~~~~~
try.c: /usr/bin/ld: libcrypto_kem_edonk192ref.a(enc.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/enc.c:21: multiple definition of `K'; libcrypto_kem_edonk192ref.a(dec.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/dec.c:22: first defined here
try.c: collect2: error: ld returned 1 exit status

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)

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/hydra7/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:       |                                               ^~~~~~~~~~~~~~~~~~~~~
try.c: /usr/bin/ld: libcrypto_kem_edonk192ref.a(enc.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/enc.c:21: multiple definition of `K'; libcrypto_kem_edonk192ref.a(dec.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_kem/edonk192ref/ref/work/dec.c:22: first defined here
try.c: collect2: error: ld returned 1 exit status

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)