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

How to implement a custom RSA-based mechanism #104

Closed
gilles-peskine-arm opened this issue May 29, 2024 · 1 comment
Closed

How to implement a custom RSA-based mechanism #104

gilles-peskine-arm opened this issue May 29, 2024 · 1 comment
Labels
enhancement New feature or request needs-design-approval Needs design discussion / approval

Comments

@gilles-peskine-arm
Copy link

gilles-peskine-arm commented May 29, 2024

TF-PSA-Crypto 1.0 and Mbed TLS 4.0 will no longer expose the RSA module, only specific algorithms (PKCS#1 v1.5 encryption, PKCS#1 v1.5 signature, PSS, OAEP). Users who need a diffferent RSA-based mechanism (e.g. full-domain encryption) must contribute an implementation and wait for the next release.

Should TF-PSA-Crypto offer a way to access the private-key and public-key RSA primitives (in Mbed TLS ≤3.x: mbedtls_rsa_public, mbedtls_rsa_private)?

Mailing list thread: https://lists.trustedfirmware.org/archives/list/mbed-tls@lists.trustedfirmware.org/thread/EKDLYVDR6HZPM55HF4ZKNWX7LDEFRCRG/

@gilles-peskine-arm gilles-peskine-arm added enhancement New feature or request needs-design-approval Needs design discussion / approval labels May 29, 2024
@gilles-peskine-arm
Copy link
Author

Architectural decision: we are not going to provide an API for custom RSA mechanisms in TF-PSA-Crypto 1.0. We may add such a mechanism later based on demand.

@gilles-peskine-arm gilles-peskine-arm closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-design-approval Needs design discussion / approval
Projects
None yet
Development

No branches or pull requests

1 participant