initial release. tests pass at least.

This commit is contained in:
2023-01-10 07:24:12 -05:00
parent 7b000530f3
commit 29dea9ae1f
19 changed files with 3443 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
--- a/vendor/golang.org/x/crypto/chacha20/chacha_generic.go 2023-01-09 05:16:30.912219212 -0500
+++ b/vendor/golang.org/x/crypto/chacha20/chacha_generic.go 2023-01-10 02:20:55.150612278 -0500
@@ -24,7 +24,9 @@
//
// Note that this is too short to be safely generated at random if the same
// key is reused more than 2³² times.
- NonceSize = 12
+ //NonceSize = 12
+ // BITE ME, GOLANG DEVS.
+ NonceSize = 16
// NonceSizeX is the size of the nonce used with the XChaCha20 variant of
// this cipher, in bytes.

View File

@@ -0,0 +1,13 @@
--- a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go 2023-01-09 05:16:30.912219212 -0500
+++ b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go 2023-01-10 02:58:31.006536303 -0500
@@ -21,7 +21,9 @@
//
// Note that this is too short to be safely generated at random if the same
// key is reused more than 2³² times.
- NonceSize = 12
+ // NonceSize = 12
+ // BITE ME, GOLANG DEVS.
+ NonceSize = 16
// NonceSizeX is the size of the nonce used with the XChaCha20-Poly1305
// variant of this AEAD, in bytes.