/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 | 289 s2n(ct * 2, p); in ssl_add_clienthello_use_srtp_ext() 293 s2n(prof->id,p); in ssl_add_clienthello_use_srtp_ext() 421 s2n(2, p); in ssl_add_serverhello_use_srtp_ext() 422 s2n(s->srtp_profile->id,p); in ssl_add_serverhello_use_srtp_ext()
|
D | s2_clnt.c | 569 s2n(SSL2_VERSION,p); /* version */ in client_hello() 581 s2n(n,p); /* cipher spec num bytes */ in client_hello() 588 s2n(i,p); /* session id length */ in client_hello() 594 s2n(0,p); in client_hello() 598 s2n(SSL2_CHALLENGE_LENGTH,p); /* challenge length */ in client_hello() 685 s2n(clear,p); in client_master_key() 703 s2n(enc,p); in client_master_key() 706 s2n(karg,p); /* key arg size */ in client_master_key() 844 s2n(SSL2_PE_NO_CERTIFICATE,p); in client_certificate() 878 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 | s3_clnt.c | 838 s2n(i,p); in ssl3_client_hello() 2373 s2n(n,q); in ssl3_send_client_key_exchange() 2454 s2n(enc_ticket->length,p); in ssl3_send_client_key_exchange() 2462 s2n(authp->length,p); in ssl3_send_client_key_exchange() 2473 s2n(0,p);/* null authenticator length */ in ssl3_send_client_key_exchange() 2504 s2n(outl,p); in ssl3_send_client_key_exchange() 2574 s2n(n,p); in ssl3_send_client_key_exchange() 2866 s2n(n,p); in ssl3_send_client_key_exchange() 2929 s2n(psk_len, t); in ssl3_send_client_key_exchange() 2932 s2n(psk_len, t); in ssl3_send_client_key_exchange() [all …]
|
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 | 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 | 1911 s2n(nr[i],p); in ssl3_send_server_key_exchange() 1946 s2n(strlen(s->ctx->psk_identity_hint), p); in ssl3_send_server_key_exchange() 1983 s2n(u,p); in ssl3_send_server_key_exchange() 2017 s2n(i,p); in ssl3_send_server_key_exchange() 2078 s2n(nl, p); in ssl3_send_certificate_request() 2103 s2n(j,p); in ssl3_send_certificate_request() 2112 j-=2; s2n(j,d); j+=2; in ssl3_send_certificate_request() 2120 s2n(nl,p); in ssl3_send_certificate_request() 2765 s2n(psk_len, t); in ssl3_get_client_key_exchange() 2768 s2n(psk_len, t); in ssl3_get_client_key_exchange() [all …]
|
D | d1_pkt.c | 1622 s2n(s->d1->w_epoch, pseq); in do_dtls1_write() 1630 s2n(wr->length,pseq); in do_dtls1_write() 1736 s2n(s->d1->handshake_read_seq, ptr); in dtls1_dispatch_alert() 1741 s2n(s->d1->r_msg_hdr.seq, ptr); /* partial msg read */ in dtls1_dispatch_alert()
|
D | s23_srvr.c | 506 s2n(j,dd); in ssl23_get_client_hello()
|
D | t1_enc.c | 762 s2n(send?s->d1->w_epoch:s->d1->r_epoch,p); in tls1_enc() 991 s2n(send?ssl->d1->w_epoch:ssl->d1->r_epoch, p); in tls1_mac()
|
D | s3_enc.c | 789 s2n(rec->length,p); in n_ssl3_mac()
|
D | s3_pkt.c | 827 s2n(wr->length,plen); in do_ssl3_write()
|
D | ssl_locl.h | 251 #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ macro
|
/external/openssl/patches/ |
D | channelid.patch | 110 + s2n(TLSEXT_TYPE_channel_id, d); 111 + s2n(TLSEXT_CHANNEL_ID_SIZE, d); 890 + s2n(TLSEXT_TYPE_channel_id,ret); 891 + s2n(0,ret); 907 + s2n(TLSEXT_TYPE_channel_id,ret); 908 + s2n(0,ret);
|