Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/katzenpost/chacha20
fork of https://git.schwanenlied.me/yawning/chacha20
https://github.com/katzenpost/chacha20
7ce890d6a5566739998c525c9dcf80f062e43cdd authored over 5 years ago by David Stainton <[email protected]>
5d3e00398cad420a6b6bf99899751559bc4ca4a2 authored over 5 years ago by David Stainton <[email protected]>
fad9676fa4d853aeb4dd073f46c8e63dd34bae76 authored over 5 years ago by David Stainton <[email protected]>
While the Go compiler currently will not eliminate dead memset
equivalents, attempt to future-pr...
* Change the license to a strong Copyleft.
* Use go modules.
* Change the canonical upstream ...
I seem to recall the compiler doing the right thing regardless even
prior to the intrinsics, sug...
Turns out the Go compiler doesn't align the state vector in certain
conditions. Sigh.
Oops, that bug's been there forever, since the time I added back the
ChaCha20 constant to the st...
e0f5961333c7bb41ae9166e88a384939af59b264 authored over 7 years ago by Yawning Angel <[email protected]>
2524561b8ee24c13b0aa1526d827571ab3061eac authored over 7 years ago by Yawning Angel <[email protected]>
ef489547eb633de948515845c9c3226969f1de2a authored over 7 years ago by Yawning Angel <[email protected]>
c91e78db502ff629614837aacb7aa4efa61c651a authored over 8 years ago by Yawning Angel <[email protected]>
Apparently needed to avoid false positives, see the discusson at:
https://bugzilla.mozilla.org/s...
f52316f7e881543b3d4826ac0d1b362e449fe440 authored over 8 years ago by Yawning Angel <[email protected]>
f1e82858856e7da5f8548c112f9555bc382a54cc authored over 8 years ago by Yawning Angel <[email protected]>
Not a huge improvement since we spend a good amont of time fucking
around with registers or hitt...
Having them split didn't meaningfully benefit performance, and this is
easier to maintain.
LOL what the fuck is the crypto package doing...
ce28fd8bc55777c209fbf1c98e767531d88f49ea authored almost 9 years ago by Yawning Angel <[email protected]>
SSE2:
BenchmarkChaCha20_16-4 20000000 61.7 ns/op 259.32 MB/s
BenchmarkChaCha20_64-4 1...
Yes, I used to have these macros and I got rid of them, but in hindsight
that was a dumb idea.
* Add a codepath that does 2 blocks at a time to handle 128 <= n < 256,
which is probably fa...
b81c06c1204d0aa5cbe40d22c42f2235332f626f authored almost 9 years ago by Yawning Angel <[email protected]>
4eeeb1a7e3d52073ff22a8782b3f0a8b75da5904 authored almost 9 years ago by Yawning Angel <[email protected]>
Bleah.
9d75009712c3e0cf7246d874f638d911df6662ce authored almost 9 years ago by Yawning Angel <[email protected]>
Everyone else's optimized implementation, except Ted Krovetz's does
this, so I should too. The ...
Just cleanups, on the off chance I decide to do AVX2 one day.
e2d8c2c2932f3b64b1f03c29ecee198c2cf67332 authored almost 9 years ago by Yawning Angel <[email protected]>
* It seems safe to assume that x is 16 byte aligned. I was doing so
anyway by the use of PA...
a6e78418d9ff1215d83c80eabfc801dfe6d374c5 authored almost 9 years ago by Yawning Angel <[email protected]>
a0c0aac7502483b0c46ec094ead1568712263197 authored almost 9 years ago by Yawning Angel <[email protected]>
This is the IETF RFC 7539 style ChaCha20 with a 96 bit nonce and 32 bit
counter, used for constr...
Technically, I can do this in `ReKey()` and `HChaCha` as well, but it's
less straight forward, a...
e02639ba9fc660e0cc30c8ba877b725e7eba2b40 authored about 9 years ago by Yawning Angel <[email protected]>