-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Which sample programs to keep in 1.0/4.0 #9904
Comments
For pk programs, it would make sense to also evaluate whether those programs should stay in Mbed TLS or move to TF-PSA-Crypto. PK is a TF-PSA-Crypto API, but if the main usefulness of the programs is to create/parse keys used by the X.509 programs, then it could make sense to keep the programs in mbedtls. |
|
@davidhorstmann-arm Thanks for the analysis! I mostly agree with your proposal, with a couple of exceptions.
|
I've made the updates to the table above. A couple of notes: Re Re |
I just went over the table (just the table, I didn't check the programs themselves and assumed that assertions like "does not use legacy APIs" are correct) and it all looks good to me. Just two thoughts:
Just to be sure: I assume you mean keep
I think for now it will have to be "remove the option", as the PSA interruptible API is not used by TLS yet. |
The PSA equivalent is |
Ah, good to know, thanks! |
For each program under
/programs
in Mbed TLS 3.6, should we remove, keep, adapt or rewrite for TF-PSA-Crypto 1.0 or Mbed TLS 4.0?This is an investigation task. The expected outcome is a list/table covering every program, with the desired outcome for each program and a justification (which I expect will usually be just a short sentence fragment). The outcomes I can think of:
x509/*
— no work to be scheduledcrypt_and_hash
— we'll remove those in batchcipher_aead_demo
(for which the rewriting has already been done) — we'll remove those and file issues to replace them after 1.0/4.0programs/fuzz/fuzz_*key
— file an issue to do the minor adjustments, which will be considered for 1.0/4.0benchmark
— file an issue for the rewrite, which will happen after 1.0/4.0.Definition of done for this task: the list/table, and file issues where we identify that work needs to be done.
Reasons to keep a program:
programs/x509/*
are meant to be usable to run a simple CA and work with a simple CA, and some ofprograms/pk/*
are complementary with that.The text was updated successfully, but these errors were encountered: