Found 3 other functions taking a
psa_key_policy_s
argument:
Test whether a policy permits an algorithm. The caller must test usage flags separately.
Restrict a key policy based on a constraint.
Validate that a key policy is internally well-formed. This function only rejects invalid policies. It does not validate the consistency of the policy with respect to other attributes of the key such as the key type.