1PSA key attributes structure 2depends_on:PSA_WANT_ALG_CCM:PSA_WANT_KEY_TYPE_AES 3attributes_set_get:0xffff1234:0x6963:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CCM:PSA_KEY_TYPE_AES:128 4 5PSA key attributes: id only 6persistence_attributes:0x1234:0x5678:-1:-1:0:0x1234:0x5678:PSA_KEY_LIFETIME_PERSISTENT 7 8PSA key attributes: lifetime=3 only 9persistence_attributes:-1:0:3:-1:0:0:0:3 10 11PSA key attributes: id then back to volatile 12persistence_attributes:0x1234:0x5678:PSA_KEY_LIFETIME_VOLATILE:-1:0:0:0x5678:PSA_KEY_LIFETIME_VOLATILE 13 14PSA key attributes: id then back to non local volatile 15persistence_attributes:0x1234:0x5678:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_LIFETIME_VOLATILE,1):-1:0:0:0x5678:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_LIFETIME_VOLATILE,1) 16 17PSA key attributes: id then lifetime 18persistence_attributes:0x1234:0x5678:3:-1:0:0x1234:0x5678:3 19 20PSA key attributes: lifetime then id 21persistence_attributes:0x1234:0x5678:3:0x1235:0x5679:0x1235:0x5679:3 22 23PSA key attributes: non local volatile lifetime then id 24persistence_attributes:0x1234:0x5678:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_LIFETIME_VOLATILE,3):0x1235:0x5679:0x1235:0x5679:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_LIFETIME_PERSISTENT,3) 25 26PSA key attributes: slot number 27slot_number_attribute: 28