mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-07 05:52:33 -04:00
Fix transform round benchmark.
This commit is contained in:
parent
05c41c083e
commit
efb40a6567
1 changed files with 2 additions and 2 deletions
|
@ -135,8 +135,8 @@ int TransformKeyBenchmarkThread::rounds()
|
||||||
|
|
||||||
void TransformKeyBenchmarkThread::run()
|
void TransformKeyBenchmarkThread::run()
|
||||||
{
|
{
|
||||||
QByteArray key = QByteArray('\x7E', 32);
|
QByteArray key = QByteArray(16, '\x7E');
|
||||||
QByteArray seed = QByteArray('\x4B', 32);
|
QByteArray seed = QByteArray(32, '\x4B');
|
||||||
QByteArray iv(16, 0);
|
QByteArray iv(16, 0);
|
||||||
|
|
||||||
SymmetricCipher cipher(SymmetricCipher::Aes256, SymmetricCipher::Ecb,
|
SymmetricCipher cipher(SymmetricCipher::Aes256, SymmetricCipher::Ecb,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue