Implementation notes: armeabi, tonido, crypto_aead/acorn128v3

Computer: tonido
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20170718
Operation: crypto_aead
Primitive: acorn128v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
881310? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=xscale_-Os2017072220170718
940338? ? ?? ? ?opt1gcc_-march=native_-mtune=xscale_-Os2017072220170718
1320192? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=xscale_-O32017072220170718
1363578? ? ?? ? ?opt1gcc_-march=native_-mtune=xscale_-O32017072220170718
1389384? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=xscale_-O22017072220170718
1430112? ? ?? ? ?opt1gcc_-march=native_-mtune=xscale_-O22017072220170718
2381400? ? ?? ? ?8bitfast2gcc_-march=native_-mtune=xscale_-O32017072220170718
2383260? ? ?? ? ?8bitfast2gcc_-funroll-loops_-march=native_-mtune=xscale_-O32017072220170718
2407680? ? ?? ? ?8bitfast2gcc_-funroll-loops_-march=native_-mtune=xscale_-O22017072220170718
2561472? ? ?? ? ?8bitfast2gcc_-march=native_-mtune=xscale_-O22017072220170718
2588928? ? ?? ? ?8bitfastgcc_-funroll-loops_-march=native_-mtune=xscale_-O32017072220170718
2602164? ? ?? ? ?8bitfastgcc_-funroll-loops_-march=native_-mtune=xscale_-O22017072220170718
2623164? ? ?? ? ?8bitfastgcc_-march=native_-mtune=xscale_-O32017072220170718
2652792? ? ?? ? ?8bitfast2gcc_-funroll-loops_-march=native_-mtune=xscale_-Os2017072220170718
2823090? ? ?? ? ?8bitfastgcc_-march=native_-mtune=xscale_-O22017072220170718
2894778? ? ?? ? ?8bitfast2gcc_-march=native_-mtune=xscale_-Os2017072220170718
3018144? ? ?? ? ?8bitfastgcc_-funroll-loops_-march=native_-mtune=xscale_-Os2017072220170718
3247464? ? ?? ? ?8bitfastgcc_-march=native_-mtune=xscale_-Os2017072220170718
47291424? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=xscale_-O32017072220170718
47400024? ? ?? ? ?refgcc_-march=native_-mtune=xscale_-O32017072220170718
83789592? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=xscale_-O22017072220170718
111822432? ? ?? ? ?refgcc_-march=native_-mtune=xscale_-O22017072220170718
113198826? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=xscale_-Os2017072220170718
113533020? ? ?? ? ?refgcc_-march=native_-mtune=xscale_-Os2017072220170718

Test failure

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -march=native -mtune=xscale -O2
error 111
crypto_aead_decrypt returns nonzero

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=xscale -O2 8bitcompact
gcc -funroll-loops -march=native -mtune=xscale -O3 8bitcompact
gcc -funroll-loops -march=native -mtune=xscale -Os 8bitcompact
gcc -march=native -mtune=xscale -O2 8bitcompact
gcc -march=native -mtune=xscale -O3 8bitcompact
gcc -march=native -mtune=xscale -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -march=native -mtune=xscale -O2
encrypt.c: encrypt.c: In function 'acorn128_initialization':
encrypt.c: encrypt.c:105:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j]), &tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: encrypt.c:24:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:111:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(iv[j-16]), &tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^
encrypt.c: encrypt.c:24:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:257:41: warning: passing argument 3 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(m[i]), &(c[i]), ca, cb,0);
encrypt.c: ^
encrypt.c: encrypt.c:24:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=xscale -O2 8bitcompact
gcc -funroll-loops -march=native -mtune=xscale -O3 8bitcompact
gcc -funroll-loops -march=native -mtune=xscale -Os 8bitcompact
gcc -march=native -mtune=xscale -O2 8bitcompact
gcc -march=native -mtune=xscale -O3 8bitcompact
gcc -march=native -mtune=xscale -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast2
Compiler: gcc -funroll-loops -march=native -mtune=xscale -O2
encrypt.c: encrypt.c: In function 'acorn128_initialization':
encrypt.c: encrypt.c:189:33: warning: passing argument 2 of 'acorn128_64steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_64steps(state, &(key[j]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_64steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:195:33: warning: passing argument 2 of 'acorn128_64steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_64steps(state, &(iv[j-16]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_64steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:374:41: warning: passing argument 3 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(m[i]), &c[i], ca, cb,0);
encrypt.c: ^
encrypt.c: encrypt.c:107:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=xscale -O2 8bitfast2
gcc -funroll-loops -march=native -mtune=xscale -O3 8bitfast2
gcc -funroll-loops -march=native -mtune=xscale -Os 8bitfast2
gcc -march=native -mtune=xscale -O2 8bitfast2
gcc -march=native -mtune=xscale -O3 8bitfast2
gcc -march=native -mtune=xscale -Os 8bitfast2

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast
Compiler: gcc -funroll-loops -march=native -mtune=xscale -O2
encrypt.c: encrypt.c: In function 'acorn128_initialization':
encrypt.c: encrypt.c:190:33: warning: passing argument 2 of 'acorn128_32steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_32steps(state, &(key[j]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_32steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:196:33: warning: passing argument 2 of 'acorn128_32steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_32steps(state, &(iv[j-16]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_32steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:375:41: warning: passing argument 3 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(m[i]), &c[i], ca, cb,0);
encrypt.c: ^
encrypt.c: encrypt.c:108:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=xscale -O2 8bitfast
gcc -funroll-loops -march=native -mtune=xscale -O3 8bitfast
gcc -funroll-loops -march=native -mtune=xscale -Os 8bitfast
gcc -march=native -mtune=xscale -O2 8bitfast
gcc -march=native -mtune=xscale -O3 8bitfast
gcc -march=native -mtune=xscale -Os 8bitfast