| /freebsd-12.1/crypto/openssl/crypto/bio/ |
| H A D | bio_cb.c | 29 len = BIO_snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio); in BIO_debug_callback() 39 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback() 43 BIO_snprintf(p, left, "read(%d,%lu) - %s fd=%d\n", in BIO_debug_callback() 47 BIO_snprintf(p, left, "read(%d,%lu) - %s\n", in BIO_debug_callback() 52 BIO_snprintf(p, left, "write(%d,%lu) - %s fd=%d\n", in BIO_debug_callback() 56 BIO_snprintf(p, left, "write(%d,%lu) - %s\n", in BIO_debug_callback() 71 BIO_snprintf(p, left, "read return %ld\n", ret); in BIO_debug_callback() 74 BIO_snprintf(p, left, "write return %ld\n", ret); in BIO_debug_callback() 77 BIO_snprintf(p, left, "gets return %ld\n", ret); in BIO_debug_callback() 80 BIO_snprintf(p, left, "puts return %ld\n", ret); in BIO_debug_callback() [all …]
|
| H A D | b_dump.c | 47 n = BIO_snprintf(buf, sizeof(buf), "%*s%04x - ", indent, "", in BIO_dump_indent_cb() 55 BIO_snprintf(buf + n, 4, "%02x%c", ch, in BIO_dump_indent_cb()
|
| H A D | b_addr.c | 228 BIO_snprintf(serv, sizeof(serv), "%d", in addr_strings() 242 BIO_snprintf(serv, sizeof(serv), "%d", ntohs(ap->s_in.sin_port)); in addr_strings()
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | BIO_printf.pod | 5 BIO_printf, BIO_vprintf, BIO_snprintf, BIO_vsnprintf 15 int BIO_snprintf(char *buf, size_t n, const char *format, ...) 29 BIO_snprintf() is for platforms that do not have the common snprintf() 33 BIO_vsnprintf() is to BIO_snprintf() as BIO_vprintf() is to BIO_printf(). 38 For BIO_snprintf() and BIO_vsnprintf() this includes when the output
|
| /freebsd-12.1/crypto/openssl/crypto/ |
| H A D | mem_dbg.c | 475 n = BIO_snprintf(bufp, len, "[%02d:%02d:%02d] ", in print_leak() 484 n = BIO_snprintf(bufp, len, "%5lu file=%s, line=%d, ", in print_leak() 493 n = BIO_snprintf(bufp, len, "thread=%lu, ", tid.ltid); in print_leak() 499 n = BIO_snprintf(bufp, len, "number=%d, address=%p\n", m->num, m->addr); in print_leak() 527 n = BIO_snprintf(buf + ami_cnt, sizeof(buf) - ami_cnt, in print_leak() 538 n = BIO_snprintf(buf + buf_len, sizeof(buf) - buf_len, "%s", in print_leak() 544 n = BIO_snprintf(buf + buf_len, sizeof(buf) - buf_len, "\"\n"); in print_leak() 592 BIO_snprintf(buf, sizeof(buf), "%ld bytes leaked in %d chunks\n", in CRYPTO_mem_leaks_cb()
|
| /freebsd-12.1/crypto/openssl/crypto/ui/ |
| H A D | ui_openssl.c | 453 BIO_snprintf(tmp_num, sizeof(tmp_num) - 1, "%d", errno); in open_console() 468 BIO_snprintf(tmp_num, sizeof(tmp_num) - 1, "%%X%08X", status); in open_console() 505 BIO_snprintf(tmp_num[0], sizeof(tmp_num[0]) - 1, "%%X%08X", in noecho_console() 507 BIO_snprintf(tmp_num[1], sizeof(tmp_num[1]) - 1, "%%X%08X", in noecho_console() 543 BIO_snprintf(tmp_num[0], sizeof(tmp_num[0]) - 1, "%%X%08X", in echo_console() 545 BIO_snprintf(tmp_num[1], sizeof(tmp_num[1]) - 1, "%%X%08X", in echo_console() 574 BIO_snprintf(tmp_num, sizeof(tmp_num) - 1, "%%X%08X", status); in close_console()
|
| /freebsd-12.1/crypto/openssl/apps/ |
| H A D | apps.c | 1567 BIO_snprintf(buf, sizeof(buf), "%s.attr", dbfile); in load_index() 1569 BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); in load_index() 1638 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s.attr", dbfile); in save_index() 1640 j = BIO_snprintf(buf[0], sizeof(buf[0]), "%s.%s", dbfile, suffix); in save_index() 1642 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s-attr", dbfile); in save_index() 1644 j = BIO_snprintf(buf[0], sizeof(buf[0]), "%s-%s", dbfile, suffix); in save_index() 1687 j = BIO_snprintf(buf[4], sizeof(buf[4]), "%s.attr", dbfile); in rotate_index() 1690 j = BIO_snprintf(buf[1], sizeof(buf[1]), "%s.%s", dbfile, old_suffix); in rotate_index() 1691 j = BIO_snprintf(buf[0], sizeof(buf[0]), "%s.%s", dbfile, new_suffix); in rotate_index() 1693 j = BIO_snprintf(buf[4], sizeof(buf[4]), "%s-attr", dbfile); in rotate_index() [all …]
|
| H A D | rehash.c | 366 if (BIO_snprintf(buf, buflen, "%s%s%s", in do_dir() 389 BIO_snprintf(buf, buflen, "%08x.%s%d", bp->hash, in do_dir() 399 BIO_snprintf(buf, buflen, "%s%s%n%08x.%s%d", in do_dir() 421 BIO_snprintf(buf, buflen, "%s%s%n%08x.%s%d", in do_dir()
|
| H A D | s_time.c | 229 buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, in s_time_main() 283 buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, www_path); in s_time_main() 309 buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, in s_time_main()
|
| /freebsd-12.1/crypto/openssl/crypto/bn/ |
| H A D | bn_print.c | 104 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT1, *lp); in BN_bn2dec() 110 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT2, *lp); in BN_bn2dec() 337 BIO_snprintf(data, sizeof(data), "bn(%zu,%zu)", in BN_options() 340 BIO_snprintf(data, sizeof(data), "bn(%zu,%zu)", in BN_options()
|
| /freebsd-12.1/crypto/openssl/crypto/asn1/ |
| H A D | asn1_par.c | 41 BIO_snprintf(str, sizeof(str), "priv [ %d ] ", tag); in asn1_print_info() 43 BIO_snprintf(str, sizeof(str), "cont [ %d ]", tag); in asn1_print_info() 45 BIO_snprintf(str, sizeof(str), "appl [ %d ]", tag); in asn1_print_info() 47 BIO_snprintf(str, sizeof(str), "<ASN1 %d>", tag); in asn1_print_info()
|
| H A D | a_strex.c | 76 BIO_snprintf(tmphex, sizeof(tmphex), "\\W%08lX", c); in do_esc_char() 82 BIO_snprintf(tmphex, sizeof(tmphex), "\\U%04lX", c); in do_esc_char() 110 BIO_snprintf(tmphex, 11, "\\%02X", chtmp); in do_esc_char()
|
| H A D | a_mbstr.c | 101 BIO_snprintf(strbuf, sizeof(strbuf), "%ld", minsize); in ASN1_mbstring_ncopy() 108 BIO_snprintf(strbuf, sizeof(strbuf), "%ld", maxsize); in ASN1_mbstring_ncopy()
|
| H A D | a_time.c | 297 tmps->length = BIO_snprintf(p, len, "%04d%02d%02d%02d%02d%02dZ", in asn1_time_from_tm() 302 tmps->length = BIO_snprintf(p, len, "%02d%02d%02d%02d%02d%02dZ", in asn1_time_from_tm()
|
| /freebsd-12.1/crypto/openssl/crypto/err/ |
| H A D | err.c | 597 BIO_snprintf(lsbuf, sizeof(lsbuf), "lib(%lu)", l); in ERR_error_string_n() 604 BIO_snprintf(fsbuf, sizeof(fsbuf), "func(%lu)", f); in ERR_error_string_n() 611 BIO_snprintf(rsbuf, sizeof(rsbuf), "reason(%lu)", r); in ERR_error_string_n() 615 BIO_snprintf(buf, len, "error:%08lX:%s:%s:%s", e, ls, fs, rs); in ERR_error_string_n() 618 BIO_snprintf(buf, len, "err:%lx:%lx:%lx:%lx", e, l, f, r); in ERR_error_string_n()
|
| H A D | err_prn.c | 38 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", tid.ltid, buf, in ERR_print_errors_cb()
|
| /freebsd-12.1/crypto/openssl/crypto/pem/ |
| H A D | pem_pkey.c | 111 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); in PEM_write_bio_PrivateKey_traditional() 160 BIO_snprintf(pem_str, 80, "%s PARAMETERS", x->ameth->pem_str); in PEM_write_bio_Parameters()
|
| H A D | pem_lib.c | 80 BIO_snprintf(p, PEM_BUFSIZE - (size_t)(p - buf), "Proc-Type: 4,%s\n", str); in PEM_proc_type() 89 n = BIO_snprintf(p, j, "DEK-Info: %s,", type); in PEM_dek_info() 94 n = BIO_snprintf(p, j, "%02X", 0xff & str[i]); in PEM_dek_info()
|
| /freebsd-12.1/crypto/openssl/crypto/x509/ |
| H A D | by_dir.c | 299 BIO_snprintf(b->data, b->max, in get_cert_by_subject() 302 BIO_snprintf(b->data, b->max, in get_cert_by_subject()
|
| /freebsd-12.1/crypto/openssl/crypto/ct/ |
| H A D | ct_prn.c | 43 BIO_snprintf(genstr, sizeof(genstr), "%.14s.%03dZ", in timestamp_print()
|
| /freebsd-12.1/crypto/openssl/crypto/conf/ |
| H A D | conf_mod.c | 178 BIO_snprintf(rcode, sizeof(rcode), "%-8d", ret); in module_run() 500 BIO_snprintf(file, len + 1, "%s%s%s", X509_get_default_cert_area(), in CONF_get1_default_config_file()
|
| /freebsd-12.1/crypto/openssl/engines/ |
| H A D | e_capi.c | 666 BIO_snprintf(magstr, 10, "%lx", rp->magic); in capi_get_pkey() 712 BIO_snprintf(magstr, 10, "%lx", dp->magic); in capi_get_pkey() 759 BIO_snprintf(algstr, 10, "%ux", bh->aiKeyAlg); in capi_get_pkey() 866 BIO_snprintf(algstr, 10, "%x", dtype); in capi_rsa_sign() 948 BIO_snprintf(errstr, 10, "%d", padding); in capi_rsa_priv_dec() 1102 BIO_snprintf(errstr, 10, "%lX", err); in capi_adderror()
|
| /freebsd-12.1/crypto/openssl/crypto/x509v3/ |
| H A D | v3_info.c | 85 BIO_snprintf(ntmp, nlen, "%s - %s", objtmp, vtmp->name);
|
| H A D | v3_alt.c | 112 BIO_snprintf(oline, sizeof(oline), "%d.%d.%d.%d", in STACK_OF() 117 BIO_snprintf(htmp, sizeof(htmp), "%X", p[0] << 8 | p[1]); in STACK_OF()
|
| /freebsd-12.1/crypto/openssl/crypto/store/ |
| H A D | store_lib.c | 529 BIO_snprintf(buf1, sizeof(buf1), "%d", EVP_MD_size(digest)); in OSSL_STORE_SEARCH_by_key_fingerprint() 530 BIO_snprintf(buf2, sizeof(buf2), "%zu", len); in OSSL_STORE_SEARCH_by_key_fingerprint()
|