Implementation notes: armeabi, a15, crypto_aead/acorn128v3

Computer: a15
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20161026
Operation: crypto_aead
Primitive: acorn128v3
TimeImplementationCompilerBenchmark dateSUPERCOP version
171251opt1gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
176450opt1gcc -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
179800opt1gcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
181974opt1gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
208704opt1gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
211808opt1gcc -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
5506548bitfast2gcc -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
5560228bitfast2gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
5920008bitfast2gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
6195728bitfastgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
6214948bitfastgcc -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
6367708bitfastgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
6412008bitfast2gcc -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
7146778bitfast2gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
7202588bitfastgcc -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
7224638bitfast2gcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
7937248bitfastgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
8042548bitfastgcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
13299602refgcc -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
13414431refgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121520161026
26252735refgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
31726199refgcc -mcpu=native -mfpu=neon-vfpv4 -O22016121520161026
31789514refgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026
31822782refgcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121520161026

Test failure

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2
error 111
crypto_aead_decrypt returns nonzero

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -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 -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast2
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -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 -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast2
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast2
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast2
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast2
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast2
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast2

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -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 -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast