mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-04 05:04:41 +02:00
Fix for CAVP test issue trying to use AES_128_KEY_SIZE
and AES_IV_SIZE
.
This commit is contained in:
@@ -1944,8 +1944,8 @@ static void test_wolfSSL_EVP_CIPHER_CTX()
|
|||||||
EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
|
EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
|
||||||
const EVP_CIPHER *init = EVP_aes_128_cbc();
|
const EVP_CIPHER *init = EVP_aes_128_cbc();
|
||||||
const EVP_CIPHER *test = NULL;
|
const EVP_CIPHER *test = NULL;
|
||||||
byte key[AES_128_KEY_SIZE] = {0};
|
byte key[AES_BLOCK_SIZE] = {0};
|
||||||
byte iv[AES_IV_SIZE] = {0};
|
byte iv[AES_BLOCK_SIZE] = {0};
|
||||||
|
|
||||||
AssertNotNull(ctx);
|
AssertNotNull(ctx);
|
||||||
wolfSSL_EVP_CIPHER_CTX_init(ctx);
|
wolfSSL_EVP_CIPHER_CTX_init(ctx);
|
||||||
|
Reference in New Issue
Block a user