| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
- blake2s.Blake2s_Context -> blake2s.Context
- blake2b.Blake2b_Context -> blake2b.Context
- Fix the BLAKE2s low level API (context type was incorrect)
- Support the configurable output size
|
| |
|
|
|
| |
Assertions here are "fine" and it matches what the code that has the
checks in init/update/final already does.
|
| |
|
|
|
|
|
|
|
|
| |
Assertions can be disabled, but at the point where cryptographic
anything is involved, a single branch has an infinitesimally small
performance impact.
The correct thing to do is to punch the caller in the face if they do
something that is blatantly incorrect, especially in a security critical
setting.
|
| |
|
|
|
|
| |
- Use `encoding/endian`
- Add `@(private)` annotations to internals
- Add some descriptive comments in the unrolled compression functions
|
| | |
|
| | |
|
| | |
|
| |
|