Skip to content

Commit cf1b087

Browse files
eren-terziogluxiaoxiang781216
authored andcommitted
Docs/espressif: Add crypto defconfig docs for esp32[-s2|-s3]
Docs/espressif: Add crypto defconfig docs for Xtensa based Espressif devices Signed-off-by: Eren Terzioglu <[email protected]>
1 parent 1512e1e commit cf1b087

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

Documentation/platforms/xtensa/esp32s2/boards/esp32s2-saola-1/index.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,24 @@ disables the NuttShell to get the best possible score.
189189
.. note:: As the NSH is disabled, the application will start as soon as the
190190
system is turned on.
191191

192+
crypto
193+
------
194+
195+
This configuration enables support for the cryptographic hardware and
196+
the ``/dev/crypto`` device file. Currently, we are supporting SHA-1,
197+
SHA-224 and SHA-256 algorithms using hardware.
198+
To test hardware acceleration, you can use `hmac` example and following output
199+
should look like this::
200+
201+
nsh> hmac
202+
...
203+
hmac sha1 success
204+
hmac sha1 success
205+
hmac sha1 success
206+
hmac sha256 success
207+
hmac sha256 success
208+
hmac sha256 success
209+
192210
cxx
193211
---
194212

Documentation/platforms/xtensa/esp32s2/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ RNG Yes
391391
RSA No
392392
RTC Yes
393393
SD/MMC Yes SPI based SD card driver
394-
SHA No
394+
SHA Yes
395395
SPI Yes
396396
SPIFLASH Yes
397397
SPIRAM Yes

Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,24 @@ disables the NuttShell to get the best possible score.
195195
.. note:: As the NSH is disabled, the application will start as soon as the
196196
system is turned on.
197197

198+
crypto
199+
------
200+
201+
This configuration enables support for the cryptographic hardware and
202+
the ``/dev/crypto`` device file. Currently, we are supporting SHA-1,
203+
SHA-224 and SHA-256 algorithms using hardware.
204+
To test hardware acceleration, you can use `hmac` example and following output
205+
should look like this::
206+
207+
nsh> hmac
208+
...
209+
hmac sha1 success
210+
hmac sha1 success
211+
hmac sha1 success
212+
hmac sha256 success
213+
hmac sha256 success
214+
hmac sha256 success
215+
198216
cxx
199217
---
200218
Development environment ready for C++ applications. You can check if the setup

Documentation/platforms/xtensa/esp32s3/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ RSA No
427427
RTC Yes
428428
SDIO No
429429
SD/MMC Yes
430-
SHA No
430+
SHA Yes
431431
SPI Yes
432432
SPIFLASH Yes
433433
SPIRAM Yes

0 commit comments

Comments
 (0)