eren-terzioglu opened a new pull request, #3409: URL: https://github.com/apache/nuttx-apps/pull/3409
## 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 --> * testing/crypto: Add options to disable hash tests Add options to disable individual hash tests for devices not supported each hash ## Impact <!-- Please fill the following sections with YES/NO and provide a brief explanation --> Impact on user: Yes, users can disable hash tests <!-- 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`, `CONFIG_TESTING_CRYPTO_HASH_HUGE_BLOCK`, `CONFIG_TESTING_CRYPTO_HASH_DISABLE_MD5` and `CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA512` options enabled. ### 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 && kconfig-tweak -e CONFIG_TESTING_CRYPTO_HASH_HUGE_BLOCK && kconfig-tweak -e CONFIG_TESTING_CRYPTO_HASH_DISABLE_MD5 && kconfig-tweak -e CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA512 && make olddefconfig && 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]
