summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-05-27 10:47:30 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-05-27 10:47:30 +0200
commit5db765c2ee63f0ee6774817cf85fcb4b5078ca4a (patch)
treed9a8cc6e51a5ef3c76e477763bae99ef632a02e7
parent7e8e3249b4509cdb6f544a0cb10a5bbf13fbcd32 (diff)
downloadIT-Sicherheit-5db765c2ee63f0ee6774817cf85fcb4b5078ca4a.tar.gz
IT-Sicherheit-5db765c2ee63f0ee6774817cf85fcb4b5078ca4a.zip
Delete misleading comments and a qDebug
-rw-r--r--src/crypt/cryptclassnullcipher.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/crypt/cryptclassnullcipher.cpp b/src/crypt/cryptclassnullcipher.cpp
index d427efa..1dbc349 100644
--- a/src/crypt/cryptclassnullcipher.cpp
+++ b/src/crypt/cryptclassnullcipher.cpp
@@ -33,13 +33,9 @@ void CryptClassNullCipher::encrypt()
}
/* Initialise the encryption operation. IMPORTANT - ensure you use a key
- * and IV size appropriate for your cipher
- * In this example we are using 256 bit AES (i.e. a 256 bit key). The
- * IV size for *most* modes is the same as the block size. For AES this
- * is 128 bits */
+ * and IV size appropriate for your cipher */
if (1 != EVP_EncryptInit_ex(ctx, EVP_enc_null(), NULL, NULL, NULL))
{
- qDebug() << "EVP_EncryptInit_ex";
handleErrors();
}
@@ -86,10 +82,7 @@ void CryptClassNullCipher::decrypt()
}
/* Initialise the decryption operation. IMPORTANT - ensure you use a key
- * and IV size appropriate for your cipher
- * In this example we are using 256 bit AES (i.e. a 256 bit key). The
- * IV size for *most* modes is the same as the block size. For AES this
- * is 128 bits */
+ * and IV size appropriate for your cipher */
if (1 != EVP_DecryptInit_ex(ctx, EVP_enc_null(), NULL, NULL, NULL))
{
handleErrors();