Home
last modified time | relevance | path

Searched refs:OPENSSL_memdup (Results 1 – 25 of 30) sorted by relevance

12

/third_party/openssl/crypto/ct/
Dct_sct.c107 sct->log_id = OPENSSL_memdup(log_id, log_id_len); in SCT_set1_log_id()
159 sct->ext = OPENSSL_memdup(ext, ext_len); in SCT_set1_extensions()
185 sct->sig = OPENSSL_memdup(sig, sig_len); in SCT_set1_signature()
/third_party/openssl/include/openssl/
Dbuffer.h33 # define BUF_memdup(data, size) OPENSSL_memdup(data, size)
Dcrypto.h129 # define OPENSSL_memdup(str, s) \ macro
/third_party/openssl/ssl/statem/
Dextensions_cust.c278 OPENSSL_memdup(src->meths, in custom_exts_copy()
302 methdst->add_arg = OPENSSL_memdup(methsrc->add_arg, in custom_exts_copy()
304 methdst->parse_arg = OPENSSL_memdup(methsrc->parse_arg, in custom_exts_copy()
Dstatem_srvr.c2179 s->s3->alpn_selected = OPENSSL_memdup(selected, selected_len); in tls_handle_alpn()
2212 s->session->ext.alpn_selected = OPENSSL_memdup(selected, in tls_handle_alpn()
2976 s->s3->tmp.psk = OPENSSL_memdup(psk, psklen); in tls_process_cke_psk_preamble()
4128 OPENSSL_memdup(s->s3->alpn_selected, s->s3->alpn_selected_len); in tls_construct_new_session_ticket()
Dextensions_clnt.c817 s->psksession_id = OPENSSL_memdup(id, idlen); in tls_construct_ctos_early_data()
1673 OPENSSL_memdup(s->s3->alpn_selected, s->s3->alpn_selected_len); in tls_parse_stoc_alpn()
Dstatem_clnt.c2927 tmppsk = OPENSSL_memdup(psk, psklen); in tls_construct_cke_psk_preamble()
/third_party/openssl/crypto/objects/
Dobj_lib.c38 if (o->length > 0 && (r->data = OPENSSL_memdup(o->data, o->length)) == NULL) in OBJ_dup()
/third_party/openssl/crypto/kdf/
Dhkdf.c96 kctx->salt = OPENSSL_memdup(p2, p1); in pkey_hkdf_ctrl()
110 kctx->key = OPENSSL_memdup(p2, p1); in pkey_hkdf_ctrl()
Dscrypt.c103 *buffer = OPENSSL_memdup(new_buffer, new_buflen); in pkey_scrypt_set_membuf()
Dtls1_prf.c72 kctx->sec = OPENSSL_memdup(p2, p1); in pkey_tls1_prf_ctrl()
/third_party/openssl/ssl/
Dssl_sess.c188 OPENSSL_memdup(src->ext.tick, src->ext.ticklen); in ssl_session_dup()
197 dest->ext.alpn_selected = OPENSSL_memdup(src->ext.alpn_selected, in ssl_session_dup()
214 OPENSSL_memdup(src->ticket_appdata, src->ticket_appdata_len); in ssl_session_dup()
940 s->ext.alpn_selected = OPENSSL_memdup(alpn, len); in SSL_SESSION_set1_alpn_selected()
1247 ss->ticket_appdata = OPENSSL_memdup(data, len); in SSL_SESSION_set1_ticket_appdata()
Dpacket_local.h429 *data = OPENSSL_memdup(pkt->curr, length); in PACKET_memdup()
Dssl_cert.c159 ret->ctype = OPENSSL_memdup(cert->ctype, cert->ctype_len); in ssl_cert_dup()
Dssl_lib.c780 OPENSSL_memdup(ctx->ext.ecpointformats, in SSL_new()
791 OPENSSL_memdup(ctx->ext.supportedgroups, in SSL_new()
2872 alpn = OPENSSL_memdup(protos, protos_len); in SSL_CTX_set_alpn_protos()
2904 alpn = OPENSSL_memdup(protos, protos_len); in SSL_set_alpn_protos()
/third_party/openssl/crypto/ui/
Dui_util.c78 *pptr = OPENSSL_memdup(*pptr, sizeof(struct pem_password_cb_data)); in ui_dup_method_data()
/third_party/openssl/crypto/dh/
Ddh_ameth.c411 to->seed = OPENSSL_memdup(from->seed, from->seedlen); in int_dh_param_copy()
733 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_set_shared_info()
877 dukm = OPENSSL_memdup(ASN1_STRING_get0_data(ukm), dukmlen); in dh_cms_encrypt()
Ddh_pmeth.c102 dctx->kdf_ukm = OPENSSL_memdup(sctx->kdf_ukm, sctx->kdf_ukmlen); in pkey_dh_copy()
/third_party/openssl/doc/man3/
DOPENSSL_malloc.pod10 OPENSSL_memdup, OPENSSL_strlcpy, OPENSSL_strlcat,
38 void *OPENSSL_memdup(void *data, size_t s)
113 OPENSSL_strdup(), OPENSSL_strndup() and OPENSSL_memdup() are like the
/third_party/openssl/crypto/ec/
Decx_meth.c135 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode()
329 *ppt = OPENSSL_memdup(pkey->pkey.ecx->pubkey, KEYLEN(pkey)); in ecx_ctrl()
Dec_pmeth.c79 dctx->kdf_ukm = OPENSSL_memdup(sctx->kdf_ukm, sctx->kdf_ukmlen); in pkey_ec_copy()
/third_party/openssl/crypto/x509/
Dx509_vpm.c247 tmp = OPENSSL_memdup(src, srclen); in int_x509_param_set1()
/third_party/openssl/util/
Dprivate.num294 OPENSSL_memdup define
/third_party/openssl/crypto/rsa/
Drsa_pmeth.c94 dctx->oaep_label = OPENSSL_memdup(sctx->oaep_label, sctx->oaep_labellen); in pkey_rsa_copy()
/third_party/openssl/crypto/evp/
De_chacha20_poly1305.c529 OPENSSL_memdup(actx, sizeof(*actx) + Poly1305_ctx_size()); in chacha20_poly1305_ctrl()

12