mbedtls_pk_parse_subpubkey() function
Parse a SubjectPublicKeyInfo DER structure
Arguments
p
the position in the ASN.1 data
pk
The PK context to fill. It must have been initialized but not set up.
Return value
0 if successful, or a specific PK error code
![]()
int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end,![]()
int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end,![]()
ret = mbedtls_pk_parse_subpubkey( &p, p + pem.buflen, ctx );![]()
ret = mbedtls_pk_parse_subpubkey( &p, p + keylen, ctx );![]()
if( ( ret = mbedtls_pk_parse_subpubkey( &p, end, &crt->pk ) ) != 0 )
mbedtls_pk_parse_subpubkey() is called by 2 functions and calls 9 functions:
![]()
mbedtls_pk_parse_subpubkey()
mbedtls_pk_parse_subpubkey() reads 3 variables:
![]()
mbedtls_pk_parse_subpubkey()