Home
last modified time | relevance | path

Searched refs:OPENSSL_strndup (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/crypto/openssl/crypto/err/
H A Derr_prn.c123 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 Dcmp_util.c99 *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 Dbuffer.h35 # define BUF_strndup(s, size) OPENSSL_strndup(s, size)
H A Dcrypto.h120 # define OPENSSL_strndup(str, n) \ macro
H A Dcrypto.h.in121 # define OPENSSL_strndup(str, n) \ macro
/freebsd/crypto/openssl/engines/
H A De_devcrypto.c510 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 DOPENSSL_malloc.pod9 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 Dcore_algorithm.c195 ret = OPENSSL_strndup(algo->algorithm_names, first_name_len); in ossl_algorithm_get1_first_name()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_info.c134 if ((objtmp = OPENSSL_strndup(cnf->name, ptmp - cnf->name)) == NULL) in v2i_AUTHORITY_INFO_ACCESS()
H A Dv3_utl.c53 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 Dv3_ncons.c682 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 Dby_dir.c207 ent->dir = OPENSSL_strndup(ss, len); in add_cert_dir()
H A Dx509_vpm.c60 copy = OPENSSL_strndup(name, namelen); in int_x509_param_set_hosts()
H A Dv3_san.c656 objtmp = OPENSSL_strndup(value, objlen); in do_othername()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_addr.c564 *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 Dct_log.c190 tmp = OPENSSL_strndup(log_name, log_name_len); in ctlog_store_load_log()
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_lib.c42 || (*dest = OPENSSL_strndup(start, end - start)) != NULL; in copy_substring()
/freebsd/crypto/openssl/ssl/
H A Dssl_asn1.c235 *pdst = OPENSSL_strndup((char *)src->data, src->length); in ssl_session_strndup()
/freebsd/crypto/openssl/include/internal/
H A Dpacket.h486 *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt)); in PACKET_strndup()
/freebsd/crypto/openssl/test/
H A Dparams_test.c146 if (!TEST_ptr(obj->p4 = OPENSSL_strndup(params->data, in raw_set_params()
H A Dcmp_ctx_test.c622 OPENSSL_strndup((char *)bytes->data, bytes->length); \
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake.c1258 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 Ddrbg_ctr.c762 if ((ecb = OPENSSL_strndup(base, p->data_size)) == NULL) { in drbg_ctr_set_ctx_params_locked()
/freebsd/crypto/openssl/util/
H A Dother.syms446 OPENSSL_strndup define
/freebsd/crypto/openssl/apps/
H A Dreq.c1583 *pkeytype = OPENSSL_strndup(keytype, keytypelen); in set_keygen_ctx()

12