Home
last modified time | relevance | path

Searched refs:BIO_new_mem_buf (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/rust/crates/rust-openssl/openssl/src/
H A Dbio.rs26 cvt_p(BIO_new_mem_buf( in new()
78 use ffi::BIO_new_mem_buf;
81 unsafe fn BIO_new_mem_buf(buf: *const ::libc::c_void, len: ::libc::c_int) -> *mut ffi::BIO { in BIO_new_mem_buf() functions
82 ffi::BIO_new_mem_buf(buf as *mut _, len) in BIO_new_mem_buf()
/third_party/openssl/test/
H A 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()
H A 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()
H A 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()
H A Dpemtest.c111 b = BIO_new_mem_buf(emptypay, strlen(emptypay)); in test_empty_payload()
H A Dcrltest.c195 return BIO_new_mem_buf(*out, s); in glue2bio()
H A 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()
H A 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()
/third_party/node/test/addons/openssl-client-cert-engine/
H A Dtestengine.cc63 BIO* bio = BIO_new_mem_buf(cert.data(), cert.size()); in EngineLoadSSLClientCert()
78 BIO* bio = BIO_new_mem_buf(key.data(), key.size()); in EngineLoadSSLClientCert()
/third_party/curl/docs/examples/
H A Dusercertinmem.c122 bio = BIO_new_mem_buf((char *)mypem, -1); in sslctx_function()
125 printf("BIO_new_mem_buf failed\n"); in sslctx_function()
143 kbio = BIO_new_mem_buf((char *)mykey, -1); in sslctx_function()
145 printf("BIO_new_mem_buf failed\n"); in sslctx_function()
H A Dcacertinmem.c88 BIO *cbio = BIO_new_mem_buf(mypem, sizeof(mypem)); in sslctx_function()
/third_party/node/test/addons/openssl-key-engine/
H A Dtestkeyengine.cc51 BIO* bio = BIO_new_mem_buf(key.data(), key.size()); in EngineLoadPrivkey()
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dossl_core_bio.c91 return core_bio_new_from_new_bio(BIO_new_mem_buf(buf, len)); in ossl_core_bio_new_mem_buf()
H A Dbss_mem.c82 BIO *BIO_new_mem_buf(const void *buf, int len) in BIO_new_mem_buf() function
/third_party/openssl/demos/pkey/
H A DEVP_PKEY_DSA_paramvalidate.c123 in = BIO_new_mem_buf(dsapem, strlen(dsapem)); in main()
125 fprintf(stderr, "BIO_new_mem_buf() failed\n"); in main()
/third_party/openssl/crypto/bio/
H A Dossl_core_bio.c91 return core_bio_new_from_new_bio(BIO_new_mem_buf(buf, len)); in ossl_core_bio_new_mem_buf()
H A Dbss_mem.c82 BIO *BIO_new_mem_buf(const void *buf, int len) in BIO_new_mem_buf() function
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dbio.rs56 pub fn BIO_new_mem_buf(buf: #[const_ptr_if(any(ossl102, libressl280))] c_void, len: c_int) -> *mut BIO; in BIO_new_mem_buf() functions
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
H A Ddecoder_lib.c155 membio = BIO_new_mem_buf(*pdata, (int)*pdata_len); in OSSL_DECODER_from_data()
765 new_data.bio = BIO_new_mem_buf(p->data, (int)p->data_size); in decoder_process()
/third_party/openssl/crypto/encode_decode/
H A Ddecoder_lib.c155 membio = BIO_new_mem_buf(*pdata, (int)*pdata_len); in OSSL_DECODER_from_data()
764 new_data.bio = BIO_new_mem_buf(p->data, (int)p->data_size); in decoder_process()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
H A Dwpa_evp_key.c290 bio = BIO_new_mem_buf(certificate.credData.data, certificate.credData.size); in BIO_from_cm()
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_smime.c406 tmpin = (len == 0) ? dcont : BIO_new_mem_buf(ptr, len); in CMS_verify()
597 rct_cont = BIO_new_mem_buf(os->data, os->length); in CMS_sign_receipt()
/third_party/openssl/crypto/cms/
H A 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()
/third_party/curl/lib/vtls/
H A Dopenssl.c1137 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_certificate_blob()
1173 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_PrivateKey_blob()
1208 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_certificate_chain_blob()
1407 cert_bio = BIO_new_mem_buf(cert_blob->data, (int)(cert_blob->len)); in cert_stuff()
1410 "BIO_new_mem_buf NULL, " OSSL_PACKAGE in cert_stuff()
2975 cbio = BIO_new_mem_buf(ca_info_blob->data, (int)ca_info_blob->len); in load_cacert_from_memory()
4260 fp = BIO_new_mem_buf(conn_config->issuercert_blob->data, in servercert()
4264 "BIO_new_mem_buf NULL, " OSSL_PACKAGE in servercert()
/third_party/libcoap/src/
H A Dcoap_openssl.c1199 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.public_cert, in setup_pki_server()
1223 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.private_key, in setup_pki_server()
1247 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.ca_cert, in setup_pki_server()
1562 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.public_cert, in setup_pki_ssl()
1586 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.private_key, in setup_pki_ssl()
1610 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.ca_cert, in setup_pki_ssl()

Completed in 27 milliseconds

12345