crypto: Fix a couple of issues stemming translating the SHA512 implementation from SHA256
crypto: Style tweaks
crypto: Add Salsa20/20 implementation