Home
last modified time | relevance | path

Searched refs:enif_make_new_binary (Results 1 – 25 of 168) sorted by relevance

1234567

/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/crypto/c_src/
H A Daes.c53 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_8_crypt()
95 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_128_crypt_nif()
149 if ((ret_ptr = enif_make_new_binary(env, data_bin.size, &ret)) == NULL) in aes_ige_crypt_nif()
207 if ((ivec2_buf = enif_make_new_binary(env, ivec_bin.size, &ivec2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
209 if ((ecount2_buf = enif_make_new_binary(env, ecount_bin.size, &ecount2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
215 if ((outp = enif_make_new_binary(env, text_bin.size, &cipher_term)) == NULL) in aes_ctr_stream_encrypt_compat()
273 if ((outp = enif_make_new_binary(env, in.size, &out)) == NULL) in aes_gcm_decrypt_NO_EVP()
H A Dbn.c87 if ((bin_ptr = enif_make_new_binary(env, (size_t)bn_len, &term)) == NULL) in bin_from_bn()
133 if ((ptr = enif_make_new_binary(env, bin_hdr + extra_byte + (unsigned int)dlen, &ret)) == NULL) in mod_exp_nif()
178 if ((ptr = enif_make_new_binary(env, size, &ret)) == NULL) in bn2term()
H A Dinfo.c95 if ((out_name = enif_make_new_binary(env, name_sz, &name_term)) == NULL) in info_lib()
97 if ((out_ver = enif_make_new_binary(env, ver_sz, &ver_term)) == NULL) in info_lib()
H A Dhash.c118 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_nif()
230 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_final_nif()
322 if ((outp = enif_make_new_binary(env, ctx_size, &ctx)) == NULL) in hash_init_nif()
422 if ((ctx_buff = enif_make_new_binary(env, ctx_size, &new_ctx)) == NULL) in hash_update_nif()
529 if ((outp = enif_make_new_binary(env, (size_t)EVP_MD_size(md), &ret)) == NULL) in hash_final_nif()
H A Drand.c37 if ((data = enif_make_new_binary(env, bytes, &ret)) == NULL) in strong_rand_bytes_nif()
111 if ((data = enif_make_new_binary(env, (size_t)dlen+4, &ret)) == NULL) in rand_uniform_nif()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/crypto/c_src/
H A Daes.c53 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_8_crypt()
95 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_128_crypt_nif()
149 if ((ret_ptr = enif_make_new_binary(env, data_bin.size, &ret)) == NULL) in aes_ige_crypt_nif()
207 if ((ivec2_buf = enif_make_new_binary(env, ivec_bin.size, &ivec2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
209 if ((ecount2_buf = enif_make_new_binary(env, ecount_bin.size, &ecount2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
215 if ((outp = enif_make_new_binary(env, text_bin.size, &cipher_term)) == NULL) in aes_ctr_stream_encrypt_compat()
273 if ((outp = enif_make_new_binary(env, in.size, &out)) == NULL) in aes_gcm_decrypt_NO_EVP()
H A Dbn.c87 if ((bin_ptr = enif_make_new_binary(env, (size_t)bn_len, &term)) == NULL) in bin_from_bn()
133 if ((ptr = enif_make_new_binary(env, bin_hdr + extra_byte + (unsigned int)dlen, &ret)) == NULL) in mod_exp_nif()
178 if ((ptr = enif_make_new_binary(env, size, &ret)) == NULL) in bn2term()
H A Dinfo.c93 if ((out_name = enif_make_new_binary(env, name_sz, &name_term)) == NULL) in info_lib()
95 if ((out_ver = enif_make_new_binary(env, ver_sz, &ver_term)) == NULL) in info_lib()
H A Dhash.c118 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_nif()
230 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_final_nif()
322 if ((outp = enif_make_new_binary(env, ctx_size, &ctx)) == NULL) in hash_init_nif()
422 if ((ctx_buff = enif_make_new_binary(env, ctx_size, &new_ctx)) == NULL) in hash_update_nif()
529 if ((outp = enif_make_new_binary(env, (size_t)EVP_MD_size(md), &ret)) == NULL) in hash_final_nif()
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/crypto/c_src/
H A Daes.c53 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_8_crypt()
95 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_128_crypt_nif()
148 if ((ivec2_buf = enif_make_new_binary(env, ivec_bin.size, &ivec2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
150 if ((ecount2_buf = enif_make_new_binary(env, ecount_bin.size, &ecount2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
156 if ((outp = enif_make_new_binary(env, text_bin.size, &cipher_term)) == NULL) in aes_ctr_stream_encrypt_compat()
214 if ((outp = enif_make_new_binary(env, in.size, &out)) == NULL) in aes_gcm_decrypt_NO_EVP()
H A Dbn.c87 if ((bin_ptr = enif_make_new_binary(env, (size_t)bn_len, &term)) == NULL) in bin_from_bn()
133 if ((ptr = enif_make_new_binary(env, bin_hdr + extra_byte + (unsigned int)dlen, &ret)) == NULL) in mod_exp_nif()
178 if ((ptr = enif_make_new_binary(env, size, &ret)) == NULL) in bn2term()
H A Dhash.c118 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_nif()
230 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_final_nif()
322 if ((outp = enif_make_new_binary(env, ctx_size, &ctx)) == NULL) in hash_init_nif()
422 if ((ctx_buff = enif_make_new_binary(env, ctx_size, &new_ctx)) == NULL) in hash_update_nif()
529 if ((outp = enif_make_new_binary(env, (size_t)EVP_MD_size(md), &ret)) == NULL) in hash_final_nif()
H A Dinfo.c148 if ((out_name = enif_make_new_binary(env, name_sz, &name_term)) == NULL) in info_lib()
150 if ((out_ver = enif_make_new_binary(env, ver_sz, &ver_term)) == NULL) in info_lib()
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/crypto/c_src/
H A Daes.c53 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_8_crypt()
95 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_128_crypt_nif()
148 if ((ivec2_buf = enif_make_new_binary(env, ivec_bin.size, &ivec2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
150 if ((ecount2_buf = enif_make_new_binary(env, ecount_bin.size, &ecount2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
156 if ((outp = enif_make_new_binary(env, text_bin.size, &cipher_term)) == NULL) in aes_ctr_stream_encrypt_compat()
214 if ((outp = enif_make_new_binary(env, in.size, &out)) == NULL) in aes_gcm_decrypt_NO_EVP()
H A Dbn.c87 if ((bin_ptr = enif_make_new_binary(env, (size_t)bn_len, &term)) == NULL) in bin_from_bn()
133 if ((ptr = enif_make_new_binary(env, bin_hdr + extra_byte + (unsigned int)dlen, &ret)) == NULL) in mod_exp_nif()
178 if ((ptr = enif_make_new_binary(env, size, &ret)) == NULL) in bn2term()
H A Dhash.c118 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_nif()
230 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_final_nif()
322 if ((outp = enif_make_new_binary(env, ctx_size, &ctx)) == NULL) in hash_init_nif()
422 if ((ctx_buff = enif_make_new_binary(env, ctx_size, &new_ctx)) == NULL) in hash_update_nif()
529 if ((outp = enif_make_new_binary(env, (size_t)EVP_MD_size(md), &ret)) == NULL) in hash_final_nif()
H A Dinfo.c148 if ((out_name = enif_make_new_binary(env, name_sz, &name_term)) == NULL) in info_lib()
150 if ((out_ver = enif_make_new_binary(env, ver_sz, &ver_term)) == NULL) in info_lib()
/dports/lang/erlang/otp-OTP-24.1.7/lib/crypto/c_src/
H A Daes.c53 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_8_crypt()
95 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_128_crypt_nif()
148 if ((ivec2_buf = enif_make_new_binary(env, ivec_bin.size, &ivec2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
150 if ((ecount2_buf = enif_make_new_binary(env, ecount_bin.size, &ecount2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
156 if ((outp = enif_make_new_binary(env, text_bin.size, &cipher_term)) == NULL) in aes_ctr_stream_encrypt_compat()
214 if ((outp = enif_make_new_binary(env, in.size, &out)) == NULL) in aes_gcm_decrypt_NO_EVP()
H A Dbn.c87 if ((bin_ptr = enif_make_new_binary(env, (size_t)bn_len, &term)) == NULL) in bin_from_bn()
133 if ((ptr = enif_make_new_binary(env, bin_hdr + extra_byte + (unsigned int)dlen, &ret)) == NULL) in mod_exp_nif()
178 if ((ptr = enif_make_new_binary(env, size, &ret)) == NULL) in bn2term()
H A Dhash.c118 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_nif()
230 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_final_nif()
322 if ((outp = enif_make_new_binary(env, ctx_size, &ctx)) == NULL) in hash_init_nif()
422 if ((ctx_buff = enif_make_new_binary(env, ctx_size, &new_ctx)) == NULL) in hash_update_nif()
529 if ((outp = enif_make_new_binary(env, (size_t)EVP_MD_size(md), &ret)) == NULL) in hash_final_nif()
H A Dinfo.c148 if ((out_name = enif_make_new_binary(env, name_sz, &name_term)) == NULL) in info_lib()
150 if ((out_ver = enif_make_new_binary(env, ver_sz, &ver_term)) == NULL) in info_lib()
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/crypto/c_src/
H A Daes.c53 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_8_crypt()
95 if ((outp = enif_make_new_binary(env, text.size, &ret)) == NULL) in aes_cfb_128_crypt_nif()
148 if ((ivec2_buf = enif_make_new_binary(env, ivec_bin.size, &ivec2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
150 if ((ecount2_buf = enif_make_new_binary(env, ecount_bin.size, &ecount2_term)) == NULL) in aes_ctr_stream_encrypt_compat()
156 if ((outp = enif_make_new_binary(env, text_bin.size, &cipher_term)) == NULL) in aes_ctr_stream_encrypt_compat()
214 if ((outp = enif_make_new_binary(env, in.size, &out)) == NULL) in aes_gcm_decrypt_NO_EVP()
H A Dbn.c87 if ((bin_ptr = enif_make_new_binary(env, (size_t)bn_len, &term)) == NULL) in bin_from_bn()
133 if ((ptr = enif_make_new_binary(env, bin_hdr + extra_byte + (unsigned int)dlen, &ret)) == NULL) in mod_exp_nif()
178 if ((ptr = enif_make_new_binary(env, size, &ret)) == NULL) in bn2term()
H A Dhash.c118 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_nif()
230 if ((outp = enif_make_new_binary(env, ret_size, &ret)) == NULL) in hash_final_nif()
322 if ((outp = enif_make_new_binary(env, ctx_size, &ctx)) == NULL) in hash_init_nif()
422 if ((ctx_buff = enif_make_new_binary(env, ctx_size, &new_ctx)) == NULL) in hash_update_nif()
529 if ((outp = enif_make_new_binary(env, (size_t)EVP_MD_size(md), &ret)) == NULL) in hash_final_nif()
H A Dinfo.c148 if ((out_name = enif_make_new_binary(env, name_sz, &name_term)) == NULL) in info_lib()
150 if ((out_ver = enif_make_new_binary(env, ver_sz, &ver_term)) == NULL) in info_lib()

1234567