Implementation notes: mipso32, gcc23, crypto_kem/lac192

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_kem
Primitive: lac192

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bin-lwe.c: bin-lwe.c:1:23: fatal error: immintrin.h: No such file or directory
bin-lwe.c: #include <immintrin.h>
bin-lwe.c: ^
bin-lwe.c: compilation terminated.

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

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
ecc.c: In file included from ecc.c:14:0:
ecc.c: bch192.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: uint32_t mod8_tab[4096] = {0,0,0,0,559029381,2262544753,127807836,700504064,1118058763,230122210,255615672,1401008128,1677075854,2339165075,144856036,2051106816,2236117526,
ecc.c: ^
ecc.c: bch192.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: In file included from ecc.c:14:0:
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: 460244420,511231344,2802016256,2753195667,2645914805,434566188,2395191296,3354151709,383362854,289712072,4102213632,3871233944,2416055895,383424148,3712092160,734197929,
ecc.c: ^
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: 2953198329,997178301,1741035520,177267756,920488840,1022462689,1309065216,1768341922,3182516251,877910277,877111296,1211424039,996862314,869132377,495415296,2928315071,
ecc.c: ^
ecc.c: bch192.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch192.h:8:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: 2875785021,622296781,3234166784,2413336122,766725708,579424145,3909459968,3962483636,2799672799,707468405,2470758400,3447500593,537144494,766848297,3129217024,1468395859,
ecc.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
rng.c: rng.c: In function 'seedexpander':
rng.c: rng.c:90:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int i=15; i>=12; i--) {
rng.c: ^
rng.c: rng.c:90:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
rng.c: rng.c: In function 'AES256_CTR_DRBG_Update':
rng.c: rng.c:145:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int i=0; i<3; i++) {
rng.c: ^
rng.c: rng.c:147:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int j=15; j>=0; j--) {
rng.c: ^
rng.c: rng.c:159:18: error: redefinition of 'i'
rng.c: for (int i=0; i<48; i++)
rng.c: ^
rng.c: rng.c:145:14: note: previous definition of 'i' was here
rng.c: for (int i=0; i<3; i++) {
rng.c: ^
rng.c: rng.c:159:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int i=0; i<48; i++)
rng.c: ^

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