chipsalliance / caliptra-sw

Caliptra software (ROM, FMC, runtime firmware), and libraries/tools needed to build and test
Apache License 2.0
53 stars 39 forks source link

hmac384 driver: Reload kv keys for each block #1528

Closed korran closed 3 months ago

korran commented 4 months ago

[bugfix] hmac384 driver: Reload kv keys for each block.

This fixes #1520 / #1550: HMAC operations larger than asingle block produce the incorrect results when using data or keys from the keyvault.

Additional commits in this PR add driver tests and end-to-end tests that validate this scenario.