Free the components of a #mbedtls_pk_context.
Tell if a context can do the operation given by type
Quick access to an EC context inside a PK context. \warning This function can only be used when the type of the context, as returned by mbedtls_pk_get_type(), is #MBEDTLS_PK_ECKEY, #MBEDTLS_PK_ECKEY_DH, or #MBEDTLS_PK_ECDSA. Ensuring that is the caller's responsibility. Alternatively, you can check whether this function returns NULL.
Initialize a PK context with the information given and allocates the type-specific PK subcontext.
Quick access to an RSA context inside a PK context. \warning This function can only be used when the type of the context, as returned by mbedtls_pk_get_type(), is #MBEDTLS_PK_RSA. Ensuring that is the caller's responsibility. Alternatively, you can check whether this function returns NULL.
Parse a SubjectPublicKeyInfo DER structure
Get the size in bits of the underlying key
Restartable version of \c mbedtls_pk_sign()
Verify signature (including padding if relevant).
Restartable version of \c mbedtls_pk_verify()
Decrypt message (including padding if relevant).
Encrypt message (including padding if relevant).
Verify signature, with options. (Includes verification of the padding depending on type.)
Make signature, including padding if relevant.
Get the length in bytes of the underlying key
Check if a public-private pair of keys matches.
Parse a private key in PEM or DER format
Parse a public key in PEM or DER format
Set own certificate chain and private key
Set own certificate and key for the current handshake