Implementation notes: armeabi, bblack, crypto_aead/bleep64
Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_aead
Primitive: bleep64
Test failure
error 111
crypto_aead_encrypt is nondeterministic
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
Compiler output
encrypt.c: encrypt.c:25:3: error: function definition is not allowed here
encrypt.c: { t = (((uint64_t)x * y) >> 32) - (x * y); // filter LFSR, diffuse autokey
encrypt.c: ^
encrypt.c: encrypt.c:50:29: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: while ( (n -= 8) >= 0 ) { crypt(1, 1); crypt(0, 1); } // do 8 bytes per loop
encrypt.c: ^
encrypt.c: encrypt.c:51:15: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: if (n > -5) crypt(1, 1); // if 4 to 7 bytes left, do another full word
encrypt.c: ^
encrypt.c: encrypt.c:92:18: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: { return Bleep64(npub, k, m, c, ad, adlen, mlen, clen, 1); }
encrypt.c: ^~~~
encrypt.c: encrypt.c:92:24: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: { return Bleep64(npub, k, m, c, ad, adlen, mlen, clen, 1); }
encrypt.c: ^
encrypt.c: encrypt.c:92:27: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: { return Bleep64(npub, k, m, c, ad, adlen, mlen, clen, 1); }
encrypt.c: ^
encrypt.c: encrypt.c:92:33: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: { return Bleep64(npub, k, m, c, ad, adlen, mlen, clen, 1); }
encrypt.c: ^~
encrypt.c: encrypt.c:92:50: warning: incompatible pointer types passing 'unsigned long long *' to parameter of type 'int32_t *' (aka 'int *') [-Wincompatible-pointer-types]
encrypt.c: { return Bleep64(npub, k, m, c, ad, adlen, mlen, clen, 1); }
encrypt.c: ^~~~
encrypt.c: encrypt.c:100:18: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_bleep64.a(encrypt.o): in function `crypto_aead_bleep64_ref_timingleaks_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `Bleep64'
try.c: /usr/bin/ld: libcrypto_aead_bleep64.a(encrypt.o): in function `crypto_aead_bleep64_ref_timingleaks_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `Bleep64'
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |