crypto/chacha20
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
..
chacha_arm64.go all: update go directive to 1.18 2023-10-11 22:02:22 +00:00
chacha_arm64.s all: update go directive to 1.18 2023-10-11 22:02:22 +00:00
chacha_generic.go internal/subtle: rename to internal/alias 2022-08-17 18:37:53 +00:00
chacha_noasm.go chacha20: extend ppc64le support to ppc64 2024-10-11 17:09:09 +00:00
chacha_ppc64x.go chacha20: extend ppc64le support to ppc64 2024-10-11 17:09:09 +00:00
chacha_ppc64x.s chacha20: extend ppc64le support to ppc64 2024-10-11 17:09:09 +00:00
chacha_s390x.go all: update go directive to 1.18 2023-10-11 22:02:22 +00:00
chacha_s390x.s all: update go directive to 1.18 2023-10-11 22:02:22 +00:00
chacha_test.go x/crypto/chacha20: fix typo in benchmark 2020-11-24 20:17:22 +00:00
vectors_test.go chacha20: implement XChaCha20 2019-11-11 21:39:47 +00:00
xor.go chacha20: improve generic implementation performance 2020-04-20 20:11:42 +00:00