mbedtls_pk_can_do() function
Tell if a context can do the operation given by type
Arguments
ctx
The context to query. It must have been initialized.
Return value
1 if the context can do operations on the given type. 0 if the context cannot do the operations on the given type. This is always the case for a context that has been initialized but not set up, or that has been cleared with mbedtls_pk_free().
mbedtls_pk_can_do() is called by 7 functions and calls 1 function:
![]()
mbedtls_pk_can_do()
mbedtls_pk_can_do() reads 1 variable:
![]()
mbedtls_pk_can_do()