mirror of https://github.com/wolfSSL/wolfssl.git
remove extra aes ctr test
parent
09d3b242c2
commit
1bb8c1f696
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue