Lines Matching refs:policy
127 Since there is no algorithm that can be used with multiple types, and PSA keys have a policy that (…
143 …s a `psa_key_type_t` value and an algorithm which is normally encoded as policy information in a `…
244 …psa_key_type_t` plus policy information? The two APIs are different in crucial ways, with differen…
251 …creates the PSA key needs extra information to indicate which algorithm to put in the key's policy.
259 …lexible, or just different usage policy, unlike the default-then-copy approach which only allows r…
261 …ly two algorithms, and also allows the caller to benefit from default for the policy in more cases.
275 …the lifetime-related alone, since its job is to set the type-related and policy-related attributes.
283 * `mbedtls_pk_get_psa_attributes` sets the algorithm usage policy based on information in the key o…
284 …* For an RSA key with the `MBEDTLS_RSA_PKCS_V15` padding mode, the algorithm policy is `PSA_ALG_RS…
285 …* For an RSA key with the `MBEDTLS_RSA_PKCS_V21` padding mode, the algorithm policy is `PSA_ALG_RS…
286 …hm policy is `PSA_ALG_DETERMINISTIC_ECDSA` if `MBEDTLS_ECDSA_DETERMINISTIC` is enabled and `PSA_AL…
293 * `mbedtls_pk_import_into_psa` does not check that the policy in the attributes is sensible. That's…
311 …policy (`psa_get_key_algorithm`) if that is a matching operation type (sign/verify, encrypt/decryp…
313 …pt/decrypt and sign/verify regardless of the original key's policy. The original key's policy dete…
314 … the code that consumes the key. For RSA keys, the PSA primary algorithm policy is how one conveys…