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:
parent
5a930994be
commit
ad858d7419
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user