Home
last modified time | relevance | path

Searched refs:NodeBIO (Results 1 – 9 of 9) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_bio.cc35 BIOPointer NodeBIO::New(Environment* env) { in New()
38 NodeBIO::FromBIO(bio.get())->env_ = env; in New()
43 BIOPointer NodeBIO::NewFixed(const char* data, size_t len, Environment* env) { in NewFixed()
57 int NodeBIO::New(BIO* bio) { in New()
58 BIO_set_data(bio, new NodeBIO()); in New()
65 int NodeBIO::Free(BIO* bio) { in Free()
80 int NodeBIO::Read(BIO* bio, char* out, int len) { in Read()
83 NodeBIO* nbio = FromBIO(bio); in Read()
97 char* NodeBIO::Peek(size_t* size) { in Peek()
103 size_t NodeBIO::PeekMultiple(char** out, size_t* size, size_t* count) { in PeekMultiple()
[all …]
Dcrypto_bio.h42 class NodeBIO : public MemoryRetainer {
44 ~NodeBIO() override;
125 static NodeBIO* FromBIO(BIO* bio);
131 SET_MEMORY_INFO_NAME(NodeBIO)
132 SET_SELF_SIZE(NodeBIO)
Dcrypto_tls.cc424 enc_in_ = NodeBIO::New(env()).release(); in InitSSL()
425 enc_out_ = NodeBIO::New(env()).release(); in InitSSL()
467 NodeBIO::FromBIO(enc_in_)->set_initial(kInitialClientBufferLength); in InitSSL()
656 write_size_ = NodeBIO::FromBIO(enc_out_)->PeekMultiple(data, size, &count); in EncOut()
722 NodeBIO::FromBIO(enc_out_)->Read(nullptr, write_size_); in OnStreamAfterWrite()
874 NodeBIO::FromBIO(enc_out_)->set_allocate_tls_hint(bs->ByteLength()); in ClearIn()
1042 NodeBIO::FromBIO(enc_out_)->set_allocate_tls_hint(length); in DoWrite()
1047 NodeBIO::FromBIO(enc_out_)->set_allocate_tls_hint(buf->len); in DoWrite()
1090 char* base = NodeBIO::FromBIO(enc_in_)->PeekWritable(&size); in OnStreamAlloc()
1121 NodeBIO* enc_in = NodeBIO::FromBIO(enc_in_); in OnStreamRead()
[all …]
Dcrypto_context.cc208 PEM_read_bio_X509(NodeBIO::NewFixed(root_certs[i], in NewRootCertStore()
/third_party/node/src/quic/
Dtlscontext.cc163 crypto::BIOPointer bio = crypto::NodeBIO::NewFixed(ca.base, ca.len); in InitializeSecureContext()
188 crypto::BIOPointer bio = crypto::NodeBIO::NewFixed(cert.base, cert.len); in InitializeSecureContext()
218 crypto::BIOPointer bio = crypto::NodeBIO::NewFixed(crl.base, crl.len); in InitializeSecureContext()
/third_party/node/src/
Dmemory_tracker.h43 class NodeBIO; variable
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md577 * crypto: free excessive memory in NodeBIO (Fedor Indutny)
DCHANGELOG_V10.md2835 …om/nodejs/node/commit/b2ac7a750f)] - **src**: avoid possible race during NodeBIO initialization (A…
2836 …ub.com/nodejs/node/commit/d85b0a3c10)] - **src**: use smart pointers for NodeBIO (Anna Henningsen)…
DCHANGELOG_V18.md2687 * \[[`8e1138d354`](https://github.com/nodejs/node/commit/8e1138d354)] - **src**: simplify NodeBIO::…