mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:25:11 +00:00
Add issue numbers for some missing parts of secure element support
This commit is contained in:
parent
5da7b3e55c
commit
c9d7f94a65
|
@ -1214,8 +1214,10 @@ psa_status_t psa_get_key_attributes( psa_key_handle_t handle,
|
||||||
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:
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
||||||
/* TOnogrepDO: reporting the public exponent for opaque keys
|
/* TODO: reporting the public exponent for opaque keys
|
||||||
* is not yet implemented. */
|
* is not yet implemented.
|
||||||
|
* https://github.com/ARMmbed/mbed-crypto/issues/216
|
||||||
|
*/
|
||||||
if( psa_key_slot_is_external( slot ) )
|
if( psa_key_slot_is_external( slot ) )
|
||||||
break;
|
break;
|
||||||
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
||||||
|
@ -1735,10 +1737,12 @@ static void psa_fail_key_creation( psa_key_slot_t *slot,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
||||||
/* TOnogrepDO: If the key has already been created in the secure
|
/* TODO: If the key has already been created in the secure
|
||||||
* element, and the failure happened later (when saving metadata
|
* element, and the failure happened later (when saving metadata
|
||||||
* to internal storage), we need to destroy the key in the secure
|
* to internal storage), we need to destroy the key in the secure
|
||||||
* element. */
|
* element.
|
||||||
|
* https://github.com/ARMmbed/mbed-crypto/issues/217
|
||||||
|
*/
|
||||||
|
|
||||||
/* Abort the ongoing transaction if any (there may not be one if
|
/* Abort the ongoing transaction if any (there may not be one if
|
||||||
* the creation process failed before starting one, or if the
|
* the creation process failed before starting one, or if the
|
||||||
|
@ -6088,8 +6092,10 @@ static psa_status_t psa_crypto_recover_transaction(
|
||||||
{
|
{
|
||||||
case PSA_CRYPTO_TRANSACTION_CREATE_KEY:
|
case PSA_CRYPTO_TRANSACTION_CREATE_KEY:
|
||||||
case PSA_CRYPTO_TRANSACTION_DESTROY_KEY:
|
case PSA_CRYPTO_TRANSACTION_DESTROY_KEY:
|
||||||
/* TOnogrepDO - fall through to the failure case until this
|
/* TODO - fall through to the failure case until this
|
||||||
* is implemented */
|
* is implemented.
|
||||||
|
* https://github.com/ARMmbed/mbed-crypto/issues/218
|
||||||
|
*/
|
||||||
default:
|
default:
|
||||||
/* We found an unsupported transaction in the storage.
|
/* We found an unsupported transaction in the storage.
|
||||||
* We don't know what state the storage is in. Give up. */
|
* We don't know what state the storage is in. Give up. */
|
||||||
|
|
Loading…
Reference in a new issue