Support for Hardware crypto was added in:
That being said, the implementation is very primitive, as it takes directly the hardware peripherals from esp-hal
. We should instead refactor to take https://github.com/RustCrypto/traits, allowing us to provide a software implementation, or hardware implementation. Basically anything that implements those traits, allowing more flexibility. Most importantly, this would remove the hard dependency on esp-hal
, making updates and maintainability easier.