diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-12 22:29:11 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-12 22:29:11 +0100 |
commit | ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c (patch) | |
tree | e939f1c2e4c09d871918a08e9646572e318e6cf1 /internal/xchacha20poly1305/xchacha20_test.go | |
parent | bffe99aeadae09abd02f2bd3184925af6b680535 (diff) | |
download | wireguard-go-ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c.tar.gz wireguard-go-ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c.zip |
Revert "Don't use modules"
This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.
Diffstat (limited to '')
-rw-r--r-- | internal/xchacha20poly1305/xchacha20_test.go (renamed from xchacha20_test.go) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xchacha20_test.go b/internal/xchacha20poly1305/xchacha20_test.go index 0f41cf8..5d5b78f 100644 --- a/xchacha20_test.go +++ b/internal/xchacha20poly1305/xchacha20_test.go @@ -1,4 +1,4 @@ -package main +package xchacha20poly1305 import ( "encoding/hex" @@ -60,7 +60,7 @@ func TestXChaCha20(t *testing.T) { // test encryption - ct := XChaCha20Poly1305Encrypt( + ct := Encrypt( nil, &nonceArray, pt, @@ -74,7 +74,7 @@ func TestXChaCha20(t *testing.T) { // test decryption - ptp, err := XChaCha20Poly1305Decrypt( + ptp, err := Decrypt( nil, &nonceArray, ct, |