/external/openssl/ssl/ |
D | t1_lib.c | 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() [all …]
|
D | d1_srtp.c | 288 s2n(ct * 2, p); in ssl_add_clienthello_use_srtp_ext() 292 s2n(prof->id,p); in ssl_add_clienthello_use_srtp_ext() 420 s2n(2, p); in ssl_add_serverhello_use_srtp_ext() 421 s2n(s->srtp_profile->id,p); in ssl_add_serverhello_use_srtp_ext()
|
D | s2_clnt.c | 567 s2n(SSL2_VERSION,p); /* version */ in client_hello() 579 s2n(n,p); /* cipher spec num bytes */ in client_hello() 586 s2n(i,p); /* session id length */ in client_hello() 592 s2n(0,p); in client_hello() 596 s2n(SSL2_CHALLENGE_LENGTH,p); /* challenge length */ in client_hello() 683 s2n(clear,p); in client_master_key() 701 s2n(enc,p); in client_master_key() 704 s2n(karg,p); /* key arg size */ in client_master_key() 842 s2n(SSL2_PE_NO_CERTIFICATE,p); in client_certificate() 876 s2n(n,p); in client_certificate() [all …]
|
D | d1_clnt.c | 860 s2n(i,p); in dtls1_client_hello() 1033 s2n(n,q); in dtls1_send_client_key_exchange() 1114 s2n(enc_ticket->length,p); in dtls1_send_client_key_exchange() 1122 s2n(authp->length,p); in dtls1_send_client_key_exchange() 1133 s2n(0,p);/* null authenticator length */ in dtls1_send_client_key_exchange() 1162 s2n(outl,p); in dtls1_send_client_key_exchange() 1223 s2n(n,p); in dtls1_send_client_key_exchange() 1455 s2n(psk_len, t); in dtls1_send_client_key_exchange() 1458 s2n(psk_len, t); in dtls1_send_client_key_exchange() 1486 s2n(n, p); in dtls1_send_client_key_exchange() [all …]
|
D | s23_clnt.c | 424 s2n(i,d); in ssl23_client_hello() 431 s2n(0,d); in ssl23_client_hello() 447 s2n(i,d); in ssl23_client_hello() 498 s2n(i,p); in ssl23_client_hello() 559 s2n((int)l,d); in ssl23_client_hello()
|
D | d1_srvr.c | 1322 s2n(nr[i],p); in dtls1_send_server_key_exchange() 1356 s2n(strlen(s->ctx->psk_identity_hint), p); in dtls1_send_server_key_exchange() 1391 s2n(u,p); in dtls1_send_server_key_exchange() 1410 s2n(i,p); in dtls1_send_server_key_exchange() 1429 s2n(i,p); in dtls1_send_server_key_exchange() 1510 s2n(j,p); in dtls1_send_certificate_request() 1519 j-=2; s2n(j,d); j+=2; in dtls1_send_certificate_request() 1527 s2n(nl,p); in dtls1_send_certificate_request() 1532 s2n(s->d1->handshake_write_seq,d); in dtls1_send_certificate_request() 1691 s2n(len - DTLS1_HM_HEADER_LENGTH - 6, p); in dtls1_send_newsession_ticket()
|
D | s2_srvr.c | 764 s2n(s->version,p); /* version */ in server_hello() 765 s2n(0,p); /* cert len */ in server_hello() 766 s2n(0,p); /* ciphers len */ in server_hello() 773 s2n(s->version,p); /* version */ in server_hello() 775 s2n(n,p); /* certificate length */ in server_hello() 783 s2n(n,p); /* add cipher length */ in server_hello() 787 s2n(SSL2_CONNECTION_ID_LENGTH,p); /* add conn_id length */ in server_hello()
|
D | s3_clnt.c | 820 s2n(i,p); in ssl3_client_hello() 2352 s2n(n,q); in ssl3_send_client_key_exchange() 2433 s2n(enc_ticket->length,p); in ssl3_send_client_key_exchange() 2441 s2n(authp->length,p); in ssl3_send_client_key_exchange() 2452 s2n(0,p);/* null authenticator length */ in ssl3_send_client_key_exchange() 2483 s2n(outl,p); in ssl3_send_client_key_exchange() 2553 s2n(n,p); in ssl3_send_client_key_exchange() 2845 s2n(n,p); in ssl3_send_client_key_exchange() 2908 s2n(psk_len, t); in ssl3_send_client_key_exchange() 2911 s2n(psk_len, t); in ssl3_send_client_key_exchange() [all …]
|
D | d1_both.c | 367 s2n (msg_hdr->seq,p); in dtls1_do_write() 449 s2n (msg_hdr->seq,p); in dtls1_get_message() 976 s2n(s->d1->handshake_write_seq,p); in dtls1_send_change_cipher_spec() 1376 s2n(msg_hdr->seq, p); in dtls1_write_message_header() 1479 s2n(payload, bp); in dtls1_process_heartbeat() 1566 s2n(payload, p); in dtls1_heartbeat() 1568 s2n(s->tlsext_hb_seq, p); in dtls1_heartbeat()
|
D | s3_srvr.c | 1884 s2n(nr[i],p); in ssl3_send_server_key_exchange() 1919 s2n(strlen(s->ctx->psk_identity_hint), p); in ssl3_send_server_key_exchange() 1956 s2n(u,p); in ssl3_send_server_key_exchange() 1990 s2n(i,p); in ssl3_send_server_key_exchange() 2051 s2n(nl, p); in ssl3_send_certificate_request() 2076 s2n(j,p); in ssl3_send_certificate_request() 2085 j-=2; s2n(j,d); j+=2; in ssl3_send_certificate_request() 2093 s2n(nl,p); in ssl3_send_certificate_request() 2738 s2n(psk_len, t); in ssl3_get_client_key_exchange() 2741 s2n(psk_len, t); in ssl3_get_client_key_exchange() [all …]
|
D | d1_pkt.c | 1634 s2n(s->d1->w_epoch, pseq); in do_dtls1_write() 1642 s2n(wr->length,pseq); in do_dtls1_write() 1748 s2n(s->d1->handshake_read_seq, ptr); in dtls1_dispatch_alert() 1753 s2n(s->d1->r_msg_hdr.seq, ptr); /* partial msg read */ in dtls1_dispatch_alert()
|
D | s23_srvr.c | 511 s2n(j,dd); in ssl23_get_client_hello()
|
D | t1_enc.c | 753 s2n(send?s->d1->w_epoch:s->d1->r_epoch,p); in tls1_enc() 1038 s2n(send?ssl->d1->w_epoch:ssl->d1->r_epoch, p); in tls1_mac()
|
D | s3_enc.c | 754 s2n(rec->length,p); in n_ssl3_mac()
|
D | ssl_locl.h | 242 #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ macro
|
D | s3_pkt.c | 861 s2n(wr->length,plen); in do_ssl3_write()
|