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

   ## Summary
   
   Add a `keyid` test covering the key-id reference mechanism of 
apache/nuttx#22061: every case runs a full key lifecycle (allocate, import, 
operate by key id, delete) through the swkey store on `/dev/nvs`:
   
   * `keyid lifecycle` - allocate/import/delete round trip
   * `aescbc keyid` - RFC 3602 vector, session key by id
   * `hmac keyid` - HMAC-SHA256, mac key by id
   * `aescmac keyid` - NIST vector, cipher and mac keys both by id
   * `ecdsa keyid` - CRK_GENERATE_SECP256R1_KEY, then sign/verify referencing 
the generated key id
   * `rsa keyid` - RSA-1024 with n/e/d as three separate key ids: 
encrypt/decrypt round trip and PKCS#1 v1.5 sign/verify
   
   ## Impact
   
   * Testing only. New `TESTING_CRYPTO_KEYID` option (default n).
   
   ## Testing
   
   Depends on apache/nuttx#22061. On sim:sim/crypto with 
`CONFIG_CRYPTO_CRYPTODEV_SOFTWARE_KEYMGMT=y` and an NVS-backed `/dev/nvs`:
   
   ```
   nsh> keyid
   keyid lifecycle success
   aescbc keyid success
   hmac keyid success
   aescmac keyid success
   ecdsa keyid success
   rsa keyid success
   ```
   
   `tools/checkpatch.sh` (via the paired nuttx tree) passes.
   


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