altos/chaoskey: use both halves of the CRC
authorKeith Packard <keithp@keithp.com>
Sun, 22 Jan 2017 23:29:13 +0000 (15:29 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:52 +0000 (11:16 -0800)
commitd96224c2fdc535d08de23aec30d62d4ada9fb8d3
tree9172440e8b576a4427556a8d9f129c1650887244
parentbc076747f6cc00508aef909a3a5bd3edf8c9bd66
altos/chaoskey: use both halves of the CRC

When pulling 16 bits from the 32-bit crc, instead of just using the
low bits, xor the two halves together. This appears to even out the
number of zero and one bits.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/chaoskey-v1.0/Makefile
src/stmf0/ao_crc.h