Skip to content

Commit f9ea559

Browse files
fix issues with CAAM documentation
1 parent f495127 commit f9ea559

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wolfSSL/src/chapter02.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@ Versions of software used:\
24942494
24952495
24962496
#### Supported Algorithms\
2497-
List the supported algorithms and any restrictions
2497+
Supported algorithms, modes, and operations include:
24982498
24992499
- AES (ECB, CBC, CCM, GCM)
25002500
- AES CMAC
@@ -2596,7 +2596,7 @@ Add the desired modules and libraries to the local conf file.\
25962596
> ```
25972597
25982598
\
2599-
In this build had added debugging tools and an SSH server, which are not necessary if looking to trim down on size. The important items to add are “cryptodev-module and cryptodev-linux”. “eckey” is a demo tool from NXP for encapsulating and decapsulating blobs.
2599+
In this build, we had added debugging tools and an SSH server, which are not necessary if looking to trim down on size. The important items to add are “cryptodev-module and cryptodev-linux”. “eckey” is a demo tool from NXP for encapsulating and decapsulating blobs.
26002600
\
26012601
[Optional]
26022602
To add the auto loading of cryptodev module add the following line to conf/local.conf.
@@ -2611,7 +2611,7 @@ Otherwise the module will need to be loaded after each power cycle using “modp
26112611
\
26122612
26132613
##### Build and Deploy\
2614-
To kick off the build of the image use the command. Then if using an sdcard, flash it to the card.
2614+
To kick off the build of the image use the following command. Then if using an sdcard, flash it to the card.
26152615
\
26162616
26172617
> ```
@@ -2922,7 +2922,7 @@ For generation of any AES encrypt and decrypt operations the key can be generate
29222922
29232923
###### ***AES (ECB/CBC)***\
29242924
2925-
Alternatively to generate AES ECB/CBC keys, if the Aes structure has been initialized with WOLFSLS_SECO_DEVID the function wc_AesSetKey can be called with a plain text key passed to it. The API wc_AesSetKey will then try to encrypt the key using the unique KEK and import it into the SECO HSM. If imported successfully, the value of 0 will be returned and the key ID will be set in the Aes structure.
2925+
Alternatively to generate AES ECB/CBC keys, if the Aes structure has been initialized with WOLFSSL_SECO_DEVID the function wc_AesSetKey can be called with a plain text key passed to it. The API wc_AesSetKey will then try to encrypt the key using the unique KEK and import it into the SECO HSM. If imported successfully, the value of 0 will be returned and the key ID will be set in the Aes structure.
29262926
\
29272927
29282928
- CBC encrypt would be done with wc_AesCbcEncrypt, decrypt with wc_AesCbcDecrypt.

0 commit comments

Comments
 (0)