Lines Matching refs:usage
256 …usage flags cannot be deduced from the PK context either, but the conversion function could sensib…
259 …e default. This lets the caller choose a more flexible, or just different usage policy, unlike the…
267 psa_key_usage_flags_t usage,
277 …ndicated usage is a private-key usage. The key type is a public key if the context only contains a…
278 …dtls_pk_get_psa_attributes` sets the usage flags based on the `usage` parameter. It extends the us…
282 …* It is an error if `usage` has more than one flag set, or has a usage that is incompatible with t…
283 …s_pk_get_psa_attributes` sets the algorithm usage policy based on information in the key object an…
284 …SIGN(PSA_ALG_ANY_HASH)` for a sign/verify usage, and `PSA_ALG_RSA_PKCS1V15_CRYPT` for an encrypt/d…
285 …Y_SALT(PSA_ALG_ANY_HASH)` for a sign/verify usage, and `PSA_ALG_RSA_OAEP(hash)` for an encrypt/dec…
286 …* For an `MBEDTLS_PK_ECKEY` or `MBEDTLS_PK_ECDSA` with a sign/verify usage, the algorithm policy i…
287 …* For an `MBEDTLS_PK_ECKEY` or `MBEDTLS_PK_ECDKEY_DH` with the usage `PSA_KEY_USAGE_DERIVE`, the a…
289 …tion: if `usage` is a public-key usage, change the type to the corresponding public-key type, and …