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,