-
Notifications
You must be signed in to change notification settings - Fork 730
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
[sca/WIP] Update the ecdsa384_sca code #19380
Conversation
Thanks a lot @bilgiday ! I'll keep you updated on my progress :) . |
acc181f
to
c526d38
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I tested the changes on my PC/FPGA setup: no errors and compatible with capture.py in ot-sca repository.
Thanks a lot @bilgiday !!
ab0a033
to
9d96fbe
Compare
@wettermo Thanks for checking it! @jadephilipoom, It looks like the CI checks also pass now. If it looks okay to you, we can merge this. WDYT? |
Thanks @bilgiday for working on this. The code looks good to me, modulo comment from @wettermo. We can update the binaries in ot-sca once this is merged. For now, I've opened ot-sca Issue 149 so we don't forget. |
@vrozic Great, thanks for opening the ot-sca-issue. I will update the binaries after this PR is merged. |
9d96fbe
to
286d946
Compare
This PR is a bit older than a month an in attempt to move things forward, I've taken the liberty to rebase this on current master. |
Update ecc384_serial.c and p384_ecdsa_sca.s files to be compatible with the latest capture.py file in the ot-sca repo. Signed-off-by: Bilgiday Yuce <bilgiday@google.com>
286d946
to
b537d7b
Compare
Update: I've now also included the change suggested by @wettermo and fixed some more comments referring to P256 as well as a missing factor of two (was missing already before). I will now approve this PR and merge it once CI passes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for updating these apps @bilgiday !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Belated LGTM from me 🙂
Update ecc384_serial.c and p384_ecdsa_sca.s files to be compatible with the latest capture.py file in the ot-sca repo.
This is an WIP PR.