aboutsummaryrefslogtreecommitdiff
path: root/namespace
diff options
context:
space:
mode:
Diffstat (limited to 'namespace')
-rw-r--r--namespace/namespace.go8
-rw-r--r--namespace/testdata/data.go6
2 files changed, 10 insertions, 4 deletions
diff --git a/namespace/namespace.go b/namespace/namespace.go
index a02de6d..f5c56cf 100644
--- a/namespace/namespace.go
+++ b/namespace/namespace.go
@@ -4,10 +4,10 @@
//
// For example, this is how a serialized Ed25519 namespace looks like:
//
-// 0 2 34 (byte index)
-// +---+----------------------+
-// | 1 + Verification key +
-// +---+----------------------+
+// 0 2 3 35 (byte index)
+// +----+-----------------------+
+// | 1 + 32 + Verification key +
+// +----+-----------------------+
package namespace
import (
diff --git a/namespace/testdata/data.go b/namespace/testdata/data.go
index 2cf4b11..5f3f4df 100644
--- a/namespace/testdata/data.go
+++ b/namespace/testdata/data.go
@@ -7,6 +7,12 @@ import (
var (
Ed25519Vk = mustDecodeB64("HOQFUkKNWpjYAhNKTyWCzahlI7RDtf5123kHD2LACj0=")
Ed25519Sk = mustDecodeB64("Zaajc50Xt1tNpTj6WYkljzcVjLXL2CcQcHFT/xZqYEcc5AVSQo1amNgCE0pPJYLNqGUjtEO1/nXbeQcPYsAKPQ==")
+
+ Ed25519Vk2 = mustDecodeB64("LqrWb9JwQUTk/SwTNDdMH8aRmy3mbmhwEepO5WSgb+A=")
+ Ed25519Sk2 = mustDecodeB64("fDkSq4cWvG72yMhUyHVcZ72QKerZ66msgyVqDvfufZQuqtZv0nBBROT9LBM0N0wfxpGbLeZuaHAR6k7lZKBv4A==")
+
+ Ed25519Vk3 = mustDecodeB64("Icd1U1oY0z+5iAwgCQZyGI+pycGs6GI2rQO8gAzT7Y0=")
+ Ed25519Sk3 = mustDecodeB64("Q6uNL7VKv9flaBIXBXy/NyhNOicLYKKmfuJ6tLReMvQhx3VTWhjTP7mIDCAJBnIYj6nJwazoYjatA7yADNPtjQ==")
)
func mustDecodeB64(s string) []byte {