/external/openssl/ssl/ |
D | s2_lib.c | 330 if ((s2->rbuf=OPENSSL_malloc( in ssl2_new() 344 if (s2->rbuf != NULL) OPENSSL_free(s2->rbuf); in ssl2_new() 358 if (s2->rbuf != NULL) OPENSSL_free(s2->rbuf); in ssl2_free() 368 unsigned char *rbuf,*wbuf; in ssl2_clear() local 372 rbuf=s2->rbuf; in ssl2_clear() 377 s2->rbuf=rbuf; in ssl2_clear() 380 s->packet=s2->rbuf; in ssl2_clear()
|
D | d1_pkt.c | 192 if (s->s3->rbuf.buf != NULL) in dtls1_copy_record() 193 OPENSSL_free(s->s3->rbuf.buf); in dtls1_copy_record() 197 memcpy(&(s->s3->rbuf), &(rdata->rbuf), sizeof(SSL3_BUFFER)); in dtls1_copy_record() 230 memcpy(&(rdata->rbuf), &(s->s3->rbuf), sizeof(SSL3_BUFFER)); in dtls1_buffer_record() 245 memset(&(s->s3->rbuf), 0, sizeof(SSL3_BUFFER)); in dtls1_buffer_record() 351 if (s->s3->rbuf.buf != NULL) 352 OPENSSL_free(s->s3->rbuf.buf); 356 memcpy(&(s->s3->rbuf), &(rdata->rbuf), sizeof(SSL3_BUFFER)); 554 n=ssl3_read_n(s, DTLS1_RT_HEADER_LENGTH, s->s3->rbuf.len, 0); in dtls1_get_record() 614 if (rr->length > s->s3->rbuf.len - DTLS1_RT_HEADER_LENGTH) in dtls1_get_record() [all …]
|
D | s23_srvr.c | 535 s->packet= &(s->s2->rbuf[0]); in ssl23_get_client_hello() 560 if (s->s3->rbuf.buf == NULL) in ssl23_get_client_hello() 564 s->packet= &(s->s3->rbuf.buf[0]); in ssl23_get_client_hello() 566 s->s3->rbuf.left=n; in ssl23_get_client_hello() 567 s->s3->rbuf.offset=0; in ssl23_get_client_hello() 572 s->s3->rbuf.left=0; in ssl23_get_client_hello() 573 s->s3->rbuf.offset=0; in ssl23_get_client_hello()
|
D | s3_both.c | 723 if (s->s3->rbuf.buf == NULL) in ssl3_setup_read_buffer() 746 s->s3->rbuf.buf = p; in ssl3_setup_read_buffer() 747 s->s3->rbuf.len = len; in ssl3_setup_read_buffer() 750 s->packet= &(s->s3->rbuf.buf[0]); in ssl3_setup_read_buffer() 827 if (s->s3->rbuf.buf != NULL) in ssl3_release_read_buffer() 829 freelist_insert(s->ctx, 1, s->s3->rbuf.len, s->s3->rbuf.buf); in ssl3_release_read_buffer() 830 s->s3->rbuf.buf = NULL; in ssl3_release_read_buffer()
|
D | s2_pkt.c | 332 s->packet= &(s->s2->rbuf[s->s2->rbuf_offs]); in read_n() 354 if (s->packet != s->s2->rbuf) in read_n() 355 memcpy(s->s2->rbuf,s->packet, in read_n() 360 memcpy(s->s2->rbuf,&(s->s2->rbuf[s->s2->rbuf_offs]), in read_n() 373 s->packet=s->s2->rbuf; in read_n() 380 i=BIO_read(s->rbio,(char *)&(s->s2->rbuf[off+newb]), in read_n()
|
D | s3_pkt.c | 139 rb = &(s->s3->rbuf); in ssl3_read_n() 323 n=ssl3_read_n(s, SSL3_RT_HEADER_LENGTH, s->s3->rbuf.len, 0); in ssl3_get_record() 362 if (rr->length > s->s3->rbuf.len - SSL3_RT_HEADER_LENGTH - align) in ssl3_get_record() 364 if ((p=OPENSSL_realloc(s->s3->rbuf.buf, rr->length + SSL3_RT_HEADER_LENGTH + align))==NULL) in ssl3_get_record() 369 s->s3->rbuf.buf=p; in ssl3_get_record() 370 s->s3->rbuf.len=rr->length + SSL3_RT_HEADER_LENGTH + align; in ssl3_get_record() 371 s->packet= &(s->s3->rbuf.buf[0]); in ssl3_get_record() 374 if (rr->length > s->s3->rbuf.len - SSL3_RT_HEADER_LENGTH) in ssl3_get_record() 941 if (s->s3->rbuf.buf == NULL) /* Not initialized yet */ in ssl3_read_bytes() 1142 if (s->s3->rbuf.left == 0) /* no read-ahead left? */ in ssl3_read_bytes() [all …]
|
D | s23_clnt.c | 598 s->packet= &(s->s2->rbuf[0]); in ssl23_get_server_hello() 671 if (s->s3->rbuf.buf == NULL) in ssl23_get_server_hello() 674 s->packet= &(s->s3->rbuf.buf[0]); in ssl23_get_server_hello() 676 s->s3->rbuf.left=n; in ssl23_get_server_hello() 677 s->s3->rbuf.offset=0; in ssl23_get_server_hello()
|
D | dtls1.h | 252 SSL3_BUFFER rbuf; member
|
D | ssl2.h | 178 unsigned char *rbuf; member
|
D | s3_lib.c | 2150 if (s->s3->rbuf.buf != NULL) in ssl3_free() 2208 rp = s->s3->rbuf.buf; in ssl3_clear() 2210 rlen = s->s3->rbuf.len; in ssl3_clear() 2220 s->s3->rbuf.buf = rp; in ssl3_clear() 2222 s->s3->rbuf.len = rlen; in ssl3_clear() 3324 if ( (s->s3->rbuf.left == 0) && in ssl3_renegotiate_check()
|
D | ssl3.h | 415 SSL3_BUFFER rbuf; /* read IO goes into here */ member
|
/external/openssl/patches/ |
D | small_records.patch | 10 + if (rr->length > s->s3->rbuf.len - DTLS1_RT_HEADER_LENGTH) 14 + if ((pp=OPENSSL_realloc(s->s3->rbuf.buf, newlen))==NULL) 19 + p = pp + (p - s->s3->rbuf.buf); 20 + s->s3->rbuf.buf=pp; 21 + s->s3->rbuf.len=newlen; 22 + s->packet= &(s->s3->rbuf.buf[0]); 74 if (s->s3->rbuf.buf == NULL) 160 + if (rr->length > s->s3->rbuf.len - SSL3_RT_HEADER_LENGTH - align) 162 + if ((p=OPENSSL_realloc(s->s3->rbuf.buf, rr->length + SSL3_RT_HEADER_LENGTH + align))==NULL) 167 + s->s3->rbuf.buf=p; [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | peerkey.c | 74 u8 *rbuf, *pos; in wpa_supplicant_send_smk_error() local 82 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, in wpa_supplicant_send_smk_error() 85 if (rbuf == NULL) in wpa_supplicant_send_smk_error() 121 rbuf, rlen, err->key_mic); in wpa_supplicant_send_smk_error() 134 u8 *rbuf, *pos; in wpa_supplicant_send_smk_m3() local 143 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, in wpa_supplicant_send_smk_m3() 146 if (rbuf == NULL) in wpa_supplicant_send_smk_m3() 173 rbuf, rlen, reply->key_mic); in wpa_supplicant_send_smk_m3() 1006 u8 bssid[ETH_ALEN], *rbuf, *pos, *count_pos; in wpa_sm_stkstart() local 1081 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_sm_stkstart() [all …]
|
D | wpa.c | 146 u8 bssid[ETH_ALEN], *rbuf; in wpa_sm_key_request() local 161 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_sm_key_request() 163 if (rbuf == NULL) in wpa_sm_key_request() 187 rbuf, rlen, key_info & WPA_KEY_INFO_MIC ? in wpa_sm_key_request() 318 u8 *rbuf; in wpa_supplicant_send_2_of_4() local 328 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, in wpa_supplicant_send_2_of_4() 331 if (rbuf == NULL) in wpa_supplicant_send_2_of_4() 352 rbuf, rlen, reply->key_mic); in wpa_supplicant_send_2_of_4() 907 u8 *rbuf; in wpa_supplicant_send_4_of_4() local 912 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_supplicant_send_4_of_4() [all …]
|
/external/wpa_supplicant/ |
D | wpa.c | 986 u8 bssid[ETH_ALEN], *rbuf; in wpa_sm_key_request() local 999 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_sm_key_request() 1001 if (rbuf == NULL) in wpa_sm_key_request() 1025 rbuf, rlen, key_info & WPA_KEY_INFO_MIC ? in wpa_sm_key_request() 1045 u8 bssid[ETH_ALEN], *rbuf, *pos, *count_pos; in wpa_sm_stkstart() local 1119 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_sm_stkstart() 1122 if (rbuf == NULL) { in wpa_sm_stkstart() 1139 os_free(rbuf); in wpa_sm_stkstart() 1158 rbuf, rlen, req->key_mic); in wpa_sm_stkstart() 1445 u8 *rbuf; in wpa_supplicant_send_2_of_4() local [all …]
|
/external/chromium/third_party/libevent/test/ |
D | regress.c | 72 static char rbuf[4096]; variable 168 len = read(fd, rbuf + roff, sizeof(rbuf) - roff); in multiple_read_cb() 408 memset(rbuf, 0, sizeof(rbuf)); in test_multiple() 424 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_multiple() 437 memset(rbuf, 0, sizeof(rbuf)); in test_persistent() 453 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_persistent()
|
/external/dropbear/ |
D | scp.c | 1111 char ch, *cp, resp, rbuf[2048]; local 1116 cp = rbuf; 1129 } while (cp < &rbuf[sizeof(rbuf) - 1] && ch != '\n'); 1132 (void) atomicio(vwrite, STDERR_FILENO, rbuf, cp - rbuf);
|
/external/grub/netboot/ |
D | lance.c | 87 unsigned char rbuf[RX_RING_SIZE][ETH_FRAME_LEN+4]; member 267 lp->rx_ring[i].u.base = virt_to_bus(lp->rbuf[i]) & 0xffffff; in lance_reset() 315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length); in lance_poll()
|
/external/ipsec-tools/src/racoon/ |
D | handler.c | 853 check_recvdpkt(remote, local, rbuf) in check_recvdpkt() argument 855 vchar_t *rbuf; 865 hash = eay_md5_one(rbuf); 932 add_recvdpkt(remote, local, sbuf, rbuf) in add_recvdpkt() argument 934 vchar_t *sbuf, *rbuf; 950 new->hash = eay_md5_one(rbuf);
|
/external/openssl/include/openssl/ |
D | dtls1.h | 252 SSL3_BUFFER rbuf; member
|
D | ssl2.h | 178 unsigned char *rbuf; member
|
D | ssl3.h | 415 SSL3_BUFFER rbuf; /* read IO goes into here */ member
|
/external/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 249 char rbuf[64]; in my_ltoa() local 250 char* ptr = rbuf; in my_ltoa() 258 while(ptr > rbuf) *buf++ = *--ptr; in my_ltoa()
|