Lines Matching refs:md_alg
144 static int x509_get_hash_alg( const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg ) in x509_get_hash_alg() argument
174 if( ( ret = mbedtls_oid_get_md_alg( &md_oid, md_alg ) ) != 0 ) in x509_get_hash_alg()
204 mbedtls_md_type_t *md_alg, mbedtls_md_type_t *mgf_md, in mbedtls_x509_get_rsassa_pss_params() argument
214 *md_alg = MBEDTLS_MD_SHA1; in mbedtls_x509_get_rsassa_pss_params()
241 if( ( ret = mbedtls_oid_get_md_alg( &alg_id, md_alg ) ) != 0 ) in mbedtls_x509_get_rsassa_pss_params()
657 mbedtls_md_type_t *md_alg, mbedtls_pk_type_t *pk_alg, in mbedtls_x509_get_sig_alg() argument
665 if( ( ret = mbedtls_oid_get_sig_alg( sig_oid, md_alg, pk_alg ) ) != 0 ) in mbedtls_x509_get_sig_alg()
678 md_alg, in mbedtls_x509_get_sig_alg()
845 mbedtls_pk_type_t pk_alg, mbedtls_md_type_t md_alg, in mbedtls_x509_sig_alg_gets() argument
868 md_info = mbedtls_md_info_from_type( md_alg ); in mbedtls_x509_sig_alg_gets()
879 ((void) md_alg); in mbedtls_x509_sig_alg_gets()