diff options
Diffstat (limited to 'src/crypto/sha256/sha256_test.go')
-rw-r--r-- | src/crypto/sha256/sha256_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/sha256/sha256_test.go b/src/crypto/sha256/sha256_test.go index 279cf5ad40..17721d5635 100644 --- a/src/crypto/sha256/sha256_test.go +++ b/src/crypto/sha256/sha256_test.go @@ -7,6 +7,7 @@ package sha256 import ( + "crypto/internal/boring" "crypto/rand" "fmt" "io" @@ -153,6 +154,9 @@ func TestBlockSize(t *testing.T) { // Tests that blockGeneric (pure Go) and block (in assembly for some architectures) match. func TestBlockGeneric(t *testing.T) { + if boring.Enabled { + t.Skip("BoringCrypto doesn't expose digest") + } gen, asm := New().(*digest), New().(*digest) buf := make([]byte, BlockSize*20) // arbitrary factor rand.Read(buf) |