Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[capture] Enable uJSON for OTBN #347

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nasahlpa
Copy link
Member

This commit enables communication with the OTBN SCA code over uJSON.

The device code is located in lowRISC/opentitan#22190.

nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Mar 22, 2024
This commit ports the existing OTBN SCA code located in
sw/device/sca/otbn_vertical to the cryptotest framework
to use the uJSON interface.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Mar 22, 2024
This commit ports the existing OTBN SCA code located in
sw/device/sca/otbn_vertical to the cryptotest framework
to use the uJSON interface.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa nasahlpa force-pushed the ujson_otbn_port branch 2 times, most recently from d8b4905 to 5f41003 Compare March 22, 2024 13:28
@nasahlpa nasahlpa marked this pull request as draft March 22, 2024 14:11
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Mar 26, 2024
This commit ports the existing OTBN SCA code located in
sw/device/sca/otbn_vertical to the cryptotest framework
to use the uJSON interface.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
@vogelpi
Copy link
Collaborator

vogelpi commented Apr 4, 2024

@nasahlpa , we seem to have a similar draft PR here #282. Would you mind explaining what the differences are please?

@nasahlpa
Copy link
Member Author

nasahlpa commented Apr 4, 2024

This PR is just a draft for experimenting with the OTBN code. However, as we are aiming to switch to a new OTBN code on the device side using the cryptolib, this and the other draft PR can be deleted soon. Will do that once the new code is available.

nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 9, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
@vogelpi
Copy link
Collaborator

vogelpi commented Apr 11, 2024

I see, thanks for explaining.

nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 13, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 15, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 15, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 15, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 16, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 16, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 16, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
@nasahlpa nasahlpa force-pushed the ujson_otbn_port branch 2 times, most recently from 7d0dc05 to 5616fce Compare April 17, 2024 05:59
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 17, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 17, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 18, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
This commit enables communication with the OTBN SCA code over uJSON.
Currently, the ECC256 Keygen SCA test is supported.

The device code is located in lowRISC/opentitan#22190.

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 24, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request Apr 29, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request May 8, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
nasahlpa added a commit to nasahlpa/opentitan that referenced this pull request May 10, 2024
This commit adds the ECC256 key generation side-channel
penetration test to the codebase.

The host code is located in lowRISC/ot-sca#347

Signed-off-by: Pascal Nasahl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants