Skip to content

Update crypto modules to take crypto traits impl instead of peripherals #61

@AnthonyGrondin

Description

@AnthonyGrondin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions