Skip to content

Commit e6bd8dc

Browse files
committed
Minor fix.
1 parent ad1f709 commit e6bd8dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • doc/dox_comments/header_files

doc/dox_comments/header_files/aes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
int ret = 0;
2121
byte key[] = { some 16, 24 or 32 byte key };
2222
byte iv[] = { some 16 byte iv };
23-
if (ret = wc_AesInit(gmac.aes, HEAP_HINT, INVALID_DEVID) != 0) {
23+
if (ret = wc_AesInit(&enc, HEAP_HINT, INVALID_DEVID) != 0) {
2424
// failed to initialize aes key
2525
}
2626
if (ret = wc_AesSetKey(&enc, key, AES_BLOCK_SIZE, iv,

0 commit comments

Comments
 (0)