lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.55k stars 759 forks source link

[otbn, pre_sca] Roadmap for COCO-OTBN work #17213

Closed abdullahvarici closed 2 months ago

abdullahvarici commented 1 year ago

Description

With the PRs #17100 and #17211, COCO-ALMA framework is ported to the OTBN core. In this issue, we want to create a roadmap to use the framework with the OTBN core and list some points that we need to investigate. Following GDoc will have intermediate results and discussions.

vogelpi commented 1 year ago

Futher tasks that come to my mind:

moidx commented 1 year ago

Moving to cryptolib milestone as this enables development in pre-silicon stages.

vogelpi commented 1 year ago

@abdullahvarici , please update this issue to:

  1. Reflect the progress over the last couple of months including references to relevant PRs.
  2. Document what the current status is, also in terms of potential support for analyzing arithmetic masking.

Thanks!

abdullahvarici commented 1 year ago

Over the last couple of months:

jadephilipoom commented 2 months ago

I think this is done? We've added the findings to the OTBN style guide: https://opentitan.org/book/doc/contributing/style_guides/otbn_style_guide.html?highlight=secure%20coding#secure-coding-for-cryptography

I created https://github.com/lowRISC/opentitan/issues/24056 to track making the existing code follow these rules, but I think that's separate from this issue about actually doing the work to find the rules, so it's probably safe to close this now. Please feel free to reopen if I'm wrong here.

vogelpi commented 2 months ago

This sounds good to me, thanks @jadephilipoom .