Home
last modified time | relevance | path

Searched refs:app_malloc (Results 1 – 25 of 47) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Dkdf.c62 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 Dmac.c66 res = app_malloc(len, "algorithm name"); in alloc_mac_algorithm_name()
94 buf = app_malloc(BUFSIZE, "I/O buffer"); in mac_main()
H A Dengine.c63 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 Drsautl.c219 rsa_in = app_malloc(keysize * 2, "hold rsa key"); in rsautl_main()
220 rsa_out = app_malloc(keysize, "output rsa key"); in rsautl_main()
H A Dpkeyutl.c480 buf_out = app_malloc(buf_outlen, "buffer output"); in pkeyutl_main()
731 mbuf = app_malloc(filesize, "oneshot sign/verify buffer"); in do_raw_keyop()
749 *out = app_malloc(*poutlen, "buffer output"); in do_raw_keyop()
792 *out = app_malloc(*poutlen, "buffer output"); in do_raw_keyop()
H A Drehash.c134 bp = app_malloc(sizeof(*bp), "hash bucket"); in add_entry()
164 ep = app_malloc(sizeof(*ep), "collision bucket"); in add_entry()
398 buf = app_malloc(buflen, "filename buffer"); in do_dir()
H A Dspeed.c1785 app_malloc(loopargs_len * sizeof(loopargs_t), "array of loopargs"); in speed_main()
1805 loopargs[i].buf_malloc = app_malloc(buflen, "input buffer"); in speed_main()
1806 loopargs[i].buf2_malloc = app_malloc(buflen, "input buffer"); in speed_main()
1815 loopargs[i].secret_a = app_malloc(MAX_ECDH_SIZE, "ECDH secret a"); in speed_main()
1816 loopargs[i].secret_b = app_malloc(MAX_ECDH_SIZE, "ECDH secret b"); in speed_main()
1818 loopargs[i].secret_ff_a = app_malloc(MAX_FFDH_SIZE, "FFDH secret a"); in speed_main()
1819 loopargs[i].secret_ff_b = app_malloc(MAX_FFDH_SIZE, "FFDH secret b"); in speed_main()
2010 evp_hmac_name = app_malloc(sizeof("hmac()") + strlen(evp_mac_mdname), in speed_main()
2260 loopargs[k].key = app_malloc(keylen, "evp_cipher key"); in speed_main()
2315 evp_cmac_name = app_malloc(sizeof("cmac()") in speed_main()
[all …]
H A Denc.c338 strbuf = app_malloc(SIZE, "strbuf"); in enc_main()
339 buff = app_malloc(EVP_ENCODE_LENGTH(bsize), "evp buffer"); in enc_main()
H A Ds_server.c288 wbuf = app_malloc(sizeof(*wbuf) + 1024, "ebcdic wbuf"); in ebcdic_new()
346 wbuf = app_malloc(sizeof(*wbuf) + num, "grow ebcdic wbuf"); in ebcdic_write()
2352 buf = app_malloc(bufsize, "server buffer"); in sv_body()
3013 exportedkeymat = app_malloc(keymatexportlen, "export key"); in print_connection_info()
3064 buf = app_malloc(bufsize + 1, "server www buffer"); in www_body()
3507 buf = app_malloc(bufsize + 1, "server rev buffer"); in rev_body()
3699 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session"); in add_session()
3711 sess->der = app_malloc(sess->derlen, "get session buffer"); in add_session()
H A Dca.c1942 row[DB_exp_date] = app_malloc(tm->length + 1, "row expdate"); in do_body()
1953 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row space"); in do_body()
2171 row[DB_exp_date] = app_malloc(tm->length + 1, "row exp_data"); in do_revoke()
2182 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row ptr"); in do_revoke()
2246 row[DB_serial] = app_malloc(serial_len + 2, "row serial#"); in get_certificate_status()
2447 str = app_malloc(i, "revocation reason"); in make_revocation_str()
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Ddgst.c105 buf = app_malloc(BUFSIZE, "I/O buffer"); in dgst_main()
370 sigbuf = app_malloc(siglen, "signature buffer"); in dgst_main()
480 file_cpy = app_malloc(mem_len, file); in newline_escape_filename()
542 sigbuf = app_malloc(len, "Signature buffer"); in do_fp()
H A Drsautl.c214 rsa_in = app_malloc(keysize * 2, "hold rsa key"); in rsautl_main()
215 rsa_out = app_malloc(keysize, "output rsa key"); in rsautl_main()
H A Dengine.c54 p = *buf = app_malloc(*size, "engine buffer"); in append_buf()
172 name = app_malloc(len + 1, "name buffer"); in util_verbose()
181 desc = app_malloc(len + 1, "description buffer"); in util_verbose()
H A Dvms_decc_argv.c53 newargv = app_malloc(sizeof(*newargv) * (count + 1), "argv copy"); in copy_argv()
H A Drehash.c138 bp = app_malloc(sizeof(*bp), "hash bucket"); in add_entry()
168 ep = app_malloc(sizeof(*ep), "collision bucket"); in add_entry()
349 buf = app_malloc(buflen, "filename buffer"); in do_dir()
H A Decparam.c179 curves = app_malloc((int)sizeof(*curves) * crv_len, "list curves"); in ecparam_main()
330 buffer = app_malloc(buf_len, "BN buffer"); in ecparam_main()
H A Ds_cb.c357 groups = app_malloc(ngroups * sizeof(int), "groups to print"); in ssl_print_groups()
791 buffer = app_malloc(length, "cookie generate buffer"); in generate_cookie_callback()
961 SSL_EXCERT *exc = app_malloc(sizeof(*exc), "prepend cert"); in ssl_excert_prepend()
1145 cp = out = app_malloc(ilen, "TLSA hex data buffer"); in hexencode()
H A Denc.c319 strbuf = app_malloc(SIZE, "strbuf"); in enc_main()
320 buff = app_malloc(EVP_ENCODE_LENGTH(bsize), "evp buffer"); in enc_main()
H A Dspeed.c1782 app_malloc(loopargs_len * sizeof(loopargs_t), "array of loopargs"); in speed_main()
1798 loopargs[i].buf_malloc = app_malloc(buflen, "input buffer"); in speed_main()
1799 loopargs[i].buf2_malloc = app_malloc(buflen, "input buffer"); in speed_main()
1807 loopargs[i].secret_a = app_malloc(MAX_ECDH_SIZE, "ECDH secret a"); in speed_main()
1808 loopargs[i].secret_b = app_malloc(MAX_ECDH_SIZE, "ECDH secret b"); in speed_main()
2648 loopargs[k].key = app_malloc(keylen, "evp_cipher key"); in speed_main()
3476 fds = app_malloc(sizeof(*fds) * multi, "fd buffer for do_multi"); in do_multi()
3632 inp = app_malloc(mblengths[num - 1], "multiblock input buffer"); in multiblock_speed()
3633 out = app_malloc(mblengths[num - 1] + 1024, "multiblock output buffer"); in multiblock_speed()
3638 key = app_malloc(keylen, "evp_cipher key"); in multiblock_speed()
H A Ddsaparam.c176 data = app_malloc(len + 20, "BN space"); in dsaparam_main()
H A Ds_server.c339 wbuf = app_malloc(sizeof(*wbuf) + 1024, "ebcdic wbuf"); in ebcdic_new()
397 wbuf = app_malloc(sizeof(*wbuf) + num, "grow ebcdic wbuf"); in ebcdic_write()
2284 buf = app_malloc(bufsize, "server buffer"); in sv_body()
2961 exportedkeymat = app_malloc(keymatexportlen, "export key"); in print_connection_info()
3012 buf = app_malloc(bufsize, "server www buffer"); in www_body()
3396 buf = app_malloc(bufsize, "server rev buffer"); in rev_body()
3588 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session"); in add_session()
3600 sess->der = app_malloc(sess->derlen, "get session buffer"); in add_session()
H A Dca.c1862 row[DB_exp_date] = app_malloc(tm->length + 1, "row expdate"); in do_body()
1873 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row space"); in do_body()
2095 row[DB_exp_date] = app_malloc(tm->length + 1, "row exp_data"); in do_revoke()
2106 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row ptr"); in do_revoke()
2170 row[DB_serial] = app_malloc(serial_len + 2, "row serial#"); in get_certificate_status()
2371 str = app_malloc(i, "revocation reason"); in make_revocation_str()
H A Dapps.c82 arg->argv = app_malloc(sizeof(*arg->argv) * arg->size, "argv space"); in chopup_args()
329 buff = app_malloc(bufsiz, "password buffer"); in password_callback()
961 void* app_malloc(int sz, const char *what) in app_malloc() function
1590 retdb = app_malloc(sizeof(*retdb), "new DB"); in load_index()
1988 out = app_malloc(len + 1, "NPN buffer"); in next_protos_parse()
2718 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
/netbsd-src/crypto/external/bsd/openssl/dist/test/testutil/
H A Dapps_shims.c16 void *app_malloc(size_t sz, const char *what) in app_malloc() function
/netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/
H A Dtlssrp_depr.c106 char *pass = app_malloc(PWD_STRLEN + 1, "SRP password buffer"); in ssl_give_srp_client_pwd_cb()

12