[mirror] Go supplementary cryptography libraries
Перейти к файлу
Paul E. Murphy b61b08db44 chacha20: extend ppc64le support to ppc64
This requires fixing an incorrect save of the counter. It is a word
value. It happens to work on LE because length is limited to u32.

Refactor the constant table to load correctly independent of byte
ordering.

Add byte order swapping where output needs converted to LE
ordering for storage.

Change-Id: Ic7e09bd1c769bb77dd6e817f5a8639ba765f4c0f
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/614297
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Archana Ravindar <aravinda@redhat.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-11 17:09:09 +00:00
acme all: fix printf(var) mistakes detected by latest printf checker 2024-09-04 21:26:08 +00:00
argon2 argon2: Avo port of blamka_amd64.s 2024-09-04 20:33:49 +00:00
bcrypt all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
blake2b blake2b: port blake2b_amd64.s to Avo 2024-09-04 20:34:46 +00:00
blake2s blake2s: port blake2s_amd64.s to Avo 2024-09-04 20:34:20 +00:00
blowfish all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
bn256 bn256: add missing symbols in comment 2024-09-10 20:43:33 +00:00
cast5 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
chacha20 chacha20: extend ppc64le support to ppc64 2024-10-11 17:09:09 +00:00
chacha20poly1305 chacha20poly1305: Avo port of chacha20poly1305_amd64.s 2024-09-04 20:35:14 +00:00
cryptobyte all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
curve25519 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
ed25519 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
hkdf all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
internal internal/poly1305: extend ppc64le support to ppc64 2024-10-04 20:59:56 +00:00
md4 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
nacl all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
ocsp all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
openpgp all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
otr all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
pbkdf2 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
pkcs12 all: use math/bits.RotateLeft 2022-10-24 17:35:37 +00:00
poly1305 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
ripemd160 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
salsa20 salsa20/salsa: Port salsa20_amd64.s to Avo 2024-09-04 20:34:59 +00:00
scrypt all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
sha3 sha3: fix cSHAKE initialization for extremely large N and or S 2024-09-30 15:41:13 +00:00
ssh ssh: return ServerAuthError after too many auth failures 2024-09-16 20:42:53 +00:00
tea all: deprecate broken and legacy packages 2019-02-22 23:25:34 +00:00
twofish all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
x509roots x509roots/fallback: update bundle 2024-09-03 18:00:24 +00:00
xtea all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
xts all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
.gitattributes crypto: copying .gitattributes to all subrepositories 2014-12-23 06:54:52 +00:00
.gitignore gitignore: remove obsolete reference to .hgignore in comment 2020-03-20 18:11:02 +00:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:59 +00:00
LICENSE LICENSE: update per Google Legal 2024-07-16 16:09:32 +00:00
PATENTS go.crypto: add PATENTS file to the subrepo. 2012-04-16 11:25:08 +10:00
README.md README.md: add badge to pkg.go.dev 2020-12-08 17:14:46 +00:00
codereview.cfg crypto: add codereview.cfg 2015-03-18 17:04:25 +00:00
go.mod go.mod: update golang.org/x dependencies 2024-10-04 15:35:24 +00:00
go.sum go.mod: update golang.org/x dependencies 2024-10-04 15:35:24 +00:00

README.md

Go Cryptography

Go Reference

This repository holds supplementary Go cryptography libraries.

Download/Install

The easiest way to install is to run go get -u golang.org/x/crypto/.... You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with "x/crypto:" in the subject line, so it is easy to find.

Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.