Implementation notes: aarch64, a72, crypto_aead/ppaev11

Computer: a72
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20170904
Operation: crypto_aead
Primitive: ppaev11

Test failure

Implementation: crypto_aead/ppaev11/ref
Compiler: gcc -funroll-loops -march=native -mtune=native -O2
error 111
crypto_aead_decrypt returns nonzero

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=native -O2 ref
gcc -funroll-loops -march=native -mtune=native -O3 ref
gcc -march=native -mtune=native -O2 ref
gcc -march=native -mtune=native -O3 ref

Test failure

Implementation: crypto_aead/ppaev11/ref
Compiler: gcc -funroll-loops -march=native -mtune=native -Os
error 111

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=native -Os ref
gcc -march=native -mtune=native -Os ref

Compiler output

Implementation: crypto_aead/ppaev11/ref
Compiler: gcc -funroll-loops -march=native -mtune=native -O2
encrypt.c: encrypt.c: In function 'crypto_aead_ppaev11_ref_encrypt':
encrypt.c: encrypt.c:36:46: warning: passing argument 3 of 'gen_ivs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: memcpy( _k, k, 16 ); gen_ivs( _IVa, _IVb, npub, k ); // It would be the right place to preset AES key to avoid rekeying for every block
encrypt.c: ^~~~
encrypt.c: encrypt.c:15:13: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: static void gen_ivs( unsigned char *, unsigned char *, unsigned char *, unsigned char * );
encrypt.c: ^~~~~~~
encrypt.c: encrypt.c:36:52: warning: passing argument 4 of 'gen_ivs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: memcpy( _k, k, 16 ); gen_ivs( _IVa, _IVb, npub, k ); // It would be the right place to preset AES key to avoid rekeying for every block
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^~
encrypt.c: encrypt.c:17:13: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: static void gtag_ad( unsigned char *, unsigned char *, unsigned long long, unsigned char *, unsigned char * );
encrypt.c: ^~~~~~~
encrypt.c: encrypt.c:79:34: warning: passing argument 4 of 'decppae' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: decppae( b1, d_IVa, d_IVb, c, d_k );
encrypt.c: ^
encrypt.c: encrypt.c:19:13: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: static void decppae( unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char * );
encrypt.c: ^~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=native -O2 ref
gcc -funroll-loops -march=native -mtune=native -O3 ref
gcc -funroll-loops -march=native -mtune=native -Os ref
gcc -march=native -mtune=native -O2 ref
gcc -march=native -mtune=native -O3 ref
gcc -march=native -mtune=native -Os ref