Hi All,

 

I see that the PSA crypto API v1.0 spec says “This specification only defines policies that restrict keys to a single algorithm, which is consistent with both common practice and security good practice. “, but the TF-M code defines two algs in the policy struct.  Which will be the path going forward? 

 

struct psa_key_policy_s

{

    psa_key_usage_t usage;

    psa_algorithm_t alg;

    psa_algorithm_t alg2;

};

 

I also see psa_open_key() and psa_close_key() were removed from the spec.  Any plans to remove from TF-M code in the future?

 

 

Regards,

 

Brian Quach

SimpleLink MCU

Texas Instruments Inc.

12500 TI Blvd, MS F-4000

Dallas, TX 75243

214-479-4076