Lines Matching defs:key
282 * Check the certificate's key type matches the signature alg
285 MBEDTLS_SSL_DEBUG_MSG(1, ("signature algorithm doesn't match cert key"));
956 mbedtls_pk_context *key)
958 mbedtls_pk_type_t pk_type = (mbedtls_pk_type_t) mbedtls_ssl_sig_from_pk(key);
959 size_t key_size = mbedtls_pk_get_bitlen(key);
1097 /* The signature failed. This is possible if the private key
1577 /* Check if key size is consistent with given buffer length. */
1580 /* Store peer's ECDH/FFDH public key. */
1582 MBEDTLS_SSL_DEBUG_MSG(1, ("Invalid public key length: %u > %" MBEDTLS_PRINTF_SIZET,
1653 /* Convert EC's TLS ID to PSA key type. */
1684 /* Generate ECDH/FFDH private key. */
1694 /* Export the public part of the ECDH/FFDH private key from PSA. */