Home
last modified time | relevance | path

Searched refs:MBEDTLS_PUT_UINT16_BE (Results 1 – 8 of 8) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_cli.c147 MBEDTLS_PUT_UINT16_BE( hostname_len + 5, p, 0 ); in ssl_write_hostname_ext()
150 MBEDTLS_PUT_UINT16_BE( hostname_len + 3, p, 0 ); in ssl_write_hostname_ext()
155 MBEDTLS_PUT_UINT16_BE( hostname_len, p, 0 ); in ssl_write_hostname_ext()
298 MBEDTLS_PUT_UINT16_BE( sig_alg_len, p, 0 ); in ssl_write_signature_algorithms_ext()
478 MBEDTLS_PUT_UINT16_BE( kkpp_len, p, 0 ); in ssl_write_ecjpake_kkpp_ext()
522 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_cid_ext()
686 MBEDTLS_PUT_UINT16_BE( tlen, p, 0 ); in ssl_write_session_ticket_ext()
756 MBEDTLS_PUT_UINT16_BE( *olen - 6, buf, 4 ); in ssl_write_alpn_ext()
759 MBEDTLS_PUT_UINT16_BE( *olen - 4, buf, 2 ); in ssl_write_alpn_ext()
815 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_use_srtp_ext()
[all …]
A Dcommon.h205 #ifndef MBEDTLS_PUT_UINT16_BE
206 #define MBEDTLS_PUT_UINT16_BE( n, data, offset ) \ macro
A Dssl_srv.c2369 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_CID, p, 0 ); in ssl_write_cid_ext()
2372 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_cid_ext()
2613 MBEDTLS_PUT_UINT16_BE( kkpp_len, p, 0 ); in ssl_write_ecjpake_kkpp_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()
2698 MBEDTLS_PUT_UINT16_BE( ext_len, buf, 2 ); in ssl_write_use_srtp_ext()
2707 MBEDTLS_PUT_UINT16_BE( profile_value, buf, 6 ); in ssl_write_use_srtp_ext()
3055 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_server_hello()
3197 MBEDTLS_PUT_UINT16_BE( sa_len, p, 0 ); in ssl_write_certificate_request()
3237 MBEDTLS_PUT_UINT16_BE( dn_size, p, 0 ); in ssl_write_certificate_request()
[all …]
A Dssl_ticket.c250 MBEDTLS_PUT_UINT16_BE( clear_len, state_len_bytes, 0 ); in mbedtls_ssl_ticket_write()
A Dccm.c224 MBEDTLS_PUT_UINT16_BE( add_len, b, 0 ); in ccm_auth_crypt()
A Dssl_msg.c468 MBEDTLS_PUT_UINT16_BE( rec->data_len, cur, 0 ); in ssl_extract_add_data_from_record()
474 MBEDTLS_PUT_UINT16_BE( rec->data_len, cur, 0 ); in ssl_extract_add_data_from_record()
510 MBEDTLS_PUT_UINT16_BE( len, header, 9); in ssl_mac()
2635 MBEDTLS_PUT_UINT16_BE( ssl->handshake->out_msg_seq, ssl->out_msg, 4 ); in mbedtls_ssl_write_handshake_msg()
2749 MBEDTLS_PUT_UINT16_BE( len, ssl->out_len, 0); in mbedtls_ssl_write_record()
2789 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->out_len, 0 ); in mbedtls_ssl_write_record()
3397 MBEDTLS_PUT_UINT16_BE( *olen - 13, obuf, 11 ); in mbedtls_ssl_check_dtls_clihlo_cookie()
4812 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->in_len, 0 ); in ssl_get_next_record()
A Dssl_tls.c2028 MBEDTLS_PUT_UINT16_BE( psk_len, p, 0 ); in mbedtls_ssl_psk_derive_premaster()
2069 MBEDTLS_PUT_UINT16_BE( len, p, 0 ); in mbedtls_ssl_psk_derive_premaster()
2090 MBEDTLS_PUT_UINT16_BE( zlen, p, 0 ); in mbedtls_ssl_psk_derive_premaster()
2107 MBEDTLS_PUT_UINT16_BE( psk_len, p, 0 ); in mbedtls_ssl_psk_derive_premaster()
5483 MBEDTLS_PUT_UINT16_BE( session->ciphersuite, p, 0 ); in ssl_session_save()
6471 MBEDTLS_PUT_UINT16_BE( ssl->mtu, p, 0 ); in mbedtls_ssl_context_save()
A Decp.c1167 MBEDTLS_PUT_UINT16_BE( curve_info->tls_id, buf, 0 ); in mbedtls_ecp_tls_write_group()

Completed in 39 milliseconds