Implementation notes: amd64, panther, crypto_aead/acorn128v3

Computer: panther
Microarchitecture: amd64; Tiger Lake (806c1)
Architecture: amd64
CPU ID: GenuineIntel-000806c1-00-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: acorn128v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4791710567 0 026925 828 1016T:opt1clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
4918810005 0 025789 828 1048T:opt1clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
4919310005 0 025805 828 1048T:opt1clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
526249029 0 025688 780 1080T:opt1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
536785312 0 019848 780 1080T:opt1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
539234837 0 017763 756 1048T:opt1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
553535027 0 018899 820 1016T:opt1clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
563905227 0 019303 772 1080T:opt1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
609615172 0 018219 820 1016T:opt1clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
22714884718 0 021077 828 1016T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
24754653754 0 020474 788 1080T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
26282393162 0 017778 788 1080T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
26942732447 0 015437 764 1048T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
30570775619 0 022565 828 1048T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
31923656888 0 023813 828 1048T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
94834583510 0 016883 820 1016T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
206732962676 0 016743 772 1080T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
207153702718 0 016579 820 1016T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212

Compiler output

Implementation: T:8bitcompact
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitcompact
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitcompact
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitcompact
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitcompact
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitcompact

Compiler output

Implementation: T:8bitcompact
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
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: 105 | 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: 24 | 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: 111 | 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: 24 | 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: 123 | 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: 24 | 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_timingleaks_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: 199 | 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: 24 | 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: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitcompact
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitcompact
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitcompact
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitcompact

Compiler output

Implementation: T:8bitfast
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast

Compiler output

Implementation: T:8bitfast
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
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: 190 | 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: 27 | 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: 196 | 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: 27 | 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: 208 | 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: 108 | 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: 213 | 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: 27 | 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: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast

Compiler output

Implementation: T:8bitfast2
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bitfast2

Compiler output

Implementation: T:8bitfast2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
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: 189 | 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: 27 | 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: 195 | 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: 27 | 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: 207 | 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: 107 | 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: 212 | 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: 27 | 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: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bitfast2