From efb40a65679965295c9a4bfedf568da1046d4c60 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 12 May 2012 15:39:33 +0200 Subject: [PATCH] Fix transform round benchmark. --- src/keys/CompositeKey.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keys/CompositeKey.cpp b/src/keys/CompositeKey.cpp index 33a638b08..ffcfc8f6b 100644 --- a/src/keys/CompositeKey.cpp +++ b/src/keys/CompositeKey.cpp @@ -135,8 +135,8 @@ int TransformKeyBenchmarkThread::rounds() void TransformKeyBenchmarkThread::run() { - QByteArray key = QByteArray('\x7E', 32); - QByteArray seed = QByteArray('\x4B', 32); + QByteArray key = QByteArray(16, '\x7E'); + QByteArray seed = QByteArray(32, '\x4B'); QByteArray iv(16, 0); SymmetricCipher cipher(SymmetricCipher::Aes256, SymmetricCipher::Ecb,