Lines Matching refs:md_size

360     size_t const md_size = mbedtls_md_get_size( md_info );  in mbedtls_ssl_tls1_3_derive_early_secrets()  local
383 early_secret, md_size, in mbedtls_ssl_tls1_3_derive_early_secrets()
388 md_size ); in mbedtls_ssl_tls1_3_derive_early_secrets()
394 early_secret, md_size, in mbedtls_ssl_tls1_3_derive_early_secrets()
399 md_size ); in mbedtls_ssl_tls1_3_derive_early_secrets()
414 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls1_3_derive_handshake_secrets() local
441 handshake_secret, md_size, in mbedtls_ssl_tls1_3_derive_handshake_secrets()
446 md_size ); in mbedtls_ssl_tls1_3_derive_handshake_secrets()
456 handshake_secret, md_size, in mbedtls_ssl_tls1_3_derive_handshake_secrets()
461 md_size ); in mbedtls_ssl_tls1_3_derive_handshake_secrets()
476 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls1_3_derive_application_secrets() local
502 application_secret, md_size, in mbedtls_ssl_tls1_3_derive_application_secrets()
507 md_size ); in mbedtls_ssl_tls1_3_derive_application_secrets()
512 application_secret, md_size, in mbedtls_ssl_tls1_3_derive_application_secrets()
517 md_size ); in mbedtls_ssl_tls1_3_derive_application_secrets()
522 application_secret, md_size, in mbedtls_ssl_tls1_3_derive_application_secrets()
527 md_size ); in mbedtls_ssl_tls1_3_derive_application_secrets()
546 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls1_3_derive_resumption_master_secret() local
554 application_secret, md_size, in mbedtls_ssl_tls1_3_derive_resumption_master_secret()
559 md_size ); in mbedtls_ssl_tls1_3_derive_resumption_master_secret()
574 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_key_schedule_stage_application() local
591 handshake->tls1_3_master_secrets.app, md_size ); in mbedtls_ssl_tls13_key_schedule_stage_application()
602 size_t const md_size = mbedtls_md_get_size( md_info ); in ssl_tls1_3_calc_finished_core() local
629 md_type, base_key, md_size, in ssl_tls1_3_calc_finished_core()
632 finished_key, md_size ); in ssl_tls1_3_calc_finished_core()
636 ret = mbedtls_md_hmac( md_info, finished_key, md_size, transcript, md_size, dst ); in ssl_tls1_3_calc_finished_core()
661 size_t const md_size = mbedtls_md_get_size( md ); in mbedtls_ssl_tls13_calculate_verify_data() local
665 if( dst_len < md_size ) in mbedtls_ssl_tls13_calculate_verify_data()
686 *actual_len = md_size; in mbedtls_ssl_tls13_calculate_verify_data()
688 MBEDTLS_SSL_DEBUG_BUF( 3, "verify_data for finished message", dst, md_size ); in mbedtls_ssl_tls13_calculate_verify_data()
708 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls1_3_create_psk_binder() local
744 early_secret, md_size, in mbedtls_ssl_tls1_3_create_psk_binder()
747 binder_key, md_size ); in mbedtls_ssl_tls1_3_create_psk_binder()
753 early_secret, md_size, in mbedtls_ssl_tls1_3_create_psk_binder()
756 binder_key, md_size ); in mbedtls_ssl_tls1_3_create_psk_binder()
775 MBEDTLS_SSL_DEBUG_BUF( 3, "psk binder", result, md_size ); in mbedtls_ssl_tls1_3_create_psk_binder()
939 size_t md_size; in mbedtls_ssl_tls13_generate_handshake_keys() local
959 md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_generate_handshake_keys()
985 md_size ); in mbedtls_ssl_tls13_generate_handshake_keys()
988 md_size ); in mbedtls_ssl_tls13_generate_handshake_keys()
998 md_size, in mbedtls_ssl_tls13_generate_handshake_keys()
1006 md_size, in mbedtls_ssl_tls13_generate_handshake_keys()
1015 md_size, keylen, ivlen, traffic_keys ); in mbedtls_ssl_tls13_generate_handshake_keys()
1054 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_key_schedule_stage_handshake() local
1103 handshake->tls1_3_master_secrets.handshake, md_size ); in mbedtls_ssl_tls13_key_schedule_stage_handshake()
1132 size_t md_size; in mbedtls_ssl_tls13_generate_application_keys() local
1149 md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_generate_application_keys()
1178 md_size, keylen, ivlen, traffic_keys ); in mbedtls_ssl_tls13_generate_application_keys()
1187 md_size ); in mbedtls_ssl_tls13_generate_application_keys()
1191 md_size ); in mbedtls_ssl_tls13_generate_application_keys()
1200 app_secrets->client_application_traffic_secret_N, md_size, in mbedtls_ssl_tls13_generate_application_keys()
1208 app_secrets->server_application_traffic_secret_N, md_size, in mbedtls_ssl_tls13_generate_application_keys()