/freebsd/crypto/openssl/crypto/err/ |
H A D | err_prn.c | 123 tmp = OPENSSL_strndup(txt, curr - txt); in ERR_add_error_txt() 133 tmp = OPENSSL_strndup(txt, next - strlen(separator) - txt); in ERR_add_error_txt()
|
/freebsd/crypto/openssl/crypto/cmp/ |
H A D | cmp_util.c | 99 *func = OPENSSL_strndup(p_func, p_file - 1 - p_func); in ossl_cmp_log_parse_metadata() 100 *file = OPENSSL_strndup(p_file, p_line - 1 - p_file); in ossl_cmp_log_parse_metadata()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | buffer.h | 35 # define BUF_strndup(s, size) OPENSSL_strndup(s, size)
|
H A D | crypto.h | 120 # define OPENSSL_strndup(str, n) \ macro
|
H A D | crypto.h.in | 121 # define OPENSSL_strndup(str, n) \ macro
|
/freebsd/crypto/openssl/engines/ |
H A D | e_devcrypto.c | 510 OPENSSL_strndup(fop.name, sizeof(fop.name)); in prepare_cipher_methods() 518 OPENSSL_strndup(siop.cipher_info.cra_driver_name, in prepare_cipher_methods() 609 if (usr == NULL || (name = OPENSSL_strndup(str, len)) == NULL) in cryptodev_select_cipher_cb() 928 OPENSSL_strndup(siop.hash_info.cra_driver_name, in prepare_digest_methods() 1039 if (usr == NULL || (name = OPENSSL_strndup(str, len)) == NULL) in cryptodev_select_digest_cb()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OPENSSL_malloc.pod | 9 OPENSSL_strdup, OPENSSL_strndup, 36 char *OPENSSL_strndup(const char *str, size_t s); 131 OPENSSL_strdup(), OPENSSL_strndup() and OPENSSL_memdup() are like the 201 OPENSSL_strdup(), and OPENSSL_strndup()
|
/freebsd/crypto/openssl/crypto/ |
H A D | core_algorithm.c | 195 ret = OPENSSL_strndup(algo->algorithm_names, first_name_len); in ossl_algorithm_get1_first_name()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_info.c | 134 if ((objtmp = OPENSSL_strndup(cnf->name, ptmp - cnf->name)) == NULL) in v2i_AUTHORITY_INFO_ACCESS()
|
H A D | v3_utl.c | 53 tvalue = OPENSSL_strndup(value, vallen); in x509v3_add_len_value() 549 emtmp = OPENSSL_strndup((char *)email->data, email->length); in append_ia5() 848 *peername = OPENSSL_strndup((char *)a->data, a->length); in do_check_string() 865 *peername = OPENSSL_strndup((char *)astr, astrlen); in do_check_string()
|
H A D | v3_ncons.c | 682 baseptr = OPENSSL_strndup((char *)base->data, base->length); in nc_email_eai() 792 if ((uri_copy = OPENSSL_strndup((const char *)uri->data, uri->length)) == NULL) in nc_uri()
|
H A D | by_dir.c | 207 ent->dir = OPENSSL_strndup(ss, len); in add_cert_dir()
|
H A D | x509_vpm.c | 60 copy = OPENSSL_strndup(name, namelen); in int_x509_param_set_hosts()
|
H A D | v3_san.c | 656 objtmp = OPENSSL_strndup(value, objlen); in do_othername()
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bio_addr.c | 564 *host = OPENSSL_strndup(h, hl); in BIO_parse_hostserv() 574 *service = OPENSSL_strndup(p, pl); in BIO_parse_hostserv()
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_log.c | 190 tmp = OPENSSL_strndup(log_name, log_name_len); in ctlog_store_load_log()
|
/freebsd/crypto/openssl/crypto/http/ |
H A D | http_lib.c | 42 || (*dest = OPENSSL_strndup(start, end - start)) != NULL; in copy_substring()
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_asn1.c | 235 *pdst = OPENSSL_strndup((char *)src->data, src->length); in ssl_session_strndup()
|
/freebsd/crypto/openssl/include/internal/ |
H A D | packet.h | 486 *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt)); in PACKET_strndup()
|
/freebsd/crypto/openssl/test/ |
H A D | params_test.c | 146 if (!TEST_ptr(obj->p4 = OPENSSL_strndup(params->data, in raw_set_params()
|
H A D | cmp_ctx_test.c | 622 OPENSSL_strndup((char *)bytes->data, bytes->length); \
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake.c | 1258 TEST_ptr(ret = OPENSSL_strndup((const char*)(in), len)); in dup_str() 1688 ret->result_session_ticket_app_data = OPENSSL_strndup((const char*)tick, tick_len); in do_handshake_internal()
|
/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | drbg_ctr.c | 762 if ((ecb = OPENSSL_strndup(base, p->data_size)) == NULL) { in drbg_ctr_set_ctx_params_locked()
|
/freebsd/crypto/openssl/util/ |
H A D | other.syms | 446 OPENSSL_strndup define
|
/freebsd/crypto/openssl/apps/ |
H A D | req.c | 1583 *pkeytype = OPENSSL_strndup(keytype, keytypelen); in set_keygen_ctx()
|