/external/openssl/ssl/ |
D | t1_lib.c | 159 s2n(TLSEXT_TYPE_server_name,ret); in ssl_add_clienthello_tlsext() 160 s2n(size_str+5,ret); in ssl_add_clienthello_tlsext() 163 s2n(size_str+3,ret); in ssl_add_clienthello_tlsext() 167 s2n(size_str,ret); in ssl_add_clienthello_tlsext() 185 s2n(TLSEXT_TYPE_session_ticket,ret); in ssl_add_clienthello_tlsext() 186 s2n(ticklen,ret); in ssl_add_clienthello_tlsext() 220 s2n(TLSEXT_TYPE_status_request, ret); in ssl_add_clienthello_tlsext() 223 s2n(extlen + idlen + 5, ret); in ssl_add_clienthello_tlsext() 225 s2n(idlen, ret); in ssl_add_clienthello_tlsext() 235 s2n(itmp, q); in ssl_add_clienthello_tlsext() [all …]
|
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() 874 s2n(n,p); in client_certificate() [all …]
|
D | s23_clnt.c | 298 s2n(i,d); in ssl23_client_hello() 305 s2n(0,d); in ssl23_client_hello() 317 s2n(i,d); in ssl23_client_hello() 359 s2n(i,p); in ssl23_client_hello() 404 s2n((int)l,d); in ssl23_client_hello()
|
D | d1_clnt.c | 609 s2n(i,p); in dtls1_client_hello() 766 s2n(n,q); in dtls1_send_client_key_exchange() 847 s2n(enc_ticket->length,p); in dtls1_send_client_key_exchange() 855 s2n(authp->length,p); in dtls1_send_client_key_exchange() 866 s2n(0,p);/* null authenticator length */ in dtls1_send_client_key_exchange() 895 s2n(outl,p); in dtls1_send_client_key_exchange() 956 s2n(n,p); in dtls1_send_client_key_exchange() 1030 s2n(u,p); in dtls1_send_client_verify() 1046 s2n(j,p); in dtls1_send_client_verify()
|
D | d1_srvr.c | 929 s2n(nr[i],p); in dtls1_send_server_key_exchange() 963 s2n(u,p); in dtls1_send_server_key_exchange() 982 s2n(i,p); in dtls1_send_server_key_exchange() 1059 s2n(j,p); in dtls1_send_certificate_request() 1068 j-=2; s2n(j,d); j+=2; in dtls1_send_certificate_request() 1076 s2n(nl,p); in dtls1_send_certificate_request() 1081 s2n(s->d1->handshake_write_seq,d); in dtls1_send_certificate_request()
|
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() 784 s2n(n,p); /* add cipher length */ in server_hello() 788 s2n(SSL2_CONNECTION_ID_LENGTH,p); /* add conn_id length */ in server_hello()
|
D | s3_clnt.c | 640 s2n(i,p); in ssl3_client_hello() 1914 s2n(n,q); in ssl3_send_client_key_exchange() 1995 s2n(enc_ticket->length,p); in ssl3_send_client_key_exchange() 2003 s2n(authp->length,p); in ssl3_send_client_key_exchange() 2014 s2n(0,p);/* null authenticator length */ in ssl3_send_client_key_exchange() 2045 s2n(outl,p); in ssl3_send_client_key_exchange() 2113 s2n(n,p); in ssl3_send_client_key_exchange() 2373 s2n(u,p); in ssl3_send_client_verify() 2389 s2n(j,p); in ssl3_send_client_verify() 2406 s2n(j,p); in ssl3_send_client_verify()
|
D | d1_both.c | 310 s2n (msg_hdr->seq,p); in dtls1_do_write() 408 s2n (msg_hdr->seq,p); in dtls1_get_message() 785 s2n(s->d1->handshake_write_seq,p); in dtls1_send_change_cipher_spec() 1146 s2n(msg_hdr->seq, p); in dtls1_write_message_header()
|
D | s3_srvr.c | 1501 s2n(nr[i],p); in ssl3_send_server_key_exchange() 1559 s2n(u,p); in ssl3_send_server_key_exchange() 1578 s2n(i,p); in ssl3_send_server_key_exchange() 1597 s2n(i,p); in ssl3_send_server_key_exchange() 1674 s2n(j,p); in ssl3_send_certificate_request() 1683 j-=2; s2n(j,d); j+=2; in ssl3_send_certificate_request() 1691 s2n(nl,p); in ssl3_send_certificate_request() 2790 s2n(len - 10, p); /* Ticket length */ in ssl3_send_newsession_ticket()
|
D | d1_pkt.c | 1416 s2n(s->d1->w_epoch, pseq); in do_dtls1_write() 1424 s2n(wr->length,pseq); in do_dtls1_write() 1590 s2n(s->d1->handshake_read_seq, ptr); in dtls1_dispatch_alert() 1595 s2n(s->d1->r_msg_hdr.seq, ptr); /* partial msg read */ in dtls1_dispatch_alert()
|
D | s23_srvr.c | 456 s2n(j,dd); in ssl23_get_client_hello()
|
D | s3_enc.c | 619 s2n(rec->length,p); in ssl3_mac()
|
D | ssl_locl.h | 214 #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ macro
|
D | t1_enc.c | 762 s2n(send?ssl->d1->w_epoch:ssl->d1->r_epoch, p); in tls1_mac()
|
D | s3_pkt.c | 687 s2n(wr->length,plen); in do_ssl3_write()
|