aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrhogenson <rhogenson@google.com>2026-10-14 10:22:13 -0700
committerrhogenson <rhogenson@google.com>2026-10-14 10:22:28 -0700
commitad3ca6e82f878f186894834d6aca3fd6d4e3e31c (patch)
tree0590e6cf3e76b4223c5d0a3ab58a071a77f4e3ad
parentAdd a README (diff)
downloadkmac-ad3ca6e82f878f186894834d6aca3fd6d4e3e31c.tar.zst
Add copyright noticeHEADv1.1.1main
-rw-r--r--README.md4
-rw-r--r--kmac.go17
-rw-r--r--kmac_test.go17
3 files changed, 38 insertions, 0 deletions
diff --git a/README.md b/README.md
index c7edc98..8e86659 100644
--- a/README.md
+++ b/README.md
@@ -6,3 +6,7 @@ implementation here is based on the `crypto/sha3` package from the Go
standard library.
I do not recommend using this package. Consider using `crypto/hmac` instead.
+
+## Concat
+
+Please send inquiries and patches to &lt;r@roseh.moe&gt;
diff --git a/kmac.go b/kmac.go
index e3f55a2..0766b1a 100644
--- a/kmac.go
+++ b/kmac.go
@@ -1,3 +1,20 @@
+// Copyright 2026 Rose Hogenson <r@roseh.moe>
+//
+// This file is part of roseh.moe/pkg/kmac.
+//
+// roseh.moe/pkg/kmac is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, either version 3 of the License, or (at your
+// option) any later version.
+//
+// roseh.moe/pkg/kmac is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+// more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// roseh.moe/pkg/kmac. If not, see <https://www.gnu.org/licenses/>.
+
// Package kmac implements the KMAC128 and KMAC256 keyed hash functions based
// on sha3.
//
diff --git a/kmac_test.go b/kmac_test.go
index 0bddfc3..2262965 100644
--- a/kmac_test.go
+++ b/kmac_test.go
@@ -1,3 +1,20 @@
+// Copyright 2026 Rose Hogenson <r@roseh.moe>
+//
+// This file is part of roseh.moe/pkg/kmac.
+//
+// roseh.moe/pkg/kmac is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, either version 3 of the License, or (at your
+// option) any later version.
+//
+// roseh.moe/pkg/kmac is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+// more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// roseh.moe/pkg/kmac. If not, see <https://www.gnu.org/licenses/>.
+
package kmac
func Example_kdf() {