added test vector for NULL encryption

This commit is contained in:
Andreas Steffen
2009-06-18 09:42:05 +02:00
parent 21142d40d1
commit c233bb932a
@@ -0,0 +1,25 @@
/*
* Copyright (C) 2009 Andreas Steffen
* Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the Licenseor (at your
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
*
* This program is distributed in the hope that it will be usefulbut
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
#include <crypto/crypto_tester.h>
crypter_test_vector_t null1 = {
.alg = ENCR_NULL, .key_size = 0, .len = 44,
.key = "",
.iv = "",
.plain = "The quick brown fox jumped over the lazy dog",
.cipher = "The quick brown fox jumped over the lazy dog"
};