mbedtls_pk_parse_subpubkey() function
Parse a SubjectPublicKeyInfo DER structure
Arguments
p
the position in the ASN.1 data
end
end of the buffer
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
Location | Referrer | Text |
pkparse.c:616 | | int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end, |
pk.h:716 | | int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end, |
pkparse.c:1445 | mbedtls_pk_parse_public_key() | ret = mbedtls_pk_parse_subpubkey( &p, p + pem.buflen, ctx ); |
pkparse.c:1478 | mbedtls_pk_parse_public_key() | ret = mbedtls_pk_parse_subpubkey( &p, p + keylen, ctx ); |
x509_crt.c:990 | x509_crt_parse_der_core() | if( ( ret = mbedtls_pk_parse_subpubkey( &p, end, &crt->pk ) ) != 0 ) |
Functions calling mbedtls_pk_parse_subpubkey()
Functions called by mbedtls_pk_parse_subpubkey()
mbedtls_pk_parse_subpubkey()
Data read by mbedtls_pk_parse_subpubkey()
Data written by mbedtls_pk_parse_subpubkey()
mbedtls_pk_parse_subpubkey()
mbedtls_pk_parse_subpubkey()::ret mbedtls_pk_parse_subpubkey()::pk_info all items filtered out
Type of mbedtls_pk_parse_subpubkey()
mbedtls_pk_parse_subpubkey()
size_t all items filtered out