Lines Matching refs:md_alg
2969 mbedtls_md_type_t *md_alg, in ssl_parse_signature_algorithm() argument
2973 *md_alg = MBEDTLS_MD_NONE; in ssl_parse_signature_algorithm()
2988 if( ( *md_alg = mbedtls_ssl_md_alg_from_hash( (*p)[0] ) ) in ssl_parse_signature_algorithm()
3010 if( mbedtls_ssl_check_sig_hash( ssl, *md_alg ) != 0 ) in ssl_parse_signature_algorithm()
3306 mbedtls_md_type_t md_alg = MBEDTLS_MD_NONE; in ssl_parse_server_key_exchange() local
3321 &md_alg, &pk_alg ) != 0 ) in ssl_parse_server_key_exchange()
3353 if( pk_alg == MBEDTLS_PK_ECDSA && md_alg == MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange()
3354 md_alg = MBEDTLS_MD_SHA1; in ssl_parse_server_key_exchange()
3396 if( md_alg == MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange()
3409 if( md_alg != MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange()
3413 md_alg ); in ssl_parse_server_key_exchange()
3458 md_alg, hash, hashlen, p, sig_len, rs_ctx ) ) != 0 ) in ssl_parse_server_key_exchange()
4192 mbedtls_md_type_t md_alg = MBEDTLS_MD_NONE; in ssl_write_certificate_verify() local
4260 md_alg = MBEDTLS_MD_NONE; in ssl_write_certificate_verify()
4269 md_alg = MBEDTLS_MD_SHA1; in ssl_write_certificate_verify()
4296 md_alg = MBEDTLS_MD_SHA384; in ssl_write_certificate_verify()
4301 md_alg = MBEDTLS_MD_SHA256; in ssl_write_certificate_verify()
4323 md_alg, hash_start, hashlen, in ssl_write_certificate_verify()