From e6bd8dce6ef72d9696b09d0d132017e94bcea61f Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Thu, 30 Nov 2023 15:01:46 -0500 Subject: [PATCH] Minor fix. --- doc/dox_comments/header_files/aes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/dox_comments/header_files/aes.h b/doc/dox_comments/header_files/aes.h index 50232e53b..4a662157a 100644 --- a/doc/dox_comments/header_files/aes.h +++ b/doc/dox_comments/header_files/aes.h @@ -20,7 +20,7 @@ int ret = 0; byte key[] = { some 16, 24 or 32 byte key }; byte iv[] = { some 16 byte iv }; - if (ret = wc_AesInit(gmac.aes, HEAP_HINT, INVALID_DEVID) != 0) { + if (ret = wc_AesInit(&enc, HEAP_HINT, INVALID_DEVID) != 0) { // failed to initialize aes key } if (ret = wc_AesSetKey(&enc, key, AES_BLOCK_SIZE, iv,