Lines Matching refs:s2n
396 s2n(TLSEXT_TYPE_server_name,ret); in ssl_add_clienthello_tlsext()
397 s2n(size_str+5,ret); in ssl_add_clienthello_tlsext()
400 s2n(size_str+3,ret); in ssl_add_clienthello_tlsext()
404 s2n(size_str,ret); in ssl_add_clienthello_tlsext()
422 s2n(TLSEXT_TYPE_renegotiate,ret); in ssl_add_clienthello_tlsext()
423 s2n(el,ret); in ssl_add_clienthello_tlsext()
454 s2n(TLSEXT_TYPE_srp,ret); in ssl_add_clienthello_tlsext()
455 s2n(login_len+1,ret); in ssl_add_clienthello_tlsext()
477 s2n(TLSEXT_TYPE_ec_point_formats,ret); in ssl_add_clienthello_tlsext()
478 s2n(s->tlsext_ecpointformatlist_length + 1,ret); in ssl_add_clienthello_tlsext()
497 s2n(TLSEXT_TYPE_elliptic_curves,ret); in ssl_add_clienthello_tlsext()
498 s2n(s->tlsext_ellipticcurvelist_length + 2, ret); in ssl_add_clienthello_tlsext()
505 s2n(s->tlsext_ellipticcurvelist_length, ret); in ssl_add_clienthello_tlsext()
537 s2n(TLSEXT_TYPE_session_ticket,ret); in ssl_add_clienthello_tlsext()
538 s2n(ticklen,ret); in ssl_add_clienthello_tlsext()
551 s2n(TLSEXT_TYPE_signature_algorithms,ret); in ssl_add_clienthello_tlsext()
552 s2n(sizeof(tls12_sigalgs) + 2, ret); in ssl_add_clienthello_tlsext()
553 s2n(sizeof(tls12_sigalgs), ret); in ssl_add_clienthello_tlsext()
569 s2n(TLSEXT_TYPE_opaque_prf_input, ret); in ssl_add_clienthello_tlsext()
570 s2n(col + 2, ret); in ssl_add_clienthello_tlsext()
571 s2n(col, ret); in ssl_add_clienthello_tlsext()
604 s2n(TLSEXT_TYPE_status_request, ret); in ssl_add_clienthello_tlsext()
607 s2n(extlen + idlen + 5, ret); in ssl_add_clienthello_tlsext()
609 s2n(idlen, ret); in ssl_add_clienthello_tlsext()
619 s2n(itmp, q); in ssl_add_clienthello_tlsext()
621 s2n(extlen, ret); in ssl_add_clienthello_tlsext()
628 s2n(TLSEXT_TYPE_heartbeat,ret); in ssl_add_clienthello_tlsext()
629 s2n(1,ret); in ssl_add_clienthello_tlsext()
647 s2n(TLSEXT_TYPE_next_proto_neg,ret); in ssl_add_clienthello_tlsext()
648 s2n(0,ret); in ssl_add_clienthello_tlsext()
660 s2n(TLSEXT_TYPE_use_srtp,ret); in ssl_add_clienthello_tlsext()
661 s2n(el,ret); in ssl_add_clienthello_tlsext()
674 s2n(extdatalen,p); in ssl_add_clienthello_tlsext()
697 s2n(TLSEXT_TYPE_server_name,ret); in ssl_add_serverhello_tlsext()
698 s2n(0,ret); in ssl_add_serverhello_tlsext()
713 s2n(TLSEXT_TYPE_renegotiate,ret); in ssl_add_serverhello_tlsext()
714 s2n(el,ret); in ssl_add_serverhello_tlsext()
740 s2n(TLSEXT_TYPE_ec_point_formats,ret); in ssl_add_serverhello_tlsext()
741 s2n(s->tlsext_ecpointformatlist_length + 1,ret); in ssl_add_serverhello_tlsext()
754 s2n(TLSEXT_TYPE_session_ticket,ret); in ssl_add_serverhello_tlsext()
755 s2n(0,ret); in ssl_add_serverhello_tlsext()
761 s2n(TLSEXT_TYPE_status_request,ret); in ssl_add_serverhello_tlsext()
762 s2n(0,ret); in ssl_add_serverhello_tlsext()
776 s2n(TLSEXT_TYPE_opaque_prf_input, ret); in ssl_add_serverhello_tlsext()
777 s2n(sol + 2, ret); in ssl_add_serverhello_tlsext()
778 s2n(sol, ret); in ssl_add_serverhello_tlsext()
792 s2n(TLSEXT_TYPE_use_srtp,ret); in ssl_add_serverhello_tlsext()
793 s2n(el,ret); in ssl_add_serverhello_tlsext()
822 s2n(TLSEXT_TYPE_heartbeat,ret); in ssl_add_serverhello_tlsext()
823 s2n(1,ret); in ssl_add_serverhello_tlsext()
849 s2n(TLSEXT_TYPE_next_proto_neg,ret); in ssl_add_serverhello_tlsext()
850 s2n(npalen,ret); in ssl_add_serverhello_tlsext()
861 s2n(extdatalen,p); in ssl_add_serverhello_tlsext()
1693 s2n(id,j); in ssl_prepare_clienthello_tlsext()
2468 s2n(payload, bp); in tls1_process_heartbeat()
2554 s2n(payload, p); in tls1_heartbeat()
2556 s2n(s->tlsext_hb_seq, p); in tls1_heartbeat()