diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-30 23:04:37 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-30 23:04:37 -0500 |
commit | 3d8bd4c582b6ed4ec5a6ee806dc5e1b407dbfdaa (patch) | |
tree | 53794175c48de1edcaaaa01288ccacbccef9ea6c /chachapoly.h | |
parent | b29faeab58e753fc657884a7d75cbe8aa446135a (diff) | |
download | cryptopp-git-3d8bd4c582b6ed4ec5a6ee806dc5e1b407dbfdaa.tar.gz |
Use ChaCha cipher AlgorithmProvider()
Diffstat (limited to 'chachapoly.h')
-rw-r--r-- | chachapoly.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chachapoly.h b/chachapoly.h index 9e25da32..7dafce5b 100644 --- a/chachapoly.h +++ b/chachapoly.h @@ -38,7 +38,7 @@ public: std::string AlgorithmName() const
{return std::string("ChaCha20/Poly1305");}
std::string AlgorithmProvider() const
- {return "C++";}
+ {return GetSymmetricCipher().AlgorithmProvider();}
size_t MinKeyLength() const
{return 32;}
size_t MaxKeyLength() const
|