remove extra aes ctr test

pull/1/head
toddouska 2011-12-22 13:08:17 -08:00
parent 09d3b242c2
commit 1bb8c1f696
1 changed files with 0 additions and 12 deletions

View File

@ -1088,18 +1088,6 @@ int aes_test()
if (memcmp(cipher, ctrCipher, AES_BLOCK_SIZE*4)) if (memcmp(cipher, ctrCipher, AES_BLOCK_SIZE*4))
return -67; return -67;
/*
AesCtrEncrypt(&enc, cipher, ctrPlain + AES_BLOCK_SIZE, AES_BLOCK_SIZE);
AesCtrEncrypt(&dec, plain, cipher, AES_BLOCK_SIZE);
if (memcmp(plain, ctrPlain + AES_BLOCK_SIZE, AES_BLOCK_SIZE))
return -68;
if (memcmp(cipher, ctrCipher + AES_BLOCK_SIZE, AES_BLOCK_SIZE))
return -69;
*/
} }
#endif /* CYASSL_AES_COUNTER */ #endif /* CYASSL_AES_COUNTER */