eren-terzioglu opened a new pull request, #18536:
URL: https://github.com/apache/nuttx/pull/18536

   ## Summary
   
   <!-- This field should contain a summary of the changes. It will be 
pre-filled with the commit's message and descriptions. Adjust it accordingly -->
   
   Add missing SHA features for Espressif devices
   
   * arch/xtensa/espressif: Add SHA accelerator features
   
   Add SHA accelerator features for esp32[-s2|-s3]
   
   * arch/risc-v/espressif: Add SHA accelerator features
   
   Add SHA accelerator features for esp32[-c3|-c6|-h2]
   
   ## Impact
   <!-- Please fill the following sections with YES/NO and provide a brief 
explanation -->
   
   Impact on user: Yes, SHA accelerator can be used without HMAC
   <!-- Does it impact user's applications? How? -->
   
   Impact on build: No
   <!-- Does it impact on building NuttX? How? (please describe the required 
changes on the build system) -->
   
   Impact on hardware: No
   <!-- Does it impact a specific hardware supported by NuttX? -->
   
   Impact on documentation: No
   <!-- Does it impact the existing documentation? Please provide additional 
documentation to reflect that -->
   
   Impact on security: No
   <!-- Does it impact NuttX's security? -->
   
   Impact on compatibility: No
   <!-- Does it impact compatibility between previous and current versions? Is 
this a breaking change? -->
   
   ## Testing
   <!-- Please provide all the testing procedure. Consider that upstream 
reviewers should be able to reproduce the same testing performed internally -->
   
   `esp32s3-devkit:crypto` and `esp32c6-devkitc:crypto` configs used with 
`TESTING_CRYPTO_HASH` option enabled. Due to the test structure unrelated tests 
closed by commenting (md5 and sha512 for esp32c6; md5 for esp32s3)
   
   ### Building
   <!-- Provide how to build the test for each SoC being tested -->
   
   ```
   make -j distclean && ./tools/configure.sh esp32c6-devkitc:crypto && 
kconfig-tweak -e CONFIG_TESTING_CRYPTO_HASH && make -j && make download 
ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BAUD=921600 ESPTOOL_BINDIR=./
   ```
   
   ### Running
   <!-- Provide how to run the test for each SoC being tested -->
   
   `hash` command run
   
   ### Results
   <!-- Provide tests' results and runtime logs -->
   
   For esp32c6:
   ```
   ...
   nsh> hash
   hash sha1 success
   hash sha1 success
   hash sha1 success
   hash sha256 success
   hash sha256 success
   hash sha256 success
   nsh>
   ```
   
   For esp32s3:
   
   ```
   ...
   nsh> hash
   hash sha1 success
   hash sha1 success
   hash sha1 success
   hash sha256 success
   hash sha256 success
   hash sha256 success
   hash sha512 success
   hash sha512 success
   hash sha512 success
   nsh>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to