crypto
crypto copied to clipboard
Some Go cryptography routines that are not included in the Go standard library.
This PR is based on #12 and will fix #13. The generic implementation doesn't require that it's safe to perform unaligned word-sized loads, but has a poor performance. Also, I...
The xorBlock function does not have support for RISC-V and thus software depending on crypto e.g. [gocryptfs](https://github.com/rfjakob/gocryptfs) does not compile on RISC-V: https://github.com/jacobsa/crypto/blob/e7a907a814d5c104f87bf371bd4f27a96ed310f9/cmac/hash_64bit.go#L16 Unfortunately, unaligned loads (which are used by...
Trying to cross compile for ARM, i got bitten by a missing implementation of the xorBlock function for ARM...
Downstream library user here ( https://github.com/rfjakob/gocryptfs ). Commit message follows: ------------- Go 1.16 makes go.mod mandatory: https://blog.golang.org/go116-module-changes This caused two errors: (1) go build failed: go: cannot find main module,...
Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing
Xor doesn't seem to work for loongarch builds. So I decided to implement this version