Home
last modified time | relevance | path

Searched refs:hs_state (Results 1 – 3 of 3) sorted by relevance

/net-tools-3.7.0/tinydtls-0.8.2/
Ddtls.c437 dtls_int_to_uint16(buf, peer->handshake_params->hs_state.mseq_s); in dtls_set_handshake_header()
440 peer->handshake_params->hs_state.mseq_s++; in dtls_set_handshake_header()
1072 dtls_hash_update(&peer->handshake_params->hs_state.hs_hash, data, length); in update_hs_hash()
1077 memcpy(hs_hash, &peer->handshake_params->hs_state.hs_hash, in copy_hs_hash()
1078 sizeof(peer->handshake_params->hs_state.hs_hash)); in copy_hs_hash()
1083 return dtls_hash_finalize(buf, &peer->handshake_params->hs_state.hs_hash); in finalize_hs_hash()
1090 dtls_hash_init(&peer->handshake_params->hs_state.hs_hash); in clear_hs_hash()
1123 memcpy(b.statebuf, &peer->handshake_params->hs_state.hs_hash, DTLS_HASH_CTX_SIZE); in check_finished()
1129 memcpy(&peer->handshake_params->hs_state.hs_hash, b.statebuf, DTLS_HASH_CTX_SIZE); in check_finished()
2973 peer->handshake_params->hs_state.mseq_r = 0; in dtls_renegotiate()
[all …]
Dcrypto.h125 dtls_hs_state_t hs_state; /**< handshake protocol status */ member
Dcrypto.c141 dtls_hash_init(&handshake->hs_state.hs_hash); in dtls_handshake_new()