Implementation notes: mipso32, gcc23, crypto_sign/pflash1

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_sign
Primitive: pflash1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
884056061112 1072 592099595 1584 7512T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060520220506
1216845449832 1072 592096123 1604 7512T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060520220506
1275186050424 1072 592097011 1612 7512T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060520220506
1498718038184 1072 592083555 1616 7512T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060520220506

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
SignScheme.c: SignScheme.c: In function 'signatureofshorthash':
SignScheme.c: SignScheme.c:211:19: warning: passing argument 1 of 'SignScheme_sign' discards 'const' qualifier from pointer target type
SignScheme.c: SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: ^
SignScheme.c: SignScheme.c:95:5: note: expected 'byte *' but argument is of type 'const unsigned char *'
SignScheme.c: int SignScheme_sign( byte * pri , byte * Y , int Ylen , byte * outX )
SignScheme.c: ^
SignScheme.c: SignScheme.c: In function 'verification':
SignScheme.c: SignScheme.c:227:19: warning: passing argument 1 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^
SignScheme.c: SignScheme.c:152:5: note: expected 'byte *' but argument is of type 'const unsigned char *'
SignScheme.c: int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: ^
SignScheme.c: SignScheme.c:227:24: warning: passing argument 2 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^
SignScheme.c: SignScheme.c:152:5: note: expected 'byte *' but argument is of type 'const unsigned char *'
SignScheme.c: int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
BLAS.o BLAS_aLinearGF16 T
BLAS.o BLAS_affineGF16 T
BLAS.o BLAS_dumpMat T
BLAS.o BLAS_dumpVec T
BLAS.o BLAS_elemRowOpIII T
BLAS.o BLAS_genMatGF16 T
BLAS.o BLAS_genVec T
BLAS.o BLAS_gusElimHomoEqs T
BLAS.o BLAS_ivsAffineGF16 T
BLAS.o BLAS_ivsD T
BLAS.o BLAS_ivsL T
BLAS.o BLAS_ivsU T
BLAS.o BLAS_pLinearGF16 T
BLAS.o BLAS_prod_A T
BLAS.o BLAS_rLinearGF16 T
GF.o alogtab D
GF.o logg D
GF.o logg1 D
GF.o logtab D
GFword.o GF_256_12_div T
GFword.o GF_256_12_inv T
GFword.o GF_256_12_mul T
GFword.o GF_256_12_sqrt T
GFword.o GF_256_16_div T
GFword.o GF_256_16_inv T
GFword.o GF_256_16_mul T
GFword.o GF_256_16_sqrt T
GFword.o GF_256_8_div T
GFword.o GF_256_8_inv T
GFword.o GF_256_8_mul T
GFword.o GF_256_8_mul_g T
GFword.o GF_256_8_sqr T
GFword.o GF_256_8_sqrt T
GFword.o GF_dword_div T
GFword.o GF_dword_inv T
GFword.o GF_dword_mul T
GFword.o GF_dword_mul_g T
GFword.o GF_dword_mul_gg T
GFword.o GF_dword_sqr T
GFword.o GF_dword_sqrt T
GFword.o GF_word_div T
GFword.o GF_word_inv T
GFword.o GF_word_mul T
GFword.o GF_word_mul_g T
GFword.o GF_word_mul_gg T
GFword.o GF_word_mul_ggg T
GFword.o GF_word_sqr T
GFword.o GF_word_sqrt T
PFLASH.o PFLASH_QMap T
PFLASH.o PFLASH_ivsQMap T
PFLASH.o polyMul T
PFLASH.o polyPow24 T
PFLASH.o polyPow56 T
PFLASH.o polyPow8 T
PFLASH.o polyPow88 T
PFLASH.o polySqu T
SignScheme.o SignScheme_GMap T
SignScheme.o SignScheme_PMap T
SignScheme.o SignScheme_genKey T
SignScheme.o SignScheme_genPubKey T
SignScheme.o SignScheme_sign T
SignScheme.o keypair T
SignScheme.o signatureofshorthash T
SignScheme.o verification T

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