Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/cert-manager/crypto

temporary fork to add support for ACME alternative certificate chains
https://github.com/cert-manager/crypto

Merge pull request #2 from cert-manager/readme

Updates Readme

710f6f8fb200aba572fd50bcb3fd76c86d57c2ce authored almost 2 years ago by Irbe Krumina <[email protected]>
Updates Readme

Signed-off-by: irbekrm <[email protected]>

55621537e8c0c1f3dd765e66d3c06bd91a317493 authored almost 2 years ago by irbekrm <[email protected]>
Merge pull request #1 from cert-manager/readme_update

Updates README to explain why we are using this fork

d4c19753215ab4fbf9ab7e48d723469377b9d86a authored almost 4 years ago by jetstack-bot <[email protected]>
Adds an OWNERS file

Signed-off-by: irbekrm <[email protected]>

2155a2e48248edf260b220cdd5ec5277d603f2e9 authored almost 4 years ago by irbekrm <[email protected]>
Updates README to explain why we are using this fork

Signed-off-by: irbekrm <[email protected]>

863d4869f9ddca7c49b971ff536ca2be0d112ebe authored almost 4 years ago by irbekrm <[email protected]>
Add FetchCertAlternatives for alertnative cert fetching

Signed-off-by: Maartje Eyskens <[email protected]>

e6485987d0e4b81e061a2c9f35bef0c13ed690b4 authored almost 4 years ago by Maartje Eyskens <[email protected]>
acme/autocert: include the domain in the SAN of the CSR

More compliant with the spec and allows autocert to work
with Pebble (see letsencrypt/pebble#304...

0c34fe9e7dc2486962ef9867e3edb3503537209f authored almost 4 years ago by Trevor Dixon <[email protected]>
scrypt: use encoding/binary to simplify smix

This CL simplifies the smix implementation.
It:
- replaces the manual byte-int conversion
wi...

513c2a44f67042677f472fb65720351c7332c3b8 authored almost 4 years ago by Andreas Auernhammer <[email protected]>
go.mod: bump golang.org/x/net to e18ecbb05110

This upgrades golang.org/x/net to the latest revision
which itself depends on (upgraded) golang....

e6e6c4f2bb5b5887c7f7dd52f01ea7b2fbeb297d authored almost 4 years ago by Radek Simko <[email protected]>
all: go fmt ./...

Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Not strictly n...

5ea612d1eb830b38bc4e914e37f55311eb58adce authored almost 4 years ago by Russ Cox <[email protected]>
blake2s: fix 386 assembly not to smash SP

For golang/go#44269.

Change-Id: I92e168674612af390bcb80a0579df5c777c26970
Reviewed-on: https://...

b8e89b74b9df40d0d1cd96f441924c545d8d0dea authored almost 4 years ago by Russ Cox <[email protected]>
blake2b: fix amd64 assembly not to smash SP

For golang/go#44269.

Change-Id: I7e405afd0b55c96ce0a4c6058ba01e8be1173a8c
Reviewed-on: https://...

1f2b32a52c9196977c80c48df9498f35b970aadf authored almost 4 years ago by Russ Cox <[email protected]>
salsa20/salsa: fix amd64 assembly not to smash SP

For golang/go#44269.

Change-Id: Ica352261d696317addbdd422d4cde5bf07fef839
Reviewed-on: https://...

042588c79f910d3fa4ebccc32280ff478cc9aef2 authored almost 4 years ago by Russ Cox <[email protected]>
blake2s: fix amd64 assembly not to smash SP

For golang/go#44269.

Change-Id: I877a8056dbd8ab1dedadb562aa1b3d9e1e0d55da
Reviewed-on: https://...

86c0c3e7f9624c5d1a4ff79e1605de2d53284af5 authored almost 4 years ago by Russ Cox <[email protected]>
acme: hardcode and remove ExternalAccountBinding.Algorithm

HMAC-SHA256 is a perfectly fine MAC algorithm, and there is no need to
ask the user to choose on...

eec23a3978adcfd26c29f4153eaa3e3d9b2cc53a authored about 4 years ago by Filippo Valsorda <[email protected]>
acme: add external account binding support

Implements https://tools.ietf.org/html/rfc8555#section-7.3.4

Fixes golang/go#41430

Co-authored...

9d1352758620574fd6fc23c31c59c4333b4b3fff authored about 4 years ago by James Kasten <[email protected]>
ssh: disallow gssapi-with-mic if GSSAPIWithMICConfig is not set

The ability to trigger the 'gssapi-with-mic' authentication method is
not properly gated by the ...

8b5274cf687fd9316b4108863654cc57385531e8 authored about 4 years ago by Roland Shoemaker <[email protected]>
README.md: add badge to pkg.go.dev

A badge linking to https://pkg.go.dev/golang.org/x/crypto is added.

Change-Id: Ifa07c0c04e3dd30...

5f87f3452ae96c4850ab9af7783f2517b643061b authored about 4 years ago by Julie Qiu <[email protected]>
all: build tags: appengine,!gccgo => purego,gc

appengine is obsolete and superseded by purego, and gc is a more
precise tag for files that use ...

be400aefbc4c83e9aab51e82b8d4b12760653b47 authored about 4 years ago by Tamir Duberstein <[email protected]>
x/crypto/chacha20: fix typo in benchmark

Change-Id: I003c389585a42089fc9cc595d1f5f1027cd482f2
Reviewed-on: https://go-review.googlesource...

c8d3bf9c5392d5f66747f112cd55055d7a530b19 authored about 4 years ago by Roland Shoemaker <[email protected]>
ssh/terminal: bump x/term dependency to fix js/nacl

Brings in CL 258002 which should fix builds for unsupported targets.

Change-Id: I06e6b79347f908...

c1f2f97bffc9c53fc40a1a28a5b460094c0050d9 authored about 4 years ago by Filippo Valsorda <[email protected]>
ssh/terminal: replace with a golang.org/x/term wrapper

The package moved to x/term in CL 258001.

Fixes golang/go#31044

Change-Id: I9d39bfb6f54f09de60...

4be66e5b658251a93e17d931a68d9c0ecba9f83a authored about 4 years ago by Filippo Valsorda <[email protected]>
ssh/terminal: add support for zos

Fixes golang/go#42496

Change-Id: Iae2ddb916904d9b3947bec9638c9fbf892df7b7c
Reviewed-on: https:/...

0c6587e931a935f573efb6988c8470cd8c0a58de authored about 4 years ago by Mahdi Hosseini Moghaddam <[email protected]>
ssh: improve error message for KeyboardInteractiveChallenge

Fixes golang/go#41823

Change-Id: I4653f23239bdf2ab472d3d15c6653b89ebf7ccd4
GitHub-Last-Rev: 179...

9e8e0b390897c84cad53ebe9ed2d1d331a5394d9 authored about 4 years ago by Aidan Coyle <[email protected]>
crypto/ssh: add Client.Close in Dial example

Fixes golang/go#41906

Change-Id: I2eee82160a4450f531f11d5ba7bd6ed19c019992
Reviewed-on: https:/...

84dcc777aaee85807c99afb056f496a3a8b3d8de authored about 4 years ago by Emmanuel T Odeke <[email protected]>
internal/wycheproof: add RSA OAEP decryption tests

Uses only the test vectors that use the same MGF and label hashes.

Change-Id: I971f78556e7b8fdb...

7f63de1d35b0f77fa2b9faea3e7deb402a2383c8 authored over 4 years ago by Roland Shoemaker <[email protected]>
nacl/auth: use Size instead of KeySize for Sum output

Fixes golang/go#41692

Change-Id: If6e885ca2e016dfecf534093c989356142ec7823
GitHub-Last-Rev: fe6...

c90954cbb977fd7832b7baaec1e03e7c4dd38f52 authored over 4 years ago by woat <[email protected]>
ocsp: Improve documentation for ParseResponse and ParseResponseForCert

This change clarifies the behaviors of ParseResponse and ParseResponseForCert,
particularly when...

eb9a90e9f9cb7f9bbc5a653e097fef273e13d5b9 authored over 4 years ago by Roland Shoemaker <[email protected]>
ssh: remove slow unnecessary diffie-hellman-group-exchange primality check

The existing implementation validates that the prime returned by the server is, in fact, prime, ...

afb6bcd081ae5258e9449bf8b9af19593c9b261f authored over 4 years ago by Daniel Cohen <[email protected]>
sha3: remove go:nocheckptr annotation

As of Go 1.14.1, -d=checkptr no longer errors on unaligned reads of
non-pointer data.

This reve...

5c72a883971a4325f8c62bf07b6d38c20ea47a6a authored over 4 years ago by Bryan C. Mills <[email protected]>
internal/wycheproof: add generic AEAD test

Add a generic AEAD test that exercises the vectors for AES GCM,
ChaCha20Poly-1305, and XChaCha20...

123391ffb6de907695e1066dc40c1ff09322aeb6 authored over 4 years ago by Roland Shoemaker <[email protected]>
pkcs12: drop PKCS#12 attributes with unknown OIDs

Looking at our own use case as well as people running into the same issue
[1][2], it seems like ...

948cd5f35899cbf089c620b3caeac9b60fa08704 authored over 4 years ago by chronologos <[email protected]>
pkcs12: document that we use the wrong PEM type

Fixes golang/go#28018

Change-Id: I2daf99789328ef476de834c3cc703e01b468b3ee
Reviewed-on: https:/...

ab33eee955e00ff7c973405b2780aca48d293014 authored over 4 years ago by Filippo Valsorda <[email protected]>
ssh: Make error message deterministic

By using a slice instead of a map for tried authentication methods the order is always the same....

75b288015ac94e66e3d6715fb68a9b41bf046ec2 authored over 4 years ago by Julian Kornberger <[email protected]>
internal/wycheproof: add tests for hmac generation

Required updating wycheproofModVer to pull the most recent test
vectors. Tests against SHA1, SHA...

70a84ac30bf957c7df57edd1935d2081871515e1 authored over 4 years ago by Roland Shoemaker <[email protected]>
ssh: don't err out on channel request msgs to unknown channels

rfc4254 section 5.4 states that channel request messages sent to an
unrecognized channel should ...

279210d13fedf5be6d476bad5df6a015042bb905 authored over 4 years ago by Erick Tryzelaar <[email protected]>
Use boolean tag (0x01) for boolean type.

Fix for problem with ReadASN1Boolean, which uses invalid tag (Integer / 0x02) when trying to rea...

06a226fb4e3765ef3f48aa2852b401bc7b98e981 authored over 4 years ago by Pasi Tähkäpää <[email protected]>
poly1305: modify s390x assembly to implement MAC interface

The vector (vx) implementation has been updated to read in the
state and update it - as opposed ...

4b2356b1ed79e6be3deca3737a3db3d132d2847a authored over 4 years ago by Michael Munday <[email protected]>
ssh: improve docs on Certificate.SignCert

Document the fact that SignCert sets the Nonce field. This makes it
clear that callers need not...

729f1e841bcca28c2cd9f4034d6f7672604dbeda authored over 4 years ago by Lily Chung <[email protected]>
chacha20: don't panic encrypting the final blocks

Certain operations with counter values close to overflowing were causing
an unnecessary panic, w...

4bdfaf469ed5a1194e0ec57ec7b1af73991a7ee3 authored over 4 years ago by Filippo Valsorda <[email protected]>
cryptobyte: handle AddASN1BigInt with -1

Fixes golang/go#38510

Change-Id: Ie52db22bf85a5f79046fad95e5bbe2788c3bec92
Reviewed-on: https:/...

18b771bd64f19baf6611ce73e30afe2e1a50082c authored over 4 years ago by Katie Hockman <[email protected]>
poly1305: add (*MAC).Verify API and use it in chacha20poly1305

Also, make sure New inlines so it does not cause an allocation. With
this, we have a zero alloca...

44a6062868251b249d52ec1c39797568f724bdca authored over 4 years ago by Filippo Valsorda <[email protected]>
chacha20: improve generic implementation performance

Some small changes to improve computation throughput of noasm chacha20 by between 4-11%.

name ...

3c4aac89819a5fdc28d906456729d3423fd46969 authored over 4 years ago by Andy Wang <[email protected]>
Revert "chacha20: don't panic encrypting the final blocks"

This reverts CL 224279.

Reason for revert: broken on arm64, ppc64le and s390x 😢

Change-Id: I86...

a76a400e302568c342acfdbe6e92c6531be3eb86 authored over 4 years ago by Filippo Valsorda <[email protected]>
chacha20: don't panic encrypting the final blocks

Certain operations with counter values close to overflowing were causing
an unnecessary panic, w...

1c2c788b11ecf76cd7fbd7bba62146eb7082bdd8 authored over 4 years ago by Filippo Valsorda <[email protected]>
Update reference to CBC vulnerability in cipher.go

The original referenced paper is no longer available. I contacted the author, and this is the re...

884d27f42877f544ba37fd9a6651180096180731 authored over 4 years ago by Bob McNaughton <[email protected]>
chacha20poly1305: improve ExampleNewX

The example was failing to direct users on what to do with the nonce,
which should be almost uni...

0848c9571904fcbcb24543358ca8b5a7dbfde875 authored over 4 years ago by Filippo Valsorda <[email protected]>
ssh/terminal: handle ctrl+C, ctrl+F, ctrl+B

ctrl+C: terminate readline, which may result in application termination.
ctrl+F: keyRight
ctrl+B...

4f8f47aa7992c1b4e3e3e3504645a9e4e075fc81 authored over 4 years ago by Hana (Hyang-Ah) Kim <[email protected]>
ssh/agent: handle ed25519.PrivateKey by value in AddedKey

Also document that ed25519 is supported.

Change-Id: Ibc4f44069eae4ff1aad27f22fc651a2f7611679d
G...

056763e48d71961566155f089ac0f02f1dda9b5a authored almost 5 years ago by Alex Gaynor <[email protected]>
blake2b,blake2s: clarify difference between blake2b and blake2s

Fixes golang/go#37784

Change-Id: I2fdaf96979390f3744ba8135da78107a15f5e9a8
Reviewed-on: https:/...

baeed622b8d86045ff442b324772b0ad306a2b3f authored almost 5 years ago by Katie Hockman <[email protected]>
ssh: support aes256-cbc for passphrase-protected OpenSSH keys

The existing code for decrypting OpenSSH-format keys only allows aes256-ctr, the current ssh-key...

0ec3e9974c59449edd84298612e9f16fa13368e8 authored almost 5 years ago by Ross Kinsey <[email protected]>
gitignore: remove obsolete reference to .hgignore in comment

Change-Id: Ie2b79a1132b3d59e5bedc71cb5aa8d9aafeb8c68
Reviewed-on: https://go-review.googlesource...

891825fb96dfc23279b4a42f710d49e78e05b333 authored almost 5 years ago by Yannic Bonenberger <[email protected]>
internal/wycheproof: update TestEcdsa to use ecdsa.VerifyASN1

Change-Id: Ibd6ce156550615cb85c06e734641c34fca0cfcd0
Reviewed-on: https://go-review.googlesource...

97fc981609bed3eb7ea949807ec2c3a271ef4086 authored almost 5 years ago by Katie Hockman <[email protected]>
ssh: fix data race in dh group exchange sha256

Fixes golang/go#37607

Change-Id: Iedf6522ec9b9a676ac51c054407a6aef894885f5
GitHub-Last-Rev: 8cb...

1b76d66859c6111b3d5c3ea6600ea44dc188bf12 authored almost 5 years ago by Lucas Bremgartner <[email protected]>
sha3: mark xorInUnaligned with go:nocheckptr

It is unclear whether unaligned reads should be allowed, or if they
are even actually a good ide...

f7b00557c8c46a1ea4b035cae84f52028c2c0564 authored almost 5 years ago by Bryan C. Mills <[email protected]>
acme: make WaitAuthorization return authorization errors consistently

Fixes golang/go#37340

Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c
GitHub-Last-Rev: 421...

78000ba7a073cafc0278790f6bce552a0f25850e authored almost 5 years ago by Andrew Louis <[email protected]>
openpgp/packet: ensure that first partial packet is 512 bytes

This requirement is from RFC 4880 4.2.2.4.

Also simplify the partialLengthWriter loop. The old ...

32487eceac714ab927b55a454631e9d449a81b55 authored almost 5 years ago by Ian Lance Taylor <[email protected]>
chacha20,poly1305,chacha20poly1305: set consistent build tags

appengine was only necessary for the legacy system based on Go 1.9, drop
that. Add purego tags i...

2aa609cf4a9d7d1126360de73b55b6002f9e052a authored almost 5 years ago by Filippo Valsorda <[email protected]>
chacha20: add SetCounter method

Fixes golang/go#35506

Change-Id: I5cfc6b4dc07ab368e370edaee11841c2c1377f82
GitHub-Last-Rev: 161...

eddbd5da4704b10e6e0fed8557625dcdbc8eb6c6 authored almost 5 years ago by lukechampine <[email protected]>
internal/wycheproof: add test for ChaCha20-Poly1305 AEAD encryption/decryption

Change-Id: I71d62f95954a39c476bee55e22b6fcf96a196de1
Reviewed-on: https://go-review.googlesource...

0f24fbd83dfbb33be4b41327d5a857464b89e3cd authored almost 5 years ago by Katie Hockman <[email protected]>
ssh: return an error for malformed ed25519 public keys rather than panic

An attacker can craft an ssh-ed25519 or [email protected]
public key, such that the lib...

bac4c82f69751a6dd76e702d54b3ceb88adab236 authored almost 5 years ago by Filippo Valsorda <[email protected]>
internal/wycheproof: add test for CBC decryption with PKCS#5 padding

Change-Id: Ie60bdc10065018e193271b4f90f50298f1272396
Reviewed-on: https://go-review.googlesource...

1ad67e1f0ef495d4014b6ffd8f2cf80f91fffbce authored almost 5 years ago by Katie Hockman <[email protected]>
acme/autocert: remove unused listener struct field

Change-Id: Ie7f4848d7388811bdcf1937eab9d603de64d6e96
Reviewed-on: https://go-review.googlesource...

1d94cc7ab1c630336ab82ccb9c9cda72a875c382 authored almost 5 years ago by Brad Fitzpatrick <[email protected]>
acme/autocert: fix TLS-ALPN identifier in tests

CL 204177 broke autocert tests because they expected the old OID.

Fixes golang/go#37160

Change...

86ce3cb696783b739e41e834e2eead3e1b4aa3fb authored almost 5 years ago by Jason Baker <[email protected]>
acme: update TLS-ALPN identifier to the latest IANA assignment

It looks like the source code has fallen out of date with the draft spec.
The latest version htt...

6ca56c2f2e2b26dc733347707d0e75d8eb050ee1 authored almost 5 years ago by Jason Baker <[email protected]>
ssh/terminal: adjust ReadConsole rules on windows

CL 212377 changed end of input character on windows - from \n to \r.
But CL 212377 did not adjus...

ecb85df213405b7d32e4d73cb5bbaace2ec88881 authored almost 5 years ago by Alex Brainman <[email protected]>
ssh: support ECDSA private keys in OpenSSH format

This adds support for parsing OpenSSH ECDSA private keys. It
implements parsing for P-256, P-384...

a95e85b341fd3d114b379054ba41d2d1006beee4 authored almost 5 years ago by Mariano Cano <[email protected]>
internal/wycheproof: add test for hkdf key extraction

Change-Id: I501bcc2f4bd8107937756087d20e849e3a4bc182
Reviewed-on: https://go-review.googlesource...

a0c6ece9d31a0ebfbd3ddf2d290cfb1265ba47c7 authored almost 5 years ago by Katie Hockman <[email protected]>
ssh: support encrypted OpenSSH private keys

Includes the bcrypt_pbkdf package by Dmitry Chestnykh,
submitted with permission on his behalf u...

c9f3fb736b729628ec1e9c1a6b4313e883f452f9 authored almost 5 years ago by Filippo Valsorda <[email protected]>
cryptobyte: fix panic due to malformed ASN.1 inputs on 32-bit archs

When int is 32 bits wide (on 32-bit architectures like 386 and arm), an
overflow could occur, ca...

69ecbb4d6d5dab05e49161c6e77ea40a030884e1 authored almost 5 years ago by Filippo Valsorda <[email protected]>
openpgp/armor: allow armored PGP signature without a CRC

RFC 4800, Section 6 specifies that the CRC at the end of the
armor is optional, so do not fail t...

530e935923ad688be97c15eeb8e5ee42ebf2b54a authored almost 5 years ago by Katie Hockman <[email protected]>
ssh/terminal: stop using ENABLE_LINE_INPUT

ReadConsole does not read more than 254 bytes when ENABLE_LINE_INPUT is
enabled.

Fixes golang/g...

6d4e4cb37c7d6416dfea8472e751c7b6615267a6 authored almost 5 years ago by Yasuhiro Matsumoto <[email protected]>
poly1305: drop broken arm assembly

The ARM assembly uses the reserved G register. This started causing
frequent crashes due to asyn...

61a87790db17894570dfb32dbaa0a4af9ce60cb4 authored almost 5 years ago by Filippo Valsorda <[email protected]>
sha3: fix SHA-3 on s390x when using KIMD instruction

An illegal instruction would occur due to a bug in the way input
slices were rounded down in siz...

5d647ca1575777a812e903a7e98177174d8c295a authored about 5 years ago by Michael Munday <[email protected]>
internal/wycheproof: skip failing test on 32-bit arm

Fixes golang/go#36164

Change-Id: I4248cb3e25346f6859c473b729811b36ac6cf872
Reviewed-on: https:/...

53104e6ec876ad4e22ad27cce588b01392043c1b authored about 5 years ago by Katie Hockman <[email protected]>
nacl/box: support anonymous seal/open

This adds SealAnonymous and OpenAnonymous functions that implement the
libsodium "sealed box" fu...

becbf705a91575484002d598f87d74f0002801e7 authored about 5 years ago by Ben Toews <[email protected]>
internal/wycheproof: add Wycheproof tests for verifying signatures

https://github.com/google/wycheproof provides test vectors exposing
vulnerabilities in crypto pa...

e9b2fee46413994441b28dfca259d911d963dfed authored about 5 years ago by Katie Hockman <[email protected]>
acme: expect standard ASN.1 signatures from ECDSA Client.Key

Previously, an ECDSA crypto.Signer would have been expected to return a
signature in RFC7518 for...

e7c4368fe9ddd156b5f1463283cb51c5b400c373 authored about 5 years ago by edef <[email protected]>
ssh: reject unencrypted keys from ParsePrivateKeyWithPassphrase

The behavior of ParsePrivateKeyWithPassphrase when the key is
unencrypted is unspecified. Curren...

0a08dada0ff98d02f3864a23ae8d27cb8fba5303 authored about 5 years ago by Filippo Valsorda <[email protected]>
ssh: add sk-ecdsa-sha2-nistp256 and sk-ed25519

This adds server-side support for the newly introduced OpenSSH
keytypes sk-ecdsa-sha2-nistp256@o...

86a70503ff7e82ffc18c7b0de83db35da4791e6a authored about 5 years ago by Sebastian Kinne <[email protected]>
ssh/agent: fix TestServerResponseTooLarge on Plan 9

First, modify the test to report a better error by waiting for the
Marshal+Write goroutine to fi...

b544559bb6d1b5c62fba4af5e843ff542174f079 authored about 5 years ago by Fazlul Shahriar <[email protected]>
ssh/agent: fix example

Since there is no ClientAgent identifier, ExampleClientAgent wasn't
displayed as an example by g...

ac88ee75c92c889b97e05591e9a39b6480c538b3 authored about 5 years ago by Filippo Valsorda <[email protected]>
ssh/agent: clear the environment when starting ssh-agent in client_test

Certain environment variables can influence the behavior of ssh-agent,
causing the test to fail....

4f8c1d86b1ba699e7a66cd649947ed270a74e0bb authored about 5 years ago by Bryan C. Mills <[email protected]>
ssh/test: fix test goroutine error handling

Adds an error channel to the test helper function
testPortForward() to collect errors that happe...

497ca9f6d64f9bb73048a960b4098309edcd2205 authored about 5 years ago by Lars Lehtonen <[email protected]>
openpgp/elgamal: prevent bad key from causing panic in Decrypt

If the mod inverse of the private key's P value does not exist,
return an error in Decrypt rathe...

e1110fd1c708ef015366ea01799a23c459593c47 authored about 5 years ago by Katie Hockman <[email protected]>
chacha20: implement XChaCha20

Simply add the NonceSizeX constant, and accept 24 bytes nonces in
NewUnauthenticatedCipher. Base...

16651526fdb40c41f6e4da1ad8138f08f012e842 authored about 5 years ago by Filippo Valsorda <[email protected]>
chacha20: expose internal/chacha20 package

const KeySize = 32
const NonceSize = 12
func HChaCha20(key, nonce []byte) ([]byte, error)
type C...

e0829623afd464429396234eeac9277b0135e15f authored about 5 years ago by Filippo Valsorda <[email protected]>
internal/chacha20: cache first round across XORKeyStream invocations

name old speed new speed delta
ChaCha20/64-4 428MB/s ± 1% 432MB/s ...

9b708ad8e1a3fb29b81d7e722d70a4226e2acf7a authored about 5 years ago by Filippo Valsorda <[email protected]>
internal/chacha20: refactor for readability and consistency

Separated the complex buffering logic from key stream generation more
clearly, added plenty of c...

85e5e33df3ab4a4c7fcfc67d04bbeb97fc2d8e89 authored about 5 years ago by Filippo Valsorda <[email protected]>
poly1305: rewrite the Go implementation with 64-bit limbs

The new code is meant to be readable without external references for
Poly1305, and explains the ...

2dbfe9001fa8e8b979ff80a1c88b888d48e1b575 authored about 5 years ago by Filippo Valsorda <[email protected]>
pkcs12: fix dropped error

This fixes a dropped error in Decode().

Change-Id: Iae5cac72f63a80dd5230034a3cfe1d6e76cc3415
Re...

bd318be0434a57050ed475e0f45c3dbb16c09c2e authored about 5 years ago by Lars Lehtonen <[email protected]>
ssh: fix dropped error

This fixes an error variable that was being dropped
prior to the return of dhGroup.Server().

Ch...

6e5058baadf9730b334298ee694a1784b617eb21 authored about 5 years ago by Lars Lehtonen <[email protected]>
acme/internal/acmeprobe: fix dropped error variable

This fixes a dropped err in runPreauthz().

Change-Id: I46f98d0a21e037a49e4b779895214538d1162376...

0a56756db3fad06b0fa979a3188e73901e218265 authored about 5 years ago by Lars Lehtonen <[email protected]>
curve25519: implement new X25519 API and deprecate ScalarMult

const ScalarSize = 32
const PointSize = 32
var Basepoint []byte
func X25519(scal...

f4817d981bb690635456c5c1c6aa0585e5d45891 authored about 5 years ago by Filippo Valsorda <[email protected]>
curve25519: update package structure per golang.org/wiki/TargetSpecific

This was extracted from CL 205157.

Updates golang/go#31470

Change-Id: I8109b874d4c3897ffc920bb...

fe70532ba32e024e51cfd718fbd66067c012d234 authored about 5 years ago by Filippo Valsorda <[email protected]>
internal/chacha20: fix minor naming issue

This corrects a compile error due to a mismatch between function
description and the assembler c...

ed6320f186d4e69b2ba748dd0084746281301a8e authored about 5 years ago by Lynn Boger <[email protected]>
sha3: align (*state).storage

Even on platforms that allow unaligned reads, the Go runtime assumes
that a pointer to a given t...

c7e5f84aec591254278750bee18f39e5dd19cdb5 authored about 5 years ago by Bryan C. Mills <[email protected]>
acme/autocert: always pass AuthzURLs from AuthorizeOrder to deactivatePendingAuthz

Previously, the o.AuthzURLs slice was sometimes used from the call to
client.WaitOrder at the bo...

8986dd9e96cf0a6f74da406c005ba3df38527c04 authored about 5 years ago by Dmitri Shuralyov <[email protected]>
go.mod: set go version

Change-Id: I45f1816a359ad6fab548338fd3a6b01dda32d01f
Reviewed-on: https://go-review.googlesource...

f83a4685e1528a5ebee78469d2a3262e2d505b0b authored about 5 years ago by Bryan C. Mills <[email protected]>
acme/autocert: give tokensMu a better name

The Manager's internal tokensMu is a bit overloaded and needs
a better name. This came up in gol...

87dc89f01550277dc22b74ffcf4cd89fa2f40f4c authored about 5 years ago by Alex Vaghin <[email protected]>