NetBSD/sys/crypto
rin 0d644b585e Add hack to compile aes_ccm_tag() with -O0 for m68k for GCC8.
GCC 8 miscompiles aes_ccm_tag() for m68k with optimization level -O[12],
which results in failure in aes_ccm_selftest():

| aes_ccm_selftest: tag 0: 8 bytes @ 0x4d3e38
| 03 80 5f 08 22 6f cb fe                          | .._."o..
| aes_ccm_selftest: verify 0 failed
| ...
| WARNING: module error: built-in module aes_ccm failed its MODULE_CMD_INIT, error 5

This is observed for amiga (A1200, 68060), mac68k (Quadra 840AV, 68040),
and luna68k (nono, 68030 emulator). However, it is not for sun3 (TME, 68020
emulator) and sun2 (TME, 68010 emulator). At the moment, it is unclear
whether this is due to differences b/w 68010-20 vs 68030-60, or something
wrong with TME.
2020-08-10 06:27:29 +00:00
..
adiantum Simplify internal Poly1305 API in adiantum.c. 2020-07-26 04:05:20 +00:00
aes Add hack to compile aes_ccm_tag() with -O0 for m68k for GCC8. 2020-08-10 06:27:29 +00:00
blowfish add fallthru comments. i considered patching makefiles to ignore 2019-02-04 08:23:53 +00:00
camellia
cast128
chacha Fix some clang neon intrinsics. 2020-08-09 02:49:38 +00:00
cprng_fast Rewrite cprng_fast in terms of new ChaCha API. 2020-07-28 20:15:07 +00:00
des add fallthru comments. i considered patching makefiles to ignore 2019-02-04 08:23:53 +00:00
nist_hash_drbg Use an explicit run-time assertion where compile-time doesn't work. 2019-09-19 18:29:55 +00:00
skipjack