1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

SE keys: store the bit size internally (partial implementation)

This commit blindingly copies the size from the attributes. This is
not correct for copy and import.
This commit is contained in:
Gilles Peskine
2019-07-15 21:59:53 +02:00
parent adb1c52149
commit 424f89453b
2 changed files with 10 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ typedef struct
struct se
{
psa_key_slot_number_t slot_number;
size_t bits;
} se;
} data;
} psa_key_slot_t;