mbedtls/include/psa
Gilles Peskine b699f07af0 Switch psa_{get,set}_domain_parameters to attributes
Change psa_get_domain_parameters() and psa_set_domain_parameters() to
access a psa_key_attributes_t structure rather than a key handle.

In psa_get_key_attributes(), treat the RSA public exponent as a domain
parameter and read it out. This is in preparation for removing the
`extra` parameter of psa_generate_key() and setting the RSA public
exponent for key generation via domain parameters.

In this commit, the default public exponent 65537 is not treated
specially, which allows us to verify that test code that should be
calling psa_reset_key_attributes() after retrieving the attributes of
an RSA key is doing so properly (if it wasn't, there would be a memory
leak), even if the test data happens to use an RSA key with the
default public exponent.
2019-04-26 17:37:08 +02:00
..
crypto.h Switch psa_{get,set}_domain_parameters to attributes 2019-04-26 17:37:08 +02:00
crypto_accel_driver.h Pacify check-names.sh 2019-03-06 18:29:57 +01:00
crypto_driver_common.h Split crypto_driver.h into one for each driver type 2018-12-21 18:17:10 +01:00
crypto_entropy_driver.h Doxygen changes to match the code changes. clarifications. 2019-02-15 17:23:42 -06:00
crypto_extra.h Move legacy definitions to crypto_extra.h 2019-04-24 15:47:30 +02:00
crypto_platform.h PSA crypto service: encode the key owner (ITS backend only) 2019-02-20 12:52:09 +01:00
crypto_se_driver.h Merge pull request #248 from ARMmbed/dreemkiller_rename_driver 2019-03-06 18:59:46 +00:00
crypto_sizes.h Merge remote-tracking branch 'upstream-crypto/development' into psa-api-beta2-merge-development 2019-04-09 12:00:00 +02:00
crypto_struct.h Switch psa_{get,set}_domain_parameters to attributes 2019-04-26 17:37:08 +02:00
crypto_types.h Merge remote-tracking branch 'upstream-crypto/development' into psa-api-beta2-merge-development 2019-04-09 12:00:00 +02:00
crypto_values.h Algorithm encoding: move two bits from derivation to agreement 2019-04-18 09:42:21 +02:00