Home
last modified time | relevance | path

Searched refs:rdata (Results 1 – 6 of 6) sorted by relevance

/openssl/ssl/record/methods/
H A Ddtls_meth.c284 DTLS_RLAYER_RECORD_DATA *rdata; in dtls_rlayer_buffer_record() local
291 rdata = OPENSSL_malloc(sizeof(*rdata)); in dtls_rlayer_buffer_record()
294 OPENSSL_free(rdata); in dtls_rlayer_buffer_record()
300 rdata->packet = rl->packet; in dtls_rlayer_buffer_record()
305 item->data = rdata; in dtls_rlayer_buffer_record()
315 OPENSSL_free(rdata); in dtls_rlayer_buffer_record()
323 OPENSSL_free(rdata); in dtls_rlayer_buffer_record()
333 DTLS_RLAYER_RECORD_DATA *rdata; in dtls_copy_rlayer_record() local
339 rl->packet = rdata->packet; in dtls_copy_rlayer_record()
583 DTLS_RLAYER_RECORD_DATA *rdata; in dtls_free() local
[all …]
/openssl/ssl/record/
H A Drec_layer_d1.c76 TLS_RECORD *rdata; in dtls_buffer_record() local
88 rdata = OPENSSL_malloc(sizeof(*rdata)); in dtls_buffer_record()
91 OPENSSL_free(rdata); in dtls_buffer_record()
97 *rdata = *rec; in dtls_buffer_record()
103 rdata->data = rdata->allocdata = OPENSSL_memdup(rec->data, rec->length); in dtls_buffer_record()
105 OPENSSL_free(rdata); in dtls_buffer_record()
114 rdata->rechandle = NULL; in dtls_buffer_record()
116 item->data = rdata; in dtls_buffer_record()
124 sizeof(rdata->recordinfo), &rdata->recordinfo); in dtls_buffer_record()
141 TLS_RECORD *rdata; in dtls_unbuffer_record() local
[all …]
H A Drec_layer_s3.c182 TLS_RECORD *rdata; in ssl3_pending() local
187 rdata = item->data; in ssl3_pending()
188 num += rdata->length; in ssl3_pending()
/openssl/test/
H A Devp_test.c3304 RAND_DATA *rdata; in rand_test_init() local
3309 if (!TEST_ptr(rdata = OPENSSL_zalloc(sizeof(*rdata)))) in rand_test_init()
3318 if (rdata->parent == NULL) in rand_test_init()
3328 rdata->ctx = EVP_RAND_CTX_new(rand, rdata->parent); in rand_test_init()
3330 if (rdata->ctx == NULL) in rand_test_init()
3334 rdata->n = -1; in rand_test_init()
3335 t->data = rdata; in rand_test_init()
3339 OPENSSL_free(rdata); in rand_test_init()
3345 RAND_DATA *rdata = t->data; in rand_test_cleanup() local
3380 if (n > rdata->n) in rand_test_parse()
[all …]
/openssl/crypto/asn1/
H A Dasn1_gen.c580 unsigned char *rdata; in asn1_str2type() local
695 if ((rdata = OPENSSL_hexstr2buf(str, &rdlen)) == NULL) { in asn1_str2type()
699 atmp->value.asn1_string->data = rdata; in asn1_str2type()
/openssl/ssl/
H A Dssl_lib.c1927 TLS_RECORD *rdata; in SSL_has_pending() local
1932 rdata = item->data; in SSL_has_pending()
1933 if (rdata->length > 0) in SSL_has_pending()

Completed in 56 milliseconds