1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Change default ChaCha key size to 256-bit

This commit is contained in:
Rhys Weatherley 2015-01-03 13:25:51 +10:00
parent 5a930994be
commit ad858d7419

View File

@ -57,8 +57,8 @@ ChaCha::~ChaCha()
size_t ChaCha::keySize() const
{
// Default key size is 128-bit, but any key size is allowed.
return 16;
// Default key size is 256-bit, but any key size is allowed.
return 32;
}
size_t ChaCha::ivSize() const