Home
last modified time | relevance | path

Searched refs:BIO_new_mem_buf (Results 1 – 25 of 33) sorted by relevance

12

/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dbio_enc_test.c58 mem = BIO_new_mem_buf(inp, DATA_SIZE); in do_bio_cipher()
74 mem = BIO_new_mem_buf(inp, DATA_SIZE); in do_bio_cipher()
106 mem = BIO_new_mem_buf(inp, DATA_SIZE); in do_bio_cipher()
131 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
152 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
184 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
Dpkcs7_test.c76 ret = TEST_ptr(msg_bio = BIO_new_mem_buf(signed_data, strlen(signed_data))) in pkcs7_verify_test()
77 && TEST_ptr(x509_bio = BIO_new_mem_buf(cert_der, sizeof(cert_der))) in pkcs7_verify_test()
Devp_pkey_dparams_test.c253 ret = TEST_ptr(in = BIO_new_mem_buf(pkey_params[id].param_bin, in params_bio_test()
284 ret = TEST_ptr(in = BIO_new_mem_buf(pkey_params[id].param_bin, in set_enc_pubkey_test()
Dpemtest.c111 b = BIO_new_mem_buf(emptypay, strlen(emptypay)); in test_empty_payload()
141 b = BIO_new_mem_buf(protectedpay, strlen(protectedpay)); in test_protected_params()
Dcmsapitest.c28 BIO *msgbio = BIO_new_mem_buf(msg, strlen(msg)); in test_encrypt_decrypt()
283 ret = TEST_ptr(bio = BIO_new_mem_buf(cms_data, sizeof(cms_data))) in test_d2i_CMS_bio_NULL()
Dbio_memleak_test.c78 bio = BIO_new_mem_buf("Hello World\n", 12); in test_bio_new_mem_buf()
113 bio = BIO_new_mem_buf("Hello World\n", 12); in test_bio_rdonly_mem_buf()
Ddtlsv1listentest.c314 if (!TEST_ptr(inbio = BIO_new_mem_buf((char *)tp->in, tp->inlen))) in dtls_listen_test()
Devp_extra_test2.c515 && TEST_ptr(in = BIO_new_mem_buf(kExampleRSAKeyPKCS8, in test_pkcs8key_nid_bio()
618 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[id].kder, keydata[id].size))) in test_d2i_PrivateKey_ex()
645 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[testid].kder, keydata[testid].size))) in test_PEM_read_bio_negative()
Dcrltest.c202 return BIO_new_mem_buf(*out, s); in glue2bio()
Dbio_pw_callback_test.c209 if (!TEST_ptr(bio = BIO_new_mem_buf(enc_data, enc_data_size))) in decrypt_key()
Dv3ext.c378 BIO *extbio = BIO_new_mem_buf(extvalues[i].value, in test_ext_syntax()
Devp_libctx_test.c301 if (!TEST_ptr(bio = BIO_new_mem_buf(dhx_cert, sizeof(dhx_cert))) in dhx_cert_load()
Dendecode_test.c299 if (!TEST_FL_ptr(encoded_bio = BIO_new_mem_buf(encoded, encoded_len))) in decode_EVP_PKEY_prov()
/netbsd/src/external/bsd/pkg_install/dist/lib/
Dpkcs7.c141 in = BIO_new_mem_buf(__UNCONST(content), len); in easy_pkcs7_verify()
142 sig = BIO_new_mem_buf(__UNCONST(signature), signature_len); in easy_pkcs7_verify()
293 in = BIO_new_mem_buf(__UNCONST(content), len); in easy_pkcs7_sign()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/bio/
Dossl_core_bio.c91 return core_bio_new_from_new_bio(BIO_new_mem_buf(buf, len)); in ossl_core_bio_new_mem_buf()
Dbss_mem.c82 BIO *BIO_new_mem_buf(const void *buf, int len) in BIO_new_mem_buf() function
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Deaytest.c100 bio = BIO_new_mem_buf(pubkey_txt, strlen(pubkey_txt));
206 bio = BIO_new_mem_buf(buf, strlen(buf));
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/cms/
Dcms_smime.c407 tmpin = (len == 0) ? dcont : BIO_new_mem_buf(ptr, len); in CMS_verify()
598 rct_cont = BIO_new_mem_buf(os->data, os->length); in CMS_sign_receipt()
Dcms_lib.c141 return BIO_new_mem_buf((*pos)->data, (*pos)->length); in ossl_cms_content_bio()
/netbsd/src/external/ibm-public/postfix/dist/src/tls/
Dtls_certkey.c628 if ((st.pembio = BIO_new_mem_buf(pem, -1)) == NULL) { in tls_load_pem_chain()
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Dfipsinstall.c474 mem_bio = BIO_new_mem_buf((const void *)INSTALL_STATUS_VAL, in fipsinstall_main()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pkcs7/
Dpk7_smime.c314 tmpin = (len == 0) ? indata : BIO_new_mem_buf(ptr, len); in PKCS7_verify()
Dpk7_doit.c360 bio = BIO_new_mem_buf(os->data, os->length); in PKCS7_dataInit()
651 bio = BIO_new_mem_buf(data_body->data, data_body->length); in PKCS7_dataDecode()
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/test/
Dregress_ssl.c110 bio = BIO_new_mem_buf((char*)KEY, -1); in ssl_getkey()
/netbsd/src/external/bsd/libevent/dist/test/
Dregress_ssl.c111 bio = BIO_new_mem_buf(xkey, -1); in ssl_getkey()

12