• Home
  • Raw
  • Download

Lines Matching refs:MBEDTLS_PUT_UINT16_BE

141     MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SERVERNAME, p, 0 );  in mbedtls_ssl_write_hostname_ext()
144 MBEDTLS_PUT_UINT16_BE( hostname_len + 5, p, 0 ); in mbedtls_ssl_write_hostname_ext()
147 MBEDTLS_PUT_UINT16_BE( hostname_len + 3, p, 0 ); in mbedtls_ssl_write_hostname_ext()
152 MBEDTLS_PUT_UINT16_BE( hostname_len, p, 0 ); in mbedtls_ssl_write_hostname_ext()
187 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_RENEGOTIATION_INFO, p, 0 ); in ssl_write_renegotiation_ext()
287 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SIG_ALG, p, 0 ); in ssl_write_signature_algorithms_ext()
290 MBEDTLS_PUT_UINT16_BE( sig_alg_len + 2, p, 0 ); in ssl_write_signature_algorithms_ext()
293 MBEDTLS_PUT_UINT16_BE( sig_alg_len, p, 0 ); in ssl_write_signature_algorithms_ext()
339 MBEDTLS_PUT_UINT16_BE( *group_list, elliptic_curve_list, elliptic_curve_len ); in ssl_write_supported_elliptic_curves_ext()
354 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_ELLIPTIC_CURVES, p, 0 ); in ssl_write_supported_elliptic_curves_ext()
357 MBEDTLS_PUT_UINT16_BE( elliptic_curve_len + 2, p, 0 ); in ssl_write_supported_elliptic_curves_ext()
360 MBEDTLS_PUT_UINT16_BE( elliptic_curve_len, p, 0 ); in ssl_write_supported_elliptic_curves_ext()
382 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_POINT_FORMATS, p, 0 ); in ssl_write_supported_point_formats_ext()
419 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_ECJPAKE_KKPP, p, 0 ); in ssl_write_ecjpake_kkpp_ext()
462 MBEDTLS_PUT_UINT16_BE( kkpp_len, p, 0 ); in ssl_write_ecjpake_kkpp_ext()
502 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_CID, p, 0 ); in ssl_write_cid_ext()
505 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_cid_ext()
535 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_MAX_FRAGMENT_LENGTH, p, 0 ); in ssl_write_max_fragment_length_ext()
567 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_ENCRYPT_THEN_MAC, p, 0 ); in ssl_write_encrypt_then_mac_ext()
597 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_EXTENDED_MASTER_SECRET, p, 0 ); in ssl_write_extended_ms_ext()
629 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SESSION_TICKET, p, 0 ); in ssl_write_session_ticket_ext()
632 MBEDTLS_PUT_UINT16_BE( tlen, p, 0 ); in ssl_write_session_ticket_ext()
673 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_ALPN, p, 0 ); in ssl_write_alpn_ext()
701 MBEDTLS_PUT_UINT16_BE( *olen - 6, buf, 4 ); in ssl_write_alpn_ext()
704 MBEDTLS_PUT_UINT16_BE( *olen - 4, buf, 2 ); in ssl_write_alpn_ext()
756 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_USE_SRTP, p, 0 ); in ssl_write_use_srtp_ext()
759 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_use_srtp_ext()
783 MBEDTLS_PUT_UINT16_BE( profile_value, p, 0 ); in ssl_write_use_srtp_ext()
1136 MBEDTLS_PUT_UINT16_BE( ciphersuites[i], p, 0 ); in ssl_write_client_hello()
1152 MBEDTLS_PUT_UINT16_BE( MBEDTLS_SSL_EMPTY_RENEGOTIATION_INFO, p, 0 ); in ssl_write_client_hello()
1316 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_client_hello()
2737 MBEDTLS_PUT_UINT16_BE( *olen, ssl->out_msg, offset ); in ssl_write_encrypted_pms()
3498 MBEDTLS_PUT_UINT16_BE( content_len, ssl->out_msg, 4 ); in ssl_write_client_key_exchange()
4048 MBEDTLS_PUT_UINT16_BE( n, ssl->out_msg, offset + 4 ); in ssl_write_certificate_verify()