forked from wolfSSL/wolfssl
Update reference for aes192/256 test to remove bad url and give specific
NIST reference document.
This commit is contained in:
@@ -4036,10 +4036,9 @@ int aes192_test(void)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
#ifdef HAVE_AES_CBC
|
#ifdef HAVE_AES_CBC
|
||||||
/*
|
/* Test vectors from NIST Special Publication 800-38A, 2001 Edition
|
||||||
* http://www.inconteam.com/software-development/41-encryption/
|
* Appendix F.2.3 */
|
||||||
* 55-aes-test-vectors#aes-cbc-192
|
|
||||||
*/
|
|
||||||
const byte msg[] = {
|
const byte msg[] = {
|
||||||
0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,
|
0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,
|
||||||
0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a
|
0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a
|
||||||
@@ -4111,11 +4110,9 @@ int aes256_test(void)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
#ifdef HAVE_AES_CBC
|
#ifdef HAVE_AES_CBC
|
||||||
/*
|
/* Test vectors from NIST Special Publication 800-38A, 2001 Edition,
|
||||||
* http://www.inconteam.com/software-development/41-encryption/
|
* Appendix F.2.5 */
|
||||||
* 55-aes-test-vectors#aes-cbc-256
|
const byte msg[] = {
|
||||||
*/
|
|
||||||
const byte msg[] = { /* "Now is the time for all " w/o trailing 0 */
|
|
||||||
0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,
|
0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,
|
||||||
0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a
|
0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user