mbedTLS + 0/1 examples
SourceVu will show references to mbedtls_pk_parse_public_key() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedExamplesReferencesCall TreeData Use

Return value

0 if successful, or a specific PK or PEM error code

Notes

If #MBEDTLS_USE_PSA_CRYPTO is enabled, the PSA crypto subsystem must have been initialized by calling psa_crypto_init() before calling this function. On entry, ctx must be empty, either freshly initialised with mbedtls_pk_init() or reset with mbedtls_pk_free(). If you need a specific key type, check the result with mbedtls_pk_can_do(). For compressed points, see #MBEDTLS_ECP_PF_COMPRESSED for limitations. The key is also checked for correctness.

References

from 0/1 examples