From bfc286917c5fcb7420d7e3092b50bbfd31b38a98 Mon Sep 17 00:00:00 2001 From: David Leon Gil Date: Sat, 24 Jan 2015 13:42:34 -0800 Subject: [PATCH] sha3: move test data to testdata Change the location of the KAT data for consistency with other packages. Change-Id: Ica10ad7d1730603f957fb413e28fe771b3c323bc Reviewed-on: https://go-review.googlesource.com/3267 Reviewed-by: Brad Fitzpatrick --- sha3/sha3_test.go | 2 +- sha3/{ => testdata}/keccakKats.json.deflate | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename sha3/{ => testdata}/keccakKats.json.deflate (100%) diff --git a/sha3/sha3_test.go b/sha3/sha3_test.go index 79d962e..cbf811d 100644 --- a/sha3/sha3_test.go +++ b/sha3/sha3_test.go @@ -23,7 +23,7 @@ import ( const ( testString = "brekeccakkeccak koax koax" - katFilename = "keccakKats.json.deflate" + katFilename = "testdata/keccakKats.json.deflate" ) // Internal-use instances of SHAKE used to test against KATs. diff --git a/sha3/keccakKats.json.deflate b/sha3/testdata/keccakKats.json.deflate similarity index 100% rename from sha3/keccakKats.json.deflate rename to sha3/testdata/keccakKats.json.deflate