1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Factor out some common code

This commit is contained in:
Manuel Pégourié-Gonnard
2014-01-24 19:28:43 +01:00
parent 41cae8e1f9
commit 5cac583482
6 changed files with 43 additions and 72 deletions

View File

@ -262,8 +262,8 @@ int x509_get_rsassa_pss_params( const x509_buf *params,
int *salt_len, int *trailer_field );
#endif
int x509_get_sig( unsigned char **p, const unsigned char *end, x509_buf *sig );
int x509_get_sig_alg( const x509_buf *sig_oid, md_type_t *md_alg,
pk_type_t *pk_alg );
int x509_get_sig_alg( const x509_buf *sig_oid, const x509_buf *sig_params,
md_type_t *md_alg, pk_type_t *pk_alg );
int x509_get_time( unsigned char **p, const unsigned char *end,
x509_time *time );
int x509_get_serial( unsigned char **p, const unsigned char *end,