mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
@ -1378,9 +1378,9 @@ psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key,
|
|||||||
defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_RSA_PUBLIC_KEY)
|
defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_RSA_PUBLIC_KEY)
|
||||||
case PSA_KEY_TYPE_RSA_KEY_PAIR:
|
case PSA_KEY_TYPE_RSA_KEY_PAIR:
|
||||||
case PSA_KEY_TYPE_RSA_PUBLIC_KEY:
|
case PSA_KEY_TYPE_RSA_PUBLIC_KEY:
|
||||||
/* TODO: reporting the public exponent for opaque keys
|
/* TODO: This is a temporary situation where domain parameters are deprecated,
|
||||||
* is not yet implemented.
|
* but we need it for namely generating an RSA key with a non-default exponent.
|
||||||
* https://github.com/ARMmbed/mbed-crypto/issues/216
|
* This would be improved after https://github.com/Mbed-TLS/mbedtls/issues/6494.
|
||||||
*/
|
*/
|
||||||
if (!psa_key_lifetime_is_external(slot->attr.lifetime)) {
|
if (!psa_key_lifetime_is_external(slot->attr.lifetime)) {
|
||||||
mbedtls_rsa_context *rsa = NULL;
|
mbedtls_rsa_context *rsa = NULL;
|
||||||
|
Reference in New Issue
Block a user