diff options
author | Jack Lloyd <[email protected]> | 2017-09-22 11:38:42 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-22 11:38:42 -0400 |
commit | 27482d71e00dcf106735ef824ded70cf25c6150f (patch) | |
tree | 60ee512ff6eed74051718920eb126c30c854e322 /src/lib/hash | |
parent | a2e70c4eb74d016d8b3c783b4964cfc5ea2b7ddf (diff) |
Apply final annotations to the library also
Done by a perl script which converted all classes to final, followed
by selective reversion where it caused compilation failures.
Diffstat (limited to 'src/lib/hash')
-rw-r--r-- | src/lib/hash/shake/shake.h | 4 | ||||
-rw-r--r-- | src/lib/hash/streebog/streebog.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/hash/shake/shake.h b/src/lib/hash/shake/shake.h index b41baa492..5ec35901f 100644 --- a/src/lib/hash/shake/shake.h +++ b/src/lib/hash/shake/shake.h @@ -17,7 +17,7 @@ namespace Botan { /** * SHAKE-128 */ -class BOTAN_PUBLIC_API(2,0) SHAKE_128 : public HashFunction +class BOTAN_PUBLIC_API(2,0) SHAKE_128 final : public HashFunction { public: @@ -49,7 +49,7 @@ class BOTAN_PUBLIC_API(2,0) SHAKE_128 : public HashFunction /** * SHAKE-256 */ -class BOTAN_PUBLIC_API(2,0) SHAKE_256 : public HashFunction +class BOTAN_PUBLIC_API(2,0) SHAKE_256 final : public HashFunction { public: diff --git a/src/lib/hash/streebog/streebog.h b/src/lib/hash/streebog/streebog.h index d18ac02fc..5e83efb39 100644 --- a/src/lib/hash/streebog/streebog.h +++ b/src/lib/hash/streebog/streebog.h @@ -16,7 +16,7 @@ namespace Botan { * Streebog (GOST R 34.11-2012) * RFC 6986 */ -class BOTAN_PUBLIC_API(2,2) Streebog: public HashFunction +class BOTAN_PUBLIC_API(2,2) Streebog : public HashFunction { public: size_t output_length() const override { return m_output_bits / 8; } |