mbedtls/scripts/data_files/driver_templates
Gilles Peskine 69f11c8dfb generate key ext: skip driver invocation with non-default method
In the driver wrapper for psa_generate_key() and psa_generate_key_ext():

* Invoke the built-in code if using a non-default method, even if there
  might be an accelerator. This is ok because we only support non-default
  methods for RSA and we don't support driver-only RSA, therefore a
  non-default method will always have built-in code behind it.
* Return NOT_SUPPORTED if trying to use a non-default method with an opaque
  driver.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-15 11:57:48 +01:00
..
OS-template-opaque.jinja
OS-template-transparent.jinja
psa_crypto_driver_wrappers_no_static.c.jinja update headers 2023-11-02 19:47:20 +00:00
psa_crypto_driver_wrappers.h.jinja generate key ext: skip driver invocation with non-default method 2024-02-15 11:57:48 +01:00