Skip to content

Discussion: Integrations into the Yocto and Zephyr projects. #1530

@L-series

Description

@L-series

Following a discussion with @mkannwischer regarding the roadmap for the projects, it was brought up that a increased level of visibility within communities of consumers of mlkem/mldsa working on embedded devices would be desirable.

Currently, the two defacto tools for developping custom embedded linux and RTOS solutions are the Yocto Project as well as the Zephyr Project, both of which are projects of the Linux Foundation. @hanno-becker I'm opening this issue to discuss the possibility/desirability of integrating mlkem/dsa into the two former ecosystems.

In the case of Yocto, one would write a bitbake recipe (essentially a file which describes how to build the library - similar to a nix derivation, and is consumed by yocto when producing a linux image). Such a recipe would most likely live in one of the core meta-layers (repository containing many recipes) of the project itself. I propose something like https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/recipes-crypto (MbedTLS and other similar libraries reside here).

In the case of Zephyr, one would write a module for the zephyr kernel and it would live in https://github.com/zephyrproject-rtos/zephyr/tree/main/modules.

If this is something which is of interest, I can begin with the implementations. Please let me know your thoughts!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions