pbarada opened a new pull request, #3514:
URL: https://github.com/apache/nuttx-apps/pull/3514
## Summary
-Add SHA224 hash test; expected results generated from sha224sum.
-Modify hash "huge block" testing since allocating 600KB to hash all at once
fails on most microcontrollers. Instead allocate biggest block it can and pass
into syshash_update() enough times to hash 600KB of data.
## Impact
- User experience: No adaptation required. This fix extends existing
behavior.
- Build: No impact.
- Hardware: No impact.
- Documentation: No impact.
- Security: No impact.
- Compatibility: Backward compatible - adds functionality.
## Testing
Build Host:
- OS: Ubuntu 24.04.4 LTS
- Compiler: arm-none-eabi-gcc 13.2.1
Target:
- Architecture: ARM (STM32H753ZI)
- Board: Nucleo-h753zi
- Configuration: nucleo-h753zi:crypto
Testing performed:
- Booted board and ran hash test utilities; verify test utilities use HW
acceleration
Runtime testing:
From target console:
```
nsh> uname -a
NuttX 12.13.0 7679bba75e-dirty May 30 2026 17:46:39 arm nucleo-h753zi
nsh> hash
hash md5 success
hash md5 success
hash md5 success
hash md5 success
hash md5 success
hash md5 success
hash md5 success
hash sha1 success
hash sha1 success
hash sha1 success
hash sha224 success
hash sha224 success
hash sha224 success
hash sha256 success
hash sha256 success
hash sha256 success
md5 huge block test success(4 passes over a 153600 bytes to hash 614400
bytes)
sha1 huge block test success(4 passes over a 153600 bytes to hash 614400
bytes)
sha224 huge block test success(4 passes over a 153600 bytes to hash 614400
bytes)
sha256 huge block test success(4 passes over a 153600 bytes to hash 614400
bytes)
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]