From 384f1e399afb23a30f01e629145c82afb3498664 Mon Sep 17 00:00:00 2001 From: Zaki Manian Date: Wed, 23 May 2018 23:54:26 +0200 Subject: [PATCH] Fixed the directory name and added a test vector --- {xchacha20poly1035 => xchacha20poly1305}/xchachapoly.go | 0 {xchacha20poly1035 => xchacha20poly1305}/xchachapoly_test.go | 5 +++++ 2 files changed, 5 insertions(+) rename {xchacha20poly1035 => xchacha20poly1305}/xchachapoly.go (100%) rename {xchacha20poly1035 => xchacha20poly1305}/xchachapoly_test.go (94%) diff --git a/xchacha20poly1035/xchachapoly.go b/xchacha20poly1305/xchachapoly.go similarity index 100% rename from xchacha20poly1035/xchachapoly.go rename to xchacha20poly1305/xchachapoly.go diff --git a/xchacha20poly1035/xchachapoly_test.go b/xchacha20poly1305/xchachapoly_test.go similarity index 94% rename from xchacha20poly1035/xchachapoly_test.go rename to xchacha20poly1305/xchachapoly_test.go index 5e522e0b..460b90ab 100644 --- a/xchacha20poly1035/xchachapoly_test.go +++ b/xchacha20poly1305/xchachapoly_test.go @@ -55,6 +55,11 @@ var hChaCha20Vectors = []struct { fromHex("000102030405060708090a0b0c0d0e0f1011121314151617"), fromHex("51e3ff45a895675c4b33b46c64f4a9ace110d34df6a2ceab486372bacbd3eff6"), }, + { + fromHex("24f11cce8a1b3d61e441561a696c1c1b7e173d084fd4812425435a8896a013dc"), + fromHex("d9660c5900ae19ddad28d6e06e45fe5e"), + fromHex("5966b3eec3bff1189f831f06afe4d4e3be97fa9235ec8c20d08acfbbb4e851e3"), + }, } func TestVectors(t *testing.T) {