aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--src/libsha2/mac/hmac.c21
-rw-r--r--src/libsha2/mac/hmac.h25
3 files changed, 47 insertions, 1 deletions
diff --git a/README b/README
index 8df159b..cf72d7a 100644
--- a/README
+++ b/README
@@ -1,2 +1,2 @@
-SHA-2-familty hashing library.
+SHA-2-family hashing library.
diff --git a/src/libsha2/mac/hmac.c b/src/libsha2/mac/hmac.c
new file mode 100644
index 0000000..2ee883d
--- /dev/null
+++ b/src/libsha2/mac/hmac.c
@@ -0,0 +1,21 @@
+/**
+ * libsha2 – SHA-2-family hashing library
+ *
+ * Copyright © 2015 Mattias Andrée (maandree@member.fsf.org)
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This library 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "hmac.h"
+
+
diff --git a/src/libsha2/mac/hmac.h b/src/libsha2/mac/hmac.h
new file mode 100644
index 0000000..745d610
--- /dev/null
+++ b/src/libsha2/mac/hmac.h
@@ -0,0 +1,25 @@
+/**
+ * libsha2 – SHA-2-family hashing library
+ *
+ * Copyright © 2015 Mattias Andrée (maandree@member.fsf.org)
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This library 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef LIBSHA2_MAC_HMAC_H
+#define LIBSHA2_MAC_HMAC_H 1
+
+
+
+#endif
+