Lines Matching refs:hs_msg
2940 if( ssl->handshake->hs_msg == NULL ) in ssl_reassemble_dtls_handshake()
2956 ssl->handshake->hs_msg = mbedtls_calloc( 1, alloc_len ); in ssl_reassemble_dtls_handshake()
2957 if( ssl->handshake->hs_msg == NULL ) in ssl_reassemble_dtls_handshake()
2965 memcpy( ssl->handshake->hs_msg, ssl->in_msg, 6 ); in ssl_reassemble_dtls_handshake()
2966 memset( ssl->handshake->hs_msg + 6, 0, 3 ); in ssl_reassemble_dtls_handshake()
2967 memcpy( ssl->handshake->hs_msg + 9, in ssl_reassemble_dtls_handshake()
2968 ssl->handshake->hs_msg + 1, 3 ); in ssl_reassemble_dtls_handshake()
2973 if( memcmp( ssl->handshake->hs_msg, ssl->in_msg, 4 ) != 0 ) in ssl_reassemble_dtls_handshake()
2980 msg = ssl->handshake->hs_msg + 12; in ssl_reassemble_dtls_handshake()
3061 memcpy( ssl->in_msg, ssl->handshake->hs_msg, ssl->in_hslen ); in ssl_reassemble_dtls_handshake()
3063 mbedtls_free( ssl->handshake->hs_msg ); in ssl_reassemble_dtls_handshake()
3064 ssl->handshake->hs_msg = NULL; in ssl_reassemble_dtls_handshake()
3135 ( ssl->handshake != NULL && ssl->handshake->hs_msg != NULL ) ) in mbedtls_ssl_prepare_handshake_record()
7020 mbedtls_free( handshake->hs_msg ); in mbedtls_ssl_handshake_free()