diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/hash/blake2/blake2b.cpp | 9 | ||||
-rw-r--r-- | src/lib/hash/blake2/blake2b.h | 11 |
2 files changed, 17 insertions, 3 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(); } diff --git a/src/lib/hash/blake2/blake2b.h b/src/lib/hash/blake2/blake2b.h index d330c1452..efe0d34f4 100644 --- a/src/lib/hash/blake2/blake2b.h +++ b/src/lib/hash/blake2/blake2b.h @@ -1,5 +1,12 @@ -#ifndef BLAKE2B_H__ -#define BLAKE2B_H__ +/* +* Blake2b +* (C) 2016 cynecx +* +* Botan is released under the Simplified BSD License (see license.txt) +*/ + +#ifndef BOTAN_BLAKE2B_H__ +#define BOTAN_BLAKE2B_H__ #include <botan/hash.h> #include <string> |