Lines Matching refs:md_alg
2234 mbedtls_md_type_t *md_alg, in ssl_parse_signature_algorithm() argument
2238 *md_alg = MBEDTLS_MD_NONE; in ssl_parse_signature_algorithm()
2253 if( ( *md_alg = mbedtls_ssl_md_alg_from_hash( (*p)[0] ) ) == MBEDTLS_MD_NONE ) in ssl_parse_signature_algorithm()
2273 if( mbedtls_ssl_check_sig_hash( ssl, *md_alg ) != 0 ) in ssl_parse_signature_algorithm()
2512 mbedtls_md_type_t md_alg = MBEDTLS_MD_NONE; in ssl_parse_server_key_exchange() local
2525 &md_alg, &pk_alg ) != 0 ) in ssl_parse_server_key_exchange()
2550 if( pk_alg == MBEDTLS_PK_ECDSA && md_alg == MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange()
2551 md_alg = MBEDTLS_MD_SHA1; in ssl_parse_server_key_exchange()
2589 if( md_alg == MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange()
2602 if( md_alg != MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange()
2606 md_alg ); in ssl_parse_server_key_exchange()
2646 md_alg, hash, hashlen, p, sig_len, rs_ctx ) ) != 0 ) in ssl_parse_server_key_exchange()
3222 mbedtls_md_type_t md_alg = MBEDTLS_MD_NONE; in ssl_write_certificate_verify() local
3295 md_alg = MBEDTLS_MD_NONE; in ssl_write_certificate_verify()
3304 md_alg = MBEDTLS_MD_SHA1; in ssl_write_certificate_verify()
3331 md_alg = MBEDTLS_MD_SHA384; in ssl_write_certificate_verify()
3336 md_alg = MBEDTLS_MD_SHA256; in ssl_write_certificate_verify()
3358 md_alg, hash_start, hashlen, in ssl_write_certificate_verify()