Lines Matching refs:s3
265 if (s->s3->hs.tls12.reuse_message) { in ssl3_get_message()
266 s->s3->hs.tls12.reuse_message = 0; in ssl3_get_message()
267 if ((mt >= 0) && (s->s3->hs.tls12.message_type != mt)) { in ssl3_get_message()
274 s->init_num = (int)s->s3->hs.tls12.message_size; in ssl3_get_message()
280 if (s->s3->hs.state == st1) { in ssl3_get_message()
326 s->s3->hs.tls12.message_type = u8; in ssl3_get_message()
338 s->s3->hs.tls12.message_size = l; in ssl3_get_message()
339 s->s3->hs.state = stn; in ssl3_get_message()
348 n = s->s3->hs.tls12.message_size - s->init_num; in ssl3_get_message()
499 if (s->s3->rbuf.buf == NULL) { in ssl3_setup_read_buffer()
504 s->s3->rbuf.buf = p; in ssl3_setup_read_buffer()
505 s->s3->rbuf.len = len; in ssl3_setup_read_buffer()
508 s->packet = s->s3->rbuf.buf; in ssl3_setup_read_buffer()
529 if (s->s3->wbuf.buf == NULL) { in ssl3_setup_write_buffer()
538 s->s3->wbuf.buf = p; in ssl3_setup_write_buffer()
539 s->s3->wbuf.len = len; in ssl3_setup_write_buffer()
570 ssl3_release_buffer(&s->s3->rbuf); in ssl3_release_read_buffer()
576 ssl3_release_buffer(&s->s3->wbuf); in ssl3_release_write_buffer()