Browse Source

Fix typo's in the code sample(s)

kaleb-himes 1 year ago
parent
commit
9c1adbd83b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      doc/dox_comments/header_files/aes.h

+ 3 - 3
doc/dox_comments/header_files/aes.h

@@ -871,7 +871,7 @@ int wc_AesXtsFree(XtsAes* aes);
 
     //heap hint could be set here if used
 
-    wc_AesInit(&aes, hint, devId);
+    wc_AesInit(&enc, hint, devId);
     \endcode
 
     \sa wc_AesSetKey
@@ -898,9 +898,9 @@ int  wc_AesInit(Aes* aes, void* heap, int devId);
 
     //heap hint could be set here if used
 
-    wc_AesInit(&aes, hint, devId);
+    wc_AesInit(&enc, hint, devId);
     // ... do some interesting things ...
-    wc_AesFree(&aes);
+    wc_AesFree(&enc);
     \endcode
 
     \sa wc_AesInit