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

cx_bn_gf2_n_mul() syscall #64

Open
aido opened this issue Oct 10, 2023 · 1 comment · May be fixed by #67
Open

cx_bn_gf2_n_mul() syscall #64

aido opened this issue Oct 10, 2023 · 1 comment · May be fixed by #67

Comments

@aido
Copy link

aido commented Oct 10, 2023

The cx_bn_gf2_n_mul() syscall is not implemented on Nano S but is implemented on all other Ledger devices.

Galois Field operations are used in several areas of cryptography including AES, Shamir's Secret Shares, Elliptic curves etc. So can the cx_bn_gf2_n_mul() syscall be included for the Nano S device?

I have written an app to generate Shamir's Secret Shares and the Galois Field multiplication operation is used extensively. If the cx_bn_gf2_n_mul() syscall was made available on Ledger Nano S it would help reduce the size of the app while at the same time making it more secure.

If this is the wrong place for a request like this please advise on where would be a better place to ask, thanks.

@aido
Copy link
Author

aido commented Feb 22, 2024

If cx_bn_gf2_n_mul() is not and will not be implemented on the Nano S OS can it be implemented in the Nano S SDK instead?

aido added a commit to aido/nanos-secure-sdk that referenced this issue Feb 29, 2024
Workaround that implements cx_bn_gf2_n_mul() in the SDK until it is hopefully added as a syscall like all other Ledger devices
Fixes LedgerHQ#64
@aido aido linked a pull request Feb 29, 2024 that will close this issue
@aido aido moved this from Optional to Todo in app-seed-tool Project Mar 3, 2024
aido added a commit to aido/nanos-secure-sdk that referenced this issue May 19, 2024
Workaround that implements cx_bn_gf2_n_mul() in the SDK until it is hopefully added as a syscall like all other Ledger devices
Fixes LedgerHQ#64
aido added a commit to aido/nanos-secure-sdk that referenced this issue Jun 6, 2024
Workaround that implements cx_bn_gf2_n_mul() in the SDK until it is hopefully added as a syscall like all other Ledger devices
Fixes LedgerHQ#64
aido added a commit to aido/nanos-secure-sdk that referenced this issue Jun 6, 2024
Workaround that implements cx_bn_gf2_n_mul() in the SDK until it is hopefully added as a syscall like all other Ledger devices
Fixes LedgerHQ#64
aido added a commit to aido/ledger-secure-sdk that referenced this issue Jun 6, 2024
Workaround that implements cx_bn_gf2_n_mul() in the LNS SDK until it is hopefully added as a syscall on LNS OS like all other Ledger devices
Fixes LedgerHQ/nanos-secure-sdk#64
aido added a commit to aido/ledger-secure-sdk that referenced this issue Jun 6, 2024
Workaround that implements cx_bn_gf2_n_mul() in the LNS SDK until it is hopefully added as a syscall on LNS OS like all other Ledger devices
Fixes LedgerHQ/nanos-secure-sdk#64
aido added a commit to aido/nanos-secure-sdk that referenced this issue Jun 6, 2024
Workaround that implements cx_bn_gf2_n_mul() in the SDK until it is hopefully added as a syscall like all other Ledger devices
Fixes LedgerHQ#64
aido added a commit to aido/ledger-secure-sdk that referenced this issue Jun 6, 2024
Workaround that implements cx_bn_gf2_n_mul() in the LNS SDK until it is hopefully added as a syscall on LNS OS like all other Ledger devices
Fixes LedgerHQ/nanos-secure-sdk#64
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 a pull request may close this issue.

1 participant