Lines Matching refs:olen

2313                                           size_t *olen )  in ssl_write_truncated_hmac_ext()  argument
2319 *olen = 0; in ssl_write_truncated_hmac_ext()
2331 *olen = 4; in ssl_write_truncated_hmac_ext()
2338 size_t *olen ) in ssl_write_cid_ext() argument
2344 *olen = 0; in ssl_write_cid_ext()
2378 *olen = ssl->own_cid_len + 5; in ssl_write_cid_ext()
2385 size_t *olen ) in ssl_write_encrypt_then_mac_ext() argument
2410 *olen = 0; in ssl_write_encrypt_then_mac_ext()
2422 *olen = 4; in ssl_write_encrypt_then_mac_ext()
2429 size_t *olen ) in ssl_write_extended_ms_ext() argument
2436 *olen = 0; in ssl_write_extended_ms_ext()
2449 *olen = 4; in ssl_write_extended_ms_ext()
2456 size_t *olen ) in ssl_write_session_ticket_ext() argument
2462 *olen = 0; in ssl_write_session_ticket_ext()
2474 *olen = 4; in ssl_write_session_ticket_ext()
2480 size_t *olen ) in ssl_write_renegotiation_ext() argument
2486 *olen = 0; in ssl_write_renegotiation_ext()
2515 *olen = p - buf; in ssl_write_renegotiation_ext()
2521 size_t *olen ) in ssl_write_max_fragment_length_ext() argument
2527 *olen = 0; in ssl_write_max_fragment_length_ext()
2541 *olen = 5; in ssl_write_max_fragment_length_ext()
2549 size_t *olen ) in ssl_write_supported_point_formats_ext() argument
2557 *olen = 0; in ssl_write_supported_point_formats_ext()
2572 *olen = 6; in ssl_write_supported_point_formats_ext()
2579 size_t *olen ) in ssl_write_ecjpake_kkpp_ext() argument
2586 *olen = 0; in ssl_write_ecjpake_kkpp_ext()
2616 *olen = kkpp_len + 4; in ssl_write_ecjpake_kkpp_ext()
2622 unsigned char *buf, size_t *olen ) in ssl_write_alpn_ext() argument
2626 *olen = 0; in ssl_write_alpn_ext()
2641 *olen = 7 + strlen( ssl->alpn_chosen ); in ssl_write_alpn_ext()
2643 MBEDTLS_PUT_UINT16_BE( *olen - 4, buf, 2 ); in ssl_write_alpn_ext()
2645 MBEDTLS_PUT_UINT16_BE( *olen - 6, buf, 4 ); in ssl_write_alpn_ext()
2647 buf[6] = MBEDTLS_BYTE_0( *olen - 7 ); in ssl_write_alpn_ext()
2649 memcpy( buf + 7, ssl->alpn_chosen, *olen - 7 ); in ssl_write_alpn_ext()
2656 size_t *olen ) in ssl_write_use_srtp_ext() argument
2662 *olen = 0; in ssl_write_use_srtp_ext()
2718 *olen = 9 + mki_len; in ssl_write_use_srtp_ext()
2851 size_t olen, ext_len = 0, n; in ssl_write_server_hello() local
2992 ssl_write_renegotiation_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
2993 ext_len += olen; in ssl_write_server_hello()
2996 ssl_write_max_fragment_length_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
2997 ext_len += olen; in ssl_write_server_hello()
3001 ssl_write_truncated_hmac_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3002 ext_len += olen; in ssl_write_server_hello()
3006 ssl_write_cid_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3007 ext_len += olen; in ssl_write_server_hello()
3011 ssl_write_encrypt_then_mac_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3012 ext_len += olen; in ssl_write_server_hello()
3016 ssl_write_extended_ms_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3017 ext_len += olen; in ssl_write_server_hello()
3021 ssl_write_session_ticket_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3022 ext_len += olen; in ssl_write_server_hello()
3030 ssl_write_supported_point_formats_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3031 ext_len += olen; in ssl_write_server_hello()
3036 ssl_write_ecjpake_kkpp_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3037 ext_len += olen; in ssl_write_server_hello()
3041 ssl_write_alpn_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3042 ext_len += olen; in ssl_write_server_hello()
3046 ssl_write_use_srtp_ext( ssl, p + 2 + ext_len, &olen ); in ssl_write_server_hello()
3047 ext_len += olen; in ssl_write_server_hello()