Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information