aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/blake2/blake2b.cpp
diff options
context:
space:
mode:
authorcynecx <[email protected]>2016-01-26 23:46:48 +0100
committercynecx <[email protected]>2016-01-26 23:46:48 +0100
commitc5303cbc194978d0a1a72920031d693aada4187c (patch)
treeb634b5e1781bb319af6a0e9c1210765f979eaa54 /src/lib/hash/blake2/blake2b.cpp
parent13a3afa4c2f49c8799f87a3b54d317761e4f1a14 (diff)
Blake2b: Add copyright & fix header guard
Diffstat (limited to 'src/lib/hash/blake2/blake2b.cpp')
-rw-r--r--src/lib/hash/blake2/blake2b.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/hash/blake2/blake2b.cpp b/src/lib/hash/blake2/blake2b.cpp
index 0faafd140..d2d9b4d4e 100644
--- a/src/lib/hash/blake2/blake2b.cpp
+++ b/src/lib/hash/blake2/blake2b.cpp
@@ -1,3 +1,10 @@
+/*
+* Blake2b
+* (C) 2016 cynecx
+*
+* Botan is released under the Simplified BSD License (see license.txt)
+*/
+
#include <botan/blake2b.h>
#include <botan/exceptn.h>
#include <botan/mem_ops.h>
@@ -45,7 +52,7 @@ Blake2b::Blake2b(size_t output_bits) :
|| output_bits / 8 > BLAKE2B_OUTBYTES) {
throw Invalid_Argument("Bad output bits size for Blake2b");
}
-
+
state_init();
}