diff options
author | Jack Lloyd <[email protected]> | 2016-09-15 21:08:51 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-09-15 21:08:51 -0400 |
commit | 45a8210d63c2fc0b0ab0411dba55c903da226123 (patch) | |
tree | 9bc380f1134738f624700645f8a9692c363dc7bc /src/lib/block/noekeon | |
parent | 04bf8dc51861bab37d6260de8b318dc71ea4bba7 (diff) |
Change T::provider to return std::string
Diffstat (limited to 'src/lib/block/noekeon')
-rw-r--r-- | src/lib/block/noekeon/noekeon.cpp | 2 | ||||
-rw-r--r-- | src/lib/block/noekeon/noekeon.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/block/noekeon/noekeon.cpp b/src/lib/block/noekeon/noekeon.cpp index fbafe092e..eac0979a4 100644 --- a/src/lib/block/noekeon/noekeon.cpp +++ b/src/lib/block/noekeon/noekeon.cpp @@ -73,7 +73,7 @@ inline void gamma(u32bit& A0, u32bit& A1, u32bit& A2, u32bit& A3) } -const char* Noekeon::provider() const +std::string Noekeon::provider() const { #if defined(BOTAN_HAS_NOEKEON_SIMD) if(CPUID::has_simd_32()) diff --git a/src/lib/block/noekeon/noekeon.h b/src/lib/block/noekeon/noekeon.h index 31069eb75..b0aa4218c 100644 --- a/src/lib/block/noekeon/noekeon.h +++ b/src/lib/block/noekeon/noekeon.h @@ -21,7 +21,7 @@ class BOTAN_DLL Noekeon final : public Block_Cipher_Fixed_Params<16, 16> void encrypt_n(const byte in[], byte out[], size_t blocks) const override; void decrypt_n(const byte in[], byte out[], size_t blocks) const override; - const char* provider() const override; + std::string provider() const override; void clear() override; std::string name() const override { return "Noekeon"; } BlockCipher* clone() const override { return new Noekeon; } |