Lines Matching defs:key
48 int mbedtls_pk_ecc_set_key(mbedtls_pk_context *pk, unsigned char *key, size_t key_len)
58 * the PK module cannot do ECDH. When the key will be used in TLS for
70 status = psa_import_key(&attributes, key, key_len, &pk->priv_id);
76 int ret = mbedtls_ecp_read_key(eck->grp.id, eck, key, key_len);
110 /* Import private key into PSA, from serialized input */
120 /* Export public key from PSA */
131 /* Load serialized public key into ecp_keypair structure */
147 * Set the public key: fallback using ECP_LIGHT in the USE_PSA_EC_DATA case.
156 * out: will have the public key set.
157 * [in] pub, pub_len: the public key as an ECPoint,
208 /* Load the key */
226 /* Validate the key by trying to import it */