Implementation notes: aarch64, gcc185, crypto_stream/hc128

Computer: gcc185
Microarchitecture: aarch64; Skylark (503f0002)
Architecture: aarch64
CPU ID: 503f0002
SUPERCOP version: 20240107
Operation: crypto_stream
Primitive: hc128

Compiler output

Implementation: T:e/hc-128/200606
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: ./e/hc-128.c:207:54: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 207 | for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: | ^
hc-128.c: ./e/hc-128.c:221:57: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 221 | for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: | ^
hc-128.c: ./e/hc-128.c:269:45: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 269 | ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: | ^
hc-128.c: 3 errors generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200606
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200606
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200606
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200606
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200606

Compiler output

Implementation: T:e/hc-128/200606
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: e/hc-128.c: In function 'crypto_stream_hc128_e_hc_128_200606_timingleaks_ECRYPT_keysetup':
hc-128.c: e/hc-128.c:207:54: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^~~~~~~~~~~~~~
hc-128.c: U8TO32_LITTLE
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200606_timingleaks_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200606_timingleaks_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200606_timingleaks_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200606
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200606
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200606
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200606

Compiler output

Implementation: T:e/hc-128/200701a
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: ./e/hc-128.c:239:54: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 239 | for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: | ^
hc-128.c: ./e/hc-128.c:253:57: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 253 | for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: | ^
hc-128.c: ./e/hc-128.c:301:45: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 301 | ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: | ^
hc-128.c: 3 errors generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701a
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701a
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701a
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701a
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701a

Compiler output

Implementation: T:e/hc-128/200701a
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: e/hc-128.c: In function 'crypto_stream_hc128_e_hc_128_200701a_timingleaks_ECRYPT_keysetup':
hc-128.c: e/hc-128.c:239:54: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^~~~~~~~~~~~~~
hc-128.c: U8TO32_LITTLE
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200701a_timingleaks_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200701a_timingleaks_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200701a_timingleaks_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701a
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701a
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701a
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701a

Compiler output

Implementation: T:e/hc-128/200701b
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: ./e/hc-128.c:209:54: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 209 | for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: | ^
hc-128.c: ./e/hc-128.c:223:57: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 223 | for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: | ^
hc-128.c: ./e/hc-128.c:271:45: error: call to undeclared function 'U32TO32_LITTLE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hc-128.c: 271 | ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: | ^
hc-128.c: 3 errors generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701b
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701b
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701b
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701b
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/hc-128/200701b

Compiler output

Implementation: T:e/hc-128/200701b
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hc-128.c: In file included from hc-128.c:1:
hc-128.c: e/hc-128.c: In function 'crypto_stream_hc128_e_hc_128_200701b_timingleaks_ECRYPT_keysetup':
hc-128.c: e/hc-128.c:209:54: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^~~~~~~~~~~~~~
hc-128.c: U8TO32_LITTLE
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200701b_timingleaks_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200701b_timingleaks_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o): In function `crypto_stream_hc128_e_hc_128_200701b_timingleaks_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: libcrypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701b
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701b
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701b
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/hc-128/200701b