summaryrefslogtreecommitdiffhomepage
path: root/xchacha20poly1305
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-03 15:04:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-03 15:06:25 +0200
commita040786645ec980059937fd6a1a361b160c1a809 (patch)
treed0e5802b6d8becf40fc0dfed63a9fc558899ba82 /xchacha20poly1305
parent209dd22ea0c6ea06aca47cb53f68ae2cf0d40831 (diff)
global: Add SPDX tags and copyright header
Mathias should probably add his copyright headers to each file too.
Diffstat (limited to 'xchacha20poly1305')
-rw-r--r--xchacha20poly1305/xchacha20.go8
-rw-r--r--xchacha20poly1305/xchacha20_test.go5
2 files changed, 10 insertions, 3 deletions
diff --git a/xchacha20poly1305/xchacha20.go b/xchacha20poly1305/xchacha20.go
index a6e59f0..bd27f02 100644
--- a/xchacha20poly1305/xchacha20.go
+++ b/xchacha20poly1305/xchacha20.go
@@ -1,6 +1,8 @@
-// Copyright (c) 2016 Andreas Auernhammer. All rights reserved.
-// Use of this source code is governed by a license that can be
-// found in the LICENSE file.
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2016 Andreas Auernhammer. All Rights Reserved.
+ * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
package xchacha20poly1305
diff --git a/xchacha20poly1305/xchacha20_test.go b/xchacha20poly1305/xchacha20_test.go
index 5d5b78f..c0d11d7 100644
--- a/xchacha20poly1305/xchacha20_test.go
+++ b/xchacha20poly1305/xchacha20_test.go
@@ -1,3 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
package xchacha20poly1305
import (