Yawning Angel
|
e3b1f968fc
Use `math/bits` on Go 1.9.
|
1 year ago |
Yawning Angel
|
6f059cfcee
Use unaligned loads/stores for interacting with the state.
|
1 year ago |
Yawning Angel
|
70289bb213
Fix the counter wrap detection for the IETF mode.
|
1 year ago |
Yawning Angel
|
e0f5961333
Minor amd64 assembly cleanups.
|
1 year ago |
Yawning Angel
|
2524561b8e
Add an explicit VZEROALL() call.
|
1 year ago |
Yawning Angel
|
ef489547eb
Remove a bunch of useless loops.
|
1 year ago |
Yawning Angel
|
c91e78db50
Move the hChaChaRef routine to where it makes more sense.
|
2 years ago |
Yawning Angel
|
427872221e
Check the CPUID max leaf before testing for AVX2 support.
|
2 years ago |
Yawning Angel
|
f52316f7e8
Renamed one of the loops that I missed...
|
2 years ago |
Yawning Angel
|
f1e8285885
Fix `go vet` warnings.
|
2 years ago |
Yawning Angel
|
f24f7076db
Process 8 blocks at a time when doing AVX2.
|
2 years ago |
Yawning Angel
|
71f91b722b
Merge the AVX2 2 blocks and 1 block code paths.
|
2 years ago |
Yawning Angel
|
ce28fd8bc5
Add an AES benchmark for comparison.
|
2 years ago |
Yawning Angel
|
8be2ad5dc9
Initial AVX2 support.
|
2 years ago |
Yawning Angel
|
35dd0b7234
Cleanup the SSE2 python code generation to be more maintainable.
|
2 years ago |
Yawning Angel
|
a6ea289026
More SSE2 optimizations, and improve tests a bit.
|
2 years ago |
Yawning Angel
|
b81c06c120
Update comments to match reality. No functional changes.
|
2 years ago |
Yawning Angel
|
4eeeb1a7e3
Add a README.md file, no functional changes.
|
2 years ago |
Yawning Angel
|
9d75009712
Clear xmm0 and use that to purge the stack.
|
2 years ago |
Yawning Angel
|
4460834de4
For the SSE2 codepath, process 4 blocks at a time.
|
2 years ago |
Yawning Angel
|
e2d8c2c293
Compact/rename things in the PeachPy script.
|
2 years ago |
Yawning Angel
|
6788ab3601
More AMD64 cleanups.
|
2 years ago |
Yawning Angel
|
a6e78418d9
Get rid of the stupid sigma parameter to the AMD64 SSE2 code.
|
2 years ago |
Yawning Angel
|
a0c0aac750
Get rid of the stupid "one" parameter in the amd64 version.
|
2 years ago |
Yawning Angel
|
f3a398b735
Support 96 bit nonces, and a `c.Seek(counter)` method.
|
2 years ago |
Yawning Angel
|
d9bf595c68
Optimize HChaCha by abusing unsafe when saving the output.
|
3 years ago |
Yawning Angel
|
e02639ba9f
Initial import.
|
3 years ago |