mbedtls_pk_parse_subpubkey() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_pk_parse_subpubkey() function

Parse a SubjectPublicKeyInfo DER structure

Syntax

int mbedtls_pk_parse_subpubkey( unsigned char **p,     const unsigned char *end,     mbedtls_pk_context *pk );
Implemented in pkparse.c:616

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

References

LocationReferrerText
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:1445mbedtls_pk_parse_public_key()
ret = mbedtls_pk_parse_subpubkey( &p, p + pem.buflen, ctx );
pkparse.c:1478mbedtls_pk_parse_public_key()
ret = mbedtls_pk_parse_subpubkey( &p, p + keylen, ctx );
x509_crt.c:990x509_crt_parse_der_core()
if( ( ret = mbedtls_pk_parse_subpubkey( &p, end, &crt->pk ) ) != 0 )

Call Tree

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()::ret
mbedtls_pk_parse_subpubkey()::len
mbedtls_pk_parse_subpubkey()::pk_alg
mbedtls_pk_parse_subpubkey()::pk_info
all items filtered out
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()