mbedTLS
mbedtls_pk_check_pair()
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
mbedTLS
mbedtls_pk_check_pair()
mbedtls_pk_check_pair() function
Check if a public-private pair of keys matches.
Syntax
Show:
Summary
Declaration
Definition
from
pk.h:506
int
mbedtls_pk_check_pair
(
const
mbedtls_pk_context
*
pub
,
const
mbedtls_pk_context
*
prv
)
;
Implemented in
pk.c:469
Arguments
Argument
Description
pub
Context holding a public key.
prv
Context holding a private (and public) key.
Return value
0 on success or MBEDTLS_ERR_PK_BAD_INPUT_DATA
Related Functions
Found 26 other functions taking a
mbedtls_pk_context
argument:
Function
Description
mbedtls_pk_free()
Free the components of a #mbedtls_pk_context.
mbedtls_pk_ec()
Quick access to an EC context inside a PK context. \warning You must make sure the PK context actually holds an EC context before using this function!
mbedtls_pk_can_do()
Tell if a context can do the operation given by type
mbedtls_pk_init()
Initialize a #mbedtls_pk_context (as NONE).
mbedtls_pk_setup()
Initialize a PK context with the information given and allocates the type-specific PK subcontext.
mbedtls_ssl_conf_own_cert()
Set own certificate chain and private key
mbedtls_pk_parse_key()
Parse a private key in PEM or DER format
mbedtls_pk_parse_subpubkey()
Parse a SubjectPublicKeyInfo DER structure
mbedtls_pk_get_bitlen()
Get the size in bits of the underlying key
mbedtls_pk_verify()
Verify signature (including padding if relevant).
mbedtls_pk_verify_restartable()
Restartable version of \c mbedtls_pk_verify()
mbedtls_pk_sign_restartable()
Restartable version of \c mbedtls_pk_sign()
mbedtls_pk_get_type()
Get the key type
mbedtls_pk_verify_ext()
Verify signature, with options. (Includes verification of the padding depending on type.)
mbedtls_pk_sign()
Make signature, including padding if relevant.
mbedtls_pk_get_name()
Access the type name
pk_parse_key_pkcs8_unencrypted_der()
mbedtls_ssl_sig_from_pk()
x509_profile_check_key()
mbedtls_pk_decrypt()
Decrypt message (including padding if relevant).
mbedtls_pk_encrypt()
Encrypt message (including padding if relevant).
mbedtls_pk_debug()
Export debug information
mbedtls_pk_parse_public_key()
Parse a public key in PEM or DER format
ssl_check_key_curve()
ssl_append_key_cert()
mbedtls_pk_get_len()
Get the length in bytes of the underlying key
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out