diff options
author | cynecx <[email protected]> | 2016-01-26 23:46:48 +0100 |
---|---|---|
committer | cynecx <[email protected]> | 2016-01-26 23:46:48 +0100 |
commit | c5303cbc194978d0a1a72920031d693aada4187c (patch) | |
tree | b634b5e1781bb319af6a0e9c1210765f979eaa54 /src/lib/hash | |
parent | 13a3afa4c2f49c8799f87a3b54d317761e4f1a14 (diff) |
Blake2b: Add copyright & fix header guard
Diffstat (limited to 'src/lib/hash')
-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> |