Start parsing RSASSA-PSS parameters

This commit is contained in:
Manuel Pégourié-Gonnard 2014-01-23 16:24:44 +01:00
parent 59a75d5b9d
commit f346bab139
4 changed files with 120 additions and 1 deletions

View file

@ -278,6 +278,8 @@ int x509_get_alg_null( unsigned char **p, const unsigned char *end,
x509_buf *alg );
int x509_get_alg( unsigned char **p, const unsigned char *end,
x509_buf *alg, x509_buf *params );
int x509_get_rsassa_pss_params( const x509_buf *params, md_type_t *md_alg,
int *salt_len, int *trailer_field );
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 );