Implementation notes: aarch64, rockpi4, crypto_aead/acorn128v3

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_aead
Primitive: acorn128v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
483215896 0 021124 800 888opt1clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019091120190816
553425896 0 021076 800 888opt1clang_-O3_-fomit-frame-pointer_-Qunused-arguments2019091120190816
553425896 0 021124 800 888opt1clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019091120190816
553425896 0 021124 800 888opt1clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019091120190816
574075940 0 021188 800 888opt1clang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019091120190816
644287944 0 023695 920 880opt1gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091120190816
652548068 0 023807 920 880opt1gcc_-funroll-loops_-O3_-fomit-frame-pointer2019091120190816
664936472 0 020887 920 880opt1gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091120190816
669066628 0 021127 920 880opt1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019091120190816
673196572 0 020967 920 880opt1gcc_-O3_-fomit-frame-pointer2019091120190816
834263472 0 016558 912 864opt1gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091120190816
838393356 0 015678 896 856opt1gcc_-Os_-fomit-frame-pointer2019091120190816
838393356 0 015678 896 856opt1gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091120190816
838396052 0 021326 912 864opt1gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091120190816
838393356 0 015678 896 856opt1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019091120190816
850783356 0 015726 896 856opt1gcc_-funroll-loops_-Os_-fomit-frame-pointer2019091120190816
850783356 0 015726 896 856opt1gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091120190816
863173552 0 016638 912 864opt1gcc_-O2_-fomit-frame-pointer2019091120190816
863173584 0 016782 912 864opt1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019091120190816
871436160 0 021294 912 864opt1gcc_-funroll-loops_-O2_-fomit-frame-pointer2019091120190816
1395947112 0 023606 912 864opt1gcc_-funroll-loops_-O_-fomit-frame-pointer2019091120190816
1395947112 0 023606 912 864opt1gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019091120190816
1408334000 0 017278 912 864opt1gcc_-O_-fomit-frame-pointer2019091120190816
1408334000 0 017278 912 864opt1gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019091120190816
1412464000 0 017278 912 864opt1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019091120190816
2506919608 0 027118 896 864opt1cc2019091120190816
8536719608 0 027118 896 864opt1gcc2019091120190816
8540849608 0 027118 896 864opt1gcc_-funroll-loops2019091120190816
8693653132 0 015430 896 8568bitfastgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019091120190816
43724313680 0 018908 800 888refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019091120190816
53652835720 0 021521 928 880refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019091120190816
76499993676 0 018908 800 888refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019091120190816
77363163680 0 018908 800 888refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019091120190816
77920713680 0 018844 800 888refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019091120190816
78156123680 0 018908 800 888refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019091120190816
94110315712 0 021513 928 880refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091120190816
94267255576 0 024137 928 880refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091120190816
94329205584 0 024145 928 880refgcc_-O3_-fomit-frame-pointer2019091120190816
94337465632 0 024289 928 880refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019091120190816
218183776232 0 022726 912 864refgcc_-funroll-loops_-O_-fomit-frame-pointer2019091120190816
218464616232 0 022726 912 864refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019091120190816
225721025876 0 021150 912 864refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091120190816
352507892628 0 015702 912 864refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091120190816
356303362688 0 015774 912 864refgcc_-O2_-fomit-frame-pointer2019091120190816
357339992548 0 014918 896 856refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019091120190816
357942972764 0 016030 912 864refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019091120190816
464959535948 0 021078 912 864refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019091120190816
697598302704 0 015886 912 864refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019091120190816
699638522444 0 014758 896 856refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019091120190816
699737642444 0 014758 896 856refgcc_-Os_-fomit-frame-pointer2019091120190816
699774812444 0 014758 896 856refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091120190816
707217072548 0 014918 896 856refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091120190816
718264822764 0 016030 912 864refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019091120190816
719466652764 0 016030 912 864refgcc_-O_-fomit-frame-pointer2019091120190816
2803254024332 0 021830 896 864refgcc_-funroll-loops2019091120190816
3336180964332 0 021830 896 864refgcc2019091120190816
3348488364332 0 021830 896 864refcc2019091120190816

Test failure

Implementation: 8bitcompact
Security model: unknown
Compiler: cc
error 111
crypto_aead_decrypt returns nonzero

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc 8bitcompact
gcc 8bitcompact
gcc -O2 -fomit-frame-pointer 8bitcompact
gcc -O3 -fomit-frame-pointer 8bitcompact
gcc -O -fomit-frame-pointer 8bitcompact
gcc -Os -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -O2 -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -O3 -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -O -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -Os -fomit-frame-pointer 8bitcompact
gcc -funroll-loops 8bitcompact
gcc -funroll-loops -O2 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -O3 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -O -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -Os -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer 8bitcompact
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv 8bitcompact
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv 8bitcompact
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv 8bitcompact
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 8bitcompact

Compiler output

Implementation: 8bitcompact
Security model: unknown
Compiler: cc
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:59: 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:24:59: 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:123:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), &tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:24:59: 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: In function 'crypto_aead_acorn128v3_8bitcompact_encrypt':
encrypt.c: encrypt.c:199:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(ad[i]), &ciphertextbyte, ca, cb, 1);
encrypt.c: ^~~~~~~~
encrypt.c: encrypt.c:24:59: 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: 23, namely:
CompilerImplementations
cc 8bitcompact
gcc 8bitcompact
gcc -O2 -fomit-frame-pointer 8bitcompact
gcc -O3 -fomit-frame-pointer 8bitcompact
gcc -O -fomit-frame-pointer 8bitcompact
gcc -Os -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -O2 -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -O3 -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -O -fomit-frame-pointer 8bitcompact
gcc -fno-schedule-insns -Os -fomit-frame-pointer 8bitcompact
gcc -funroll-loops 8bitcompact
gcc -funroll-loops -O2 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -O3 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -O -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -Os -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer 8bitcompact
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer 8bitcompact
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv 8bitcompact
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv 8bitcompact
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv 8bitcompact
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 8bitcompact

Compiler output

Implementation: 8bitcompact
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
encrypt.c: encrypt.c:105:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j]), &tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~
encrypt.c: encrypt.c:24:59: note: passing argument to parameter 'plaintextbyte' here
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 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_8steps(state, &(iv[j-16]), &tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~
encrypt.c: encrypt.c:24:59: note: passing argument to parameter 'plaintextbyte' here
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:123:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), &tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:24:59: note: passing argument to parameter 'plaintextbyte' here
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:199:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_8steps(state, &(ad[i]), &ciphertextbyte, ca, cb, 1);
encrypt.c: ^~~~~~~~
encrypt.c: encrypt.c:24:59: note: passing argument to parameter 'plaintextbyte' here
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:209:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments 8bitcompact
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments 8bitcompact
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments 8bitcompact
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments 8bitcompact
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments 8bitcompact

Compiler output

Implementation: 8bitfast
Security model: unknown
Compiler: cc
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:60: 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:27:60: 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:208:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:108:59: 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:213:33: warning: passing argument 2 of 'acorn128_32steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_32steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:27:60: 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: ...

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc 8bitfast
gcc 8bitfast
gcc -O2 -fomit-frame-pointer 8bitfast
gcc -O3 -fomit-frame-pointer 8bitfast
gcc -O -fomit-frame-pointer 8bitfast
gcc -Os -fomit-frame-pointer 8bitfast
gcc -fno-schedule-insns -O2 -fomit-frame-pointer 8bitfast
gcc -fno-schedule-insns -O3 -fomit-frame-pointer 8bitfast
gcc -fno-schedule-insns -O -fomit-frame-pointer 8bitfast
gcc -fno-schedule-insns -Os -fomit-frame-pointer 8bitfast
gcc -funroll-loops 8bitfast
gcc -funroll-loops -O2 -fomit-frame-pointer 8bitfast
gcc -funroll-loops -O3 -fomit-frame-pointer 8bitfast
gcc -funroll-loops -O -fomit-frame-pointer 8bitfast
gcc -funroll-loops -Os -fomit-frame-pointer 8bitfast
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer 8bitfast
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer 8bitfast
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer 8bitfast
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer 8bitfast
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv 8bitfast
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv 8bitfast
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv 8bitfast
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 8bitfast

Compiler output

Implementation: 8bitfast
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
encrypt.c: encrypt.c:190:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_32steps(state, &(key[j]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~
encrypt.c: encrypt.c:27:60: note: passing argument to parameter 'plaintextbyte' here
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 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_32steps(state, &(iv[j-16]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~
encrypt.c: encrypt.c:27:60: note: passing argument to parameter 'plaintextbyte' here
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:208:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:108:59: note: passing argument to parameter 'plaintextbyte' here
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:213:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_32steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:27:60: note: passing argument to parameter 'plaintextbyte' here
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:294:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments 8bitfast
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments 8bitfast
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments 8bitfast
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments 8bitfast
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments 8bitfast

Compiler output

Implementation: 8bitfast2
Security model: unknown
Compiler: cc
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:60: 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:27:60: 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:207:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:107:59: 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:212:33: warning: passing argument 2 of 'acorn128_64steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_64steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:27:60: 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: ...

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc 8bitfast2
gcc 8bitfast2
gcc -O2 -fomit-frame-pointer 8bitfast2
gcc -O3 -fomit-frame-pointer 8bitfast2
gcc -O -fomit-frame-pointer 8bitfast2
gcc -Os -fomit-frame-pointer 8bitfast2
gcc -fno-schedule-insns -O2 -fomit-frame-pointer 8bitfast2
gcc -fno-schedule-insns -O3 -fomit-frame-pointer 8bitfast2
gcc -fno-schedule-insns -O -fomit-frame-pointer 8bitfast2
gcc -fno-schedule-insns -Os -fomit-frame-pointer 8bitfast2
gcc -funroll-loops 8bitfast2
gcc -funroll-loops -O2 -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -O3 -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -O -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -Os -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer 8bitfast2
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer 8bitfast2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv 8bitfast2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv 8bitfast2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv 8bitfast2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 8bitfast2

Compiler output

Implementation: 8bitfast2
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
encrypt.c: encrypt.c:189:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_64steps(state, &(key[j]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~
encrypt.c: encrypt.c:27:60: note: passing argument to parameter 'plaintextbyte' here
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 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_64steps(state, &(iv[j-16]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~
encrypt.c: encrypt.c:27:60: note: passing argument to parameter 'plaintextbyte' here
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:207:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:107:59: note: passing argument to parameter 'plaintextbyte' here
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:212:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: acorn128_64steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
encrypt.c: ^~~~~~~~~~~~~
encrypt.c: encrypt.c:27:60: note: passing argument to parameter 'plaintextbyte' here
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:293:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments 8bitfast2
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments 8bitfast2
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments 8bitfast2
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments 8bitfast2
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments 8bitfast2