Lines Matching defs:key
74 /* The ownership of the priv_id key for opaque keys is external of the PK
161 const mbedtls_svc_key_id_t key)
171 if (PSA_SUCCESS != psa_get_key_attributes(key, &attributes)) {
189 ctx->priv_id = key;
199 int mbedtls_pk_setup_rsa_alt(mbedtls_pk_context *ctx, void *key,
219 rsa_alt->key = key;
343 * Common case: the key alg [or alg2] only allows alg.
361 * then alg is compliant with this key alg
443 /* Detect the presence of a private key in a way that works both
557 /* Opaque keys are always key pairs, so we don't need a check
620 * - If the old key does not allow PSA_KEY_USAGE_COPY.
621 * - If the old key's usage does not allow what attributes wants.
622 * Because the key was intended for use in the pk module, and may
682 * and if it's specified, psa_import_key() will know from the key
699 /* We have a public key and want a key pair. */
705 /* Private key not set. Assume the input is a public key only.
707 * where the group is set but neither the public key nor
708 * the private key. This is not possible through ecp.h
780 * and if it's specified, psa_import_key() will know from the key
873 /* Use a buffer size large enough to contain either a key pair or public key. */
1358 /* The opaque key has no RSA PSS algorithm associated. */
1440 * Check public-private key pair
1477 * Get key size in bits