| /freebsd/crypto/openssl/apps/ |
| H A D | dgst.c | 120 buf = app_malloc(BUFSIZE, "I/O buffer"); in dgst_main() 414 sigbuf = app_malloc(siglen, "signature buffer"); in dgst_main() 554 file_cpy = app_malloc(mem_len, file); in newline_escape_filename() 659 allocated_buf = app_malloc(len, "Signature buffer"); in do_fp() 671 allocated_buf = app_malloc(len, "Digest buffer"); in do_fp() 728 sig = app_malloc(len, "Signature buffer"); in do_fp_oneshot_sign()
|
| H A D | kdf.c | 62 res = app_malloc(len, "algorithm name"); in alloc_kdf_algorithm_name() 177 dkm_bytes = app_malloc(dkm_len, "out buffer"); in kdf_main()
|
| H A D | mac.c | 66 res = app_malloc(len, "algorithm name"); in alloc_mac_algorithm_name() 94 buf = app_malloc(BUFSIZE, "I/O buffer"); in mac_main()
|
| H A D | rsautl.c | 218 rsa_in = app_malloc(keysize * 2, "hold rsa key"); in rsautl_main() 219 rsa_out = app_malloc(keysize, "output rsa key"); in rsautl_main()
|
| H A D | engine.c | 63 p = *buf = app_malloc(*size, "engine buffer"); in append_buf() 181 name = app_malloc(len + 1, "name buffer"); in util_verbose() 190 desc = app_malloc(len + 1, "description buffer"); in util_verbose()
|
| H A D | pkeyutl.c | 567 buf_out = app_malloc(buf_outlen, "buffer output"); in pkeyutl_main() 569 secret = app_malloc(secretlen, "secret output"); in pkeyutl_main() 856 mbuf = app_malloc(filesize, "oneshot sign/verify buffer"); in do_raw_keyop() 874 *out = app_malloc(*poutlen, "buffer output"); in do_raw_keyop() 917 *out = app_malloc(*poutlen, "buffer output"); in do_raw_keyop()
|
| H A D | rehash.c | 135 bp = app_malloc(sizeof(*bp), "hash bucket"); in add_entry() 165 ep = app_malloc(sizeof(*ep), "collision bucket"); in add_entry() 399 buf = app_malloc(buflen, "filename buffer"); in do_dir()
|
| H A D | speed.c | 1488 unsigned char *sig = app_malloc(tempargs->sig_max_sig_len[testnum], in SIG_sign_loop() 2500 app_malloc(loopargs_len * sizeof(loopargs_t), "array of loopargs"); in speed_main() 2520 loopargs[i].buf_malloc = app_malloc(buflen, "input buffer"); in speed_main() 2521 loopargs[i].buf2_malloc = app_malloc(buflen, "input buffer"); in speed_main() 2528 loopargs[i].secret_a = app_malloc(MAX_ECDH_SIZE, "ECDH secret a"); in speed_main() 2529 loopargs[i].secret_b = app_malloc(MAX_ECDH_SIZE, "ECDH secret b"); in speed_main() 2531 loopargs[i].secret_ff_a = app_malloc(MAX_FFDH_SIZE, "FFDH secret a"); in speed_main() 2532 loopargs[i].secret_ff_b = app_malloc(MAX_FFDH_SIZE, "FFDH secret b"); in speed_main() 2736 evp_hmac_name = app_malloc(hmac_name_len, "HMAC name"); in speed_main() 2998 loopargs[k].key = app_malloc(keylen, "evp_cipher key"); in speed_main() [all …]
|
| H A D | rand.c | 197 buf = app_malloc(buflen, "buffer for output file"); in rand_main()
|
| H A D | s_server.c | 296 wbuf = app_malloc(sizeof(*wbuf) + 1024, "ebcdic wbuf"); in ebcdic_new() 354 wbuf = app_malloc(sizeof(*wbuf) + num, "grow ebcdic wbuf"); in ebcdic_write() 2458 buf = app_malloc(bufsize, "server buffer"); in sv_body() 3129 exportedkeymat = app_malloc(keymatexportlen, "export key"); in print_connection_info() 3180 p = buf = app_malloc(bufsize + 1, "server www buffer"); in www_body() 3651 buf = app_malloc(bufsize + 1, "server rev buffer"); in rev_body() 3843 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session"); in add_session() 3855 sess->der = app_malloc(sess->derlen, "get session buffer"); in add_session()
|
| H A D | ecparam.c | 73 curves = app_malloc((int)sizeof(*curves) * crv_len, "list curves"); in list_builtin_curves()
|
| H A D | enc.c | 390 strbuf = app_malloc(SIZE, "strbuf"); in enc_main() 391 buff = app_malloc(EVP_ENCODE_LENGTH(bsize), "evp buffer"); in enc_main()
|
| H A D | ca.c | 1908 row[DB_exp_date] = app_malloc(tm->length + 1, "row expdate"); in do_body() 1919 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row space"); in do_body() 2137 row[DB_exp_date] = app_malloc(tm->length + 1, "row exp_data"); in do_revoke() 2148 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row ptr"); in do_revoke() 2212 row[DB_serial] = app_malloc(serial_len + 2, "row serial#"); in get_certificate_status() 2413 str = app_malloc(i, "revocation reason"); in make_revocation_str()
|
| H A D | passwd.c | 227 app_malloc(passwd_malloc_size, "password buffer"); in passwd_main() 799 *salt_p = *salt_malloc_p = app_malloc(saltlen + 1, "salt buffer"); in do_passwd()
|
| H A D | ts.c | 526 *md_value = app_malloc(md_value_len, "digest buffer"); in create_digest() 576 nonce->data = app_malloc(nonce->length + 1, "nonce buffer"); in create_nonce()
|
| H A D | s_client.c | 348 unsigned char *ret = app_malloc(strlen(in) / 2, "hexdecode"); in hexdecode() 987 cbuf = app_malloc(BUFSIZZ, "cbuf"); in s_client_main() 988 sbuf = app_malloc(BUFSIZZ, "sbuf"); in s_client_main() 989 mbuf = app_malloc(BUFSIZZ, "mbuf"); in s_client_main() 3630 exportedkeymat = app_malloc(keymatexportlen, "export key"); in print_stuff()
|
| H A D | srp.c | 100 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row pointers"); in update_index()
|
| H A D | fipsinstall.c | 811 read_buffer = app_malloc(BUFSIZE, "I/O buffer"); in fipsinstall_main()
|
| H A D | x509.c | 1150 buf = app_malloc(len + sizeof(POSTFIX), "serial# buffer"); in x509_load_serial()
|
| /freebsd/crypto/openssl/test/testutil/ |
| H A D | apps_shims.c | 16 void *app_malloc(size_t sz, const char *what) in app_malloc() function
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | tlssrp_depr.c | 106 char *pass = app_malloc(PWD_STRLEN + 1, "SRP password buffer"); in ssl_give_srp_client_pwd_cb()
|
| H A D | s_cb.c | 390 groups = app_malloc(ngroups * sizeof(int), "groups to print"); in ssl_print_groups() 888 buffer = app_malloc(length, "cookie generate buffer"); in generate_stateless_cookie_callback() 1064 SSL_EXCERT *exc = app_malloc(sizeof(*exc), "prepend cert"); in ssl_excert_prepend() 1249 cp = out = app_malloc(ilen, "TLSA hex data buffer"); in hexencode()
|
| H A D | http_server.c | 95 kidpids = app_malloc(n_responders * sizeof(*kidpids), "child PID array"); in spawn_loop()
|
| H A D | apps.c | 94 arg->argv = app_malloc(sizeof(*arg->argv) * arg->size, "argv space"); in chopup_args() 687 void *app_malloc(size_t sz, const char *what) in app_malloc() function 1745 retdb = app_malloc(sizeof(*retdb), "new DB"); in load_index() 2176 out = app_malloc(len + 1, "NPN buffer"); in next_protos_parse() 3285 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
|
| /freebsd/crypto/openssl/apps/include/ |
| H A D | apps.h | 231 void *app_malloc(size_t sz, const char *what);
|