You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the bit-size is stored for dynamic-driver secure element keys and calculated for the data for transparent keys. To simplify the design of storage for opaque drivers that store the key as a wrapped blob (#3289), store the bit-size systematically with the other attributes.
The storage format currently has a 32-bit field for the key type, but key types are now 16-bit, as are key sizes. So I propose to split these 32-bits into type and size.
Update psa_format_key_data_for_storage and psa_parse_key_data_from_storage to store the bit-size with the other attributes.
Update the dynamic-driver secure element code to not store the bit-size again.
Update test data in test_suite_psa_crypto_persistent_key.
Currently the bit-size is stored for dynamic-driver secure element keys and calculated for the data for transparent keys. To simplify the design of storage for opaque drivers that store the key as a wrapped blob (#3289), store the bit-size systematically with the other attributes.
The storage format currently has a 32-bit field for the key type, but key types are now 16-bit, as are key sizes. So I propose to split these 32-bits into type and size.
psa_format_key_data_for_storage
andpsa_parse_key_data_from_storage
to store the bit-size with the other attributes.test_suite_psa_crypto_persistent_key
.The text was updated successfully, but these errors were encountered: