PruteanuVlad opened a new pull request, #3437:
URL: https://github.com/apache/nuttx-apps/pull/3437

   ## Summary
   This adds support for testing PBKDF2 implementation. Test vectors for SHA1 
are taken from RFC6070.
   SHA256 vectors were extrapolated using an online PBKDF2 generator which was 
checked against RFC6070.
   
   
   ## Modified files:
   
   testing/drivers/crypto/CMakeLists.txt - enables app compilation
   testing/drivers/crypto/Kconfig - add option for test app
   testing/drivers/crypto/Makefile - enables app compilation
   testing/drivers/crypto/pbkdf2.c - actual test app
   
   ## Impact
   
   This allows users for the testing of PBKDF2 implementation.
   
   ##Testing
   
   Development was done using ESP32 DevkitC.
   Building was done on Ubuntu 24.04 VM.
   ```
   nsh> pbkdf2
   hmac PBKDF2 SHA1 success
   hmac PBKDF2 SHA1 success
   hmac PBKDF2 SHA1 success
   hmac PBKDF2 SHA1 success
   hmac PBKDF2 SHA1 success
   hmac PBKDF2 SHA1 success
   hmac PBKDF2 SHA256 success
   hmac PBKDF2 SHA256 success
   hmac PBKDF2 SHA256 success
   hmac PBKDF2 SHA256 success
   hmac PBKDF2 SHA256 success
   hmac PBKDF2 SHA256 success
   
   ```


-- 
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