quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test_suite_psa_crypto_attributes.data (1362B)


      1 PSA key attributes structure
      2 depends_on:PSA_WANT_ALG_CCM:PSA_WANT_KEY_TYPE_AES
      3 attributes_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 
      5 PSA key attributes: id only
      6 persistence_attributes:0x1234:0x5678:-1:-1:0:0x1234:0x5678:PSA_KEY_LIFETIME_PERSISTENT
      7 
      8 PSA key attributes: lifetime=3 only
      9 persistence_attributes:-1:0:3:-1:0:0:0:3
     10 
     11 PSA key attributes: id then back to volatile
     12 persistence_attributes:0x1234:0x5678:PSA_KEY_LIFETIME_VOLATILE:-1:0:0:0x5678:PSA_KEY_LIFETIME_VOLATILE
     13 
     14 PSA key attributes: id then back to non local volatile
     15 persistence_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 
     17 PSA key attributes: id then lifetime
     18 persistence_attributes:0x1234:0x5678:3:-1:0:0x1234:0x5678:3
     19 
     20 PSA key attributes: lifetime then id
     21 persistence_attributes:0x1234:0x5678:3:0x1235:0x5679:0x1235:0x5679:3
     22 
     23 PSA key attributes: non local volatile lifetime then id
     24 persistence_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 
     26 PSA key attributes: slot number
     27 slot_number_attribute: