Mbed-TLS / TF-PSA-Crypto

Reference implementation of the PSA Cryptography API
Apache License 2.0
9 stars 7 forks source link

Driver interface stability promise in Mbed TLS 4.0 #99

Open gilles-peskine-arm opened 8 months ago

gilles-peskine-arm commented 8 months ago

What promises do we make in Mbed TLS 4.0 regarding the stability of driver interfaces? This covers:

Definition of done: a design decision (the hard part), and document it (the easy part).

gilles-peskine-arm commented 3 months ago

We're strongly considering officializing standardize the driver interface as a PSA interface. If this happens, the PSA Crypto working group will own the interface, not Mbed TLS/TF-PSA-Crypto. This is an argument against promising full backward compatibility of the current interface.

With my Mbed TLS/TF-PSA-Crypto hat, I am uncomfortable promising backward compatibility until we have done three things:

Given the high bar, I am revising my previous opinion: I don't think we'll have time to do it before the TF-PSA-Crypto 1.0 release. So I'm revising the priority as a COULD, but in all likelihood, this won't happen in time, and we'll have to live with unclear promises for some time longer.