1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:34:44 -07:00
go/src/bytes
Keith Randall 7c90e2cbda bytes/hash: disable seed test on 32-bit platforms
The distribution of hash outputs when varying the seed is
not good enough on 32-bit platforms.

This isn't a likely attack vector (the adversary controlling the seed),
so it isn't a huge deal. Would be nice to fix, though. For now, just
skip this test.

Fixes #33988

Change-Id: Icf51ab687fc215422a5492ae78e6f414b33e04cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/193078
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-09-03 19:37:16 +00:00
..
hash bytes/hash: disable seed test on 32-bit platforms 2019-09-03 19:37:16 +00:00
boundary_test.go
buffer_test.go bytes: clean up a test 2019-02-26 23:16:46 +00:00
buffer.go bytes: remove obsolete comment 2019-05-28 02:52:39 +00:00
bytes_test.go strings, bytes: add ToValidUTF8 2019-05-01 18:31:47 +00:00
bytes.go strings, bytes: add ToValidUTF8 2019-05-01 18:31:47 +00:00
compare_test.go
example_test.go bytes: add examples for ToTitleSpecial, ToUpperSpecial and ToLowerSpecial 2019-03-01 14:56:41 +00:00
export_test.go bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
reader_test.go bytes, strings: fix Reader.UnreadRune returning without error on a zero Reader 2018-10-29 20:07:25 +00:00
reader.go bytes, strings: fix Reader.UnreadRune returning without error on a zero Reader 2018-10-29 20:07:25 +00:00