commit | 513c2a44f67042677f472fb65720351c7332c3b8 | [log] [tgz] |
---|---|---|
author | Andreas Auernhammer <aead@mail.de> | Mon Sep 07 15:04:55 2020 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Wed Mar 17 15:28:58 2021 +0000 |
tree | 00b365df8fd6b53934678acc5999c33605fa4879 | |
parent | e6e6c4f2bb5b5887c7f7dd52f01ea7b2fbeb297d [diff] |
scrypt: use encoding/binary to simplify smix This CL simplifies the smix implementation. It: - replaces the manual byte-int conversion with functionality from encoding/binary. - pre-computes the range `r * 32` as `R`. Change-Id: Ife4920089c011fec82b234fb56df33e94204e0f8 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/253357 Reviewed-by: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Tobias Klauser <tobias.klauser@gmail.com>
This repository holds supplementary Go cryptography libraries.
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
.
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.