Home
last modified time | relevance | path

Searched refs:CRYPTO_BUFFER_new (Results 1 – 25 of 46) sorted by relevance

12

/external/rust/crates/quiche/deps/boringssl/src/crypto/pool/
Dpool_test.cc30 CRYPTO_BUFFER_new(kData, sizeof(kData), nullptr)); in TEST()
41 bssl::UniquePtr<CRYPTO_BUFFER> buf(CRYPTO_BUFFER_new(nullptr, 0, nullptr)); in TEST()
54 CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
58 CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
75 buf.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
78 buf2.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
80 buf3.reset(CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
118 buf2.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
130 buf2.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
Dpool.c76 CRYPTO_BUFFER *CRYPTO_BUFFER_new(const uint8_t *data, size_t len, in CRYPTO_BUFFER_new() function
160 return CRYPTO_BUFFER_new(CBS_data(cbs), CBS_len(cbs), pool); in CRYPTO_BUFFER_new_from_CBS()
/external/cronet/third_party/boringssl/src/crypto/pool/
Dpool_test.cc31 CRYPTO_BUFFER_new(kData, sizeof(kData), nullptr)); in TEST()
51 bssl::UniquePtr<CRYPTO_BUFFER> buf(CRYPTO_BUFFER_new(nullptr, 0, nullptr)); in TEST()
71 CRYPTO_BUFFER_new(kData1, sizeof(kData1), pool.get())); in TEST()
77 CRYPTO_BUFFER_new(kData1, sizeof(kData1), pool.get())); in TEST()
87 CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
106 CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
124 CRYPTO_BUFFER_new(kData1, sizeof(kData1), pool.get())); in TEST()
139 buf.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
142 buf2.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
144 buf3.reset(CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
[all …]
Dpool.c167 CRYPTO_BUFFER *CRYPTO_BUFFER_new(const uint8_t *data, size_t len, in CRYPTO_BUFFER_new() function
193 return CRYPTO_BUFFER_new(CBS_data(cbs), CBS_len(cbs), pool); in CRYPTO_BUFFER_new_from_CBS()
/external/boringssl/src/crypto/pool/
Dpool_test.cc31 CRYPTO_BUFFER_new(kData, sizeof(kData), nullptr)); in TEST()
51 bssl::UniquePtr<CRYPTO_BUFFER> buf(CRYPTO_BUFFER_new(nullptr, 0, nullptr)); in TEST()
71 CRYPTO_BUFFER_new(kData1, sizeof(kData1), pool.get())); in TEST()
77 CRYPTO_BUFFER_new(kData1, sizeof(kData1), pool.get())); in TEST()
87 CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
106 CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
124 CRYPTO_BUFFER_new(kData1, sizeof(kData1), pool.get())); in TEST()
139 buf.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
142 buf2.reset(CRYPTO_BUFFER_new(kData, sizeof(kData), pool.get())); in TEST()
144 buf3.reset(CRYPTO_BUFFER_new(kData2, sizeof(kData2), pool.get())); in TEST()
[all …]
Dpool.c167 CRYPTO_BUFFER *CRYPTO_BUFFER_new(const uint8_t *data, size_t len, in CRYPTO_BUFFER_new() function
193 return CRYPTO_BUFFER_new(CBS_data(cbs), CBS_len(cbs), pool); in CRYPTO_BUFFER_new_from_CBS()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dpool.h48 OPENSSL_EXPORT CRYPTO_BUFFER *CRYPTO_BUFFER_new(const uint8_t *data, size_t len,
/external/cronet/third_party/boringssl/src/ssl/
Dssl_cert.cc896 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); in SSL_CTX_use_certificate_ASN1()
905 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); in SSL_use_certificate_ASN1()
951 CRYPTO_BUFFER_new(CBS_data(&sct_list), CBS_len(&sct_list), nullptr)); in set_signed_cert_timestamp_list()
972 CRYPTO_BUFFER_new(response, response_len, nullptr)); in SSL_CTX_set_ocsp_response()
982 CRYPTO_BUFFER_new(response, response_len, nullptr)); in SSL_set_ocsp_response()
Dssl_x509.cc181 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(buf, cert_len, NULL)); in x509_to_buffer()
1062 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(outp, len, pool)); in set_client_CA_list()
1171 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(outp, len, pool)); in add_client_CA()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_cert.cc900 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); in SSL_CTX_use_certificate_ASN1()
909 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); in SSL_use_certificate_ASN1()
955 CRYPTO_BUFFER_new(CBS_data(&sct_list), CBS_len(&sct_list), nullptr)); in set_signed_cert_timestamp_list()
976 CRYPTO_BUFFER_new(response, response_len, nullptr)); in SSL_CTX_set_ocsp_response()
986 CRYPTO_BUFFER_new(response, response_len, nullptr)); in SSL_set_ocsp_response()
Dssl_x509.cc182 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(buf, cert_len, NULL)); in x509_to_buffer()
1063 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(outp, len, pool)); in set_client_CA_list()
1173 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(outp, len, pool)); in add_client_CA()
/external/boringssl/src/ssl/
Dssl_cert.cc896 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); in SSL_CTX_use_certificate_ASN1()
905 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(der, der_len, NULL)); in SSL_use_certificate_ASN1()
951 CRYPTO_BUFFER_new(CBS_data(&sct_list), CBS_len(&sct_list), nullptr)); in set_signed_cert_timestamp_list()
972 CRYPTO_BUFFER_new(response, response_len, nullptr)); in SSL_CTX_set_ocsp_response()
982 CRYPTO_BUFFER_new(response, response_len, nullptr)); in SSL_set_ocsp_response()
/external/boringssl/src/include/openssl/
Dpool.h48 OPENSSL_EXPORT CRYPTO_BUFFER *CRYPTO_BUFFER_new(const uint8_t *data, size_t len,
/external/cronet/third_party/boringssl/src/include/openssl/
Dpool.h48 OPENSSL_EXPORT CRYPTO_BUFFER *CRYPTO_BUFFER_new(const uint8_t *data, size_t len,
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dproof_source.cc29 CRYPTO_BUFFER_new(reinterpret_cast<const uint8_t*>(certs[i].data()), in ToCryptoBuffers()
/external/cronet/net/cert/pki/
Dverify_certificate_chain_pkits_unittest.cc40 bssl::UniquePtr<CRYPTO_BUFFER>(CRYPTO_BUFFER_new( in RunTest()
Docsp_unittest.cc29 bssl::UniquePtr<CRYPTO_BUFFER>(CRYPTO_BUFFER_new( in ParseCertificate()
Dpath_builder_pkits_unittest.cc144 CRYPTO_BUFFER_new(reinterpret_cast<const uint8_t*>(der.data()), in RunTest()
Dcert_issuer_source_sync_unittest.h41 bssl::UniquePtr<CRYPTO_BUFFER>(CRYPTO_BUFFER_new( in ReadTestCert()
/external/webrtc/rtc_base/
Dboringssl_certificate.cc247 CRYPTO_BUFFER_new(cert_bytes, cert_len, openssl::GetBufferPool())); in MakeCertificate()
286 CRYPTO_BUFFER_new(reinterpret_cast<const uint8_t*>(der.c_str()), in FromPEMString()
Dopenssl_utility_unittest.cc205 bssl::UniquePtr<CRYPTO_BUFFER> cert_buffer(CRYPTO_BUFFER_new( in CreateSSLWithPeerCertificate()
Dboringssl_identity.cc147 CRYPTO_BUFFER_new(data, len, openssl::GetBufferPool())); in CreateFromPEMChainStrings()
/external/cronet/net/cert/internal/
Dcrl_unittest.cc29 bssl::UniquePtr<CRYPTO_BUFFER>(CRYPTO_BUFFER_new( in ParseCertificate()
/external/cronet/net/cert/
Dx509_util.cc385 CRYPTO_BUFFER_new(data.data(), data.size(), GetBufferPool())); in CreateCryptoBuffer()
390 CRYPTO_BUFFER_new(reinterpret_cast<const uint8_t*>(data.data()), in CreateCryptoBuffer()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_test.cc1958 CRYPTO_BUFFER_new(data.get(), data_len, nullptr)); in TEST()
1983 CRYPTO_BUFFER_new(trailing_data.get(), data_len + 1, nullptr)); in TEST()
1997 CRYPTO_BUFFER_new(data.get(), data_len, nullptr)); in TEST()
2021 CRYPTO_BUFFER_new(data.get(), data_len, nullptr)); in TEST()
2057 CRYPTO_BUFFER_new(kNonsense, sizeof(kNonsense), nullptr)); in TEST()
2074 CRYPTO_BUFFER_new(data_with_trailing_byte.get(), data_len + 1, nullptr)); in TEST()

12