Implementation notes: aarch64, hikey960, crypto_aead/acorn128v3

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_aead
Primitive: acorn128v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
05956 0 018904 816 880opt1clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112720190816
02940 0 014574 920 864opt1gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
416255956 0 018904 816 880opt1clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112720190816
416257892 0 023563 944 896opt1gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
457933036 0 015426 936 864opt1gcc_-O2_-fomit-frame-pointer2019112720190816
499506164 0 021522 936 864opt1gcc_-funroll-loops_-O2_-fomit-frame-pointer2019112720190816
499502940 0 014590 920 864opt1gcc_-funroll-loops_-Os_-fomit-frame-pointer2019112720190816
499502940 0 014590 920 864opt1gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
499503068 0 015458 936 864opt1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019112720190816
582753512 0 015986 936 864opt1gcc_-O_-fomit-frame-pointer2019112720190816
582825956 0 018888 816 880opt1clang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112720190816
584655956 0 018904 816 880opt1clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112720190816
621816004 0 020043 944 896opt1gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
666005976 0 020059 944 896opt1gcc_-O3_-fomit-frame-pointer2019112720190816
666007888 0 023587 944 896opt1gcc_-funroll-loops_-O3_-fomit-frame-pointer2019112720190816
666006008 0 020083 944 896opt1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019112720190816
818513512 0 015986 936 864opt1gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
818516688 0 022362 936 864opt1gcc_-funroll-loops_-O_-fomit-frame-pointer2019112720190816
832502940 0 014574 920 864opt1gcc_-Os_-fomit-frame-pointer2019112720190816
832603036 0 015362 936 864opt1gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
853216176 0 021570 936 864opt1gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
1403163512 0 015986 936 864opt1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019112720190816
1415256688 0 022362 936 864opt1gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
1581942940 0 014574 920 864opt1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019112720190816
2081259332 0 025998 920 864opt1gcc_-funroll-loops2019112720190816
3579756016 0 021378 936 8648bitfast2gcc_-funroll-loops_-O2_-fomit-frame-pointer2019112720190816
3663004780 0 018941 952 8968bitfastgcc_-O3_-fomit-frame-pointer2019112720190816
3663005116 0 019229 952 8968bitfast2gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
3663006076 0 021482 936 8648bitfast2gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
3663007880 0 023621 952 8968bitfast2gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
3746254892 0 019005 952 8968bitfastgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
4329003144 0 015626 936 8648bitfast2gcc_-O_-fomit-frame-pointer2019112720190816
4329003144 0 015626 936 8648bitfast2gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
4662563120 0 015594 936 8648bitfastgcc_-O_-fomit-frame-pointer2019112720190816
5744254772 0 018925 952 8968bitfastgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019112720190816
5846502888 0 015282 936 8648bitfast2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019112720190816
5951616532 0 022202 936 8648bitfastgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
5994002832 0 015218 936 8648bitfastgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019112720190816
6077258496 0 024269 952 8968bitfastgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112720190816
6077255004 0 019157 952 8968bitfast2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019112720190816
6161245040 0 019197 952 8968bitfast2gcc_-O3_-fomit-frame-pointer2019112720190816
6327766292 0 021690 936 8648bitfastgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
6431152888 0 015210 936 8648bitfastgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
6493506532 0 022202 936 8648bitfastgcc_-funroll-loops_-O_-fomit-frame-pointer2019112720190816
6493508620 0 024365 952 8968bitfastgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
6826503180 0 015666 936 8648bitfast2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019112720190816
7009503120 0 015594 936 8648bitfastgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
7076252888 0 014526 920 8648bitfast2gcc_-Os_-fomit-frame-pointer2019112720190816
7477402888 0 015282 936 8648bitfast2gcc_-O2_-fomit-frame-pointer2019112720190816
7477402944 0 015274 936 8648bitfast2gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
7483522824 0 014478 920 8648bitfastgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112720190816
7492503156 0 015634 936 8648bitfastgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019112720190816
7908752888 0 014542 920 8648bitfast2gcc_-funroll-loops_-Os_-fomit-frame-pointer2019112720190816
7951336224 0 021578 936 8648bitfastgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112720190816
7992002888 0 014542 920 8648bitfast2gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
8151072888 0 014526 920 8648bitfast2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019112720190816
8325009332 0 025998 920 864opt1cc2019112720190816
8408252832 0 015218 936 8648bitfastgcc_-O2_-fomit-frame-pointer2019112720190816
8408252824 0 014478 920 8648bitfastgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
8652827800 0 023573 952 8968bitfast2gcc_-funroll-loops_-O3_-fomit-frame-pointer2019112720190816
9573752824 0 014462 920 8648bitfastgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019112720190816
9740252824 0 014462 920 8648bitfastgcc_-Os_-fomit-frame-pointer2019112720190816
10073256288 0 021970 936 8648bitfast2gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
10156506288 0 021970 936 8648bitfast2gcc_-funroll-loops_-O_-fomit-frame-pointer2019112720190816
11225282888 0 014526 920 8648bitfast2gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
11682509332 0 025998 920 864opt1gcc2019112720190816
13446952824 0 014462 920 8648bitfastgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
22560756560 0 023222 920 8648bitfastcc2019112720190816
22644006560 0 023222 920 8648bitfastgcc2019112720190816
29970006612 0 023286 920 8648bitfast2cc2019112720190816
47790544560 0 017512 816 880refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112720190816
50283004560 0 017512 816 880refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112720190816
50366255648 0 021421 952 896refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112720190816
50449505536 0 019645 952 896refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
62271006612 0 023286 920 8648bitfast2gcc_-funroll-loops2019112720190816
67848756560 0 023222 920 8648bitfastgcc_-funroll-loops2019112720190816
80221015648 0 021389 952 896refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112720190816
80835755536 0 019693 952 896refgcc_-O3_-fomit-frame-pointer2019112720190816
81261765536 0 019685 952 896refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019112720190816
88749876612 0 023286 920 8648bitfast2gcc2019112720190816
89284205088 0 020442 936 864refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112720190816
90326254560 0 017488 816 880refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112720190816
90326254560 0 017512 816 880refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112720190816
166894675036 0 020434 936 864refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
168997505588 0 021258 936 864refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
169247255588 0 021258 936 864refgcc_-funroll-loops_-O_-fomit-frame-pointer2019112720190816
254994752308 0 014698 936 864refgcc_-O2_-fomit-frame-pointer2019112720190816
255025382308 0 014634 936 864refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112720190816
257908502256 0 014730 936 864refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019112720190816
369963002072 0 013702 920 864refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
381425662316 0 014706 936 864refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019112720190816
462448982128 0 013774 920 864refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112720190816
718614002256 0 014730 936 864refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112720190816
797855402256 0 014730 936 864refgcc_-O_-fomit-frame-pointer2019112720190816
889193252128 0 013774 920 864refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112720190816
891940502076 0 013710 920 864refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019112720190816
1121127752072 0 013702 920 864refgcc_-Os_-fomit-frame-pointer2019112720190816
1650681004040 0 020702 920 864refcc2019112720190816
1706708254040 0 020702 920 864refgcc_-funroll-loops2019112720190816
1709455504040 0 020702 920 864refgcc2019112720190816

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: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: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: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: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: 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: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: 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: 4, 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

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: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: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: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: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: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: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: ...

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: 4, 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

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: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: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: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: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: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: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: ...

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: 4, 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