Lines Matching refs:CRYPTO_BUFFER
175 static UniquePtr<CRYPTO_BUFFER> x509_to_buffer(X509 *x509) { in x509_to_buffer()
182 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(buf, cert_len, NULL)); in x509_to_buffer()
189 static UniquePtr<STACK_OF(CRYPTO_BUFFER)> new_leafless_chain(void) { in new_leafless_chain()
190 UniquePtr<STACK_OF(CRYPTO_BUFFER)> chain(sk_CRYPTO_BUFFER_new_null()); in new_leafless_chain()
204 UniquePtr<STACK_OF(CRYPTO_BUFFER)> new_chain; in ssl_cert_set_chain()
213 CRYPTO_BUFFER *leaf = sk_CRYPTO_BUFFER_value(cert->chain.get(), 0); in ssl_cert_set_chain()
227 UniquePtr<CRYPTO_BUFFER> buffer = x509_to_buffer(x509); in ssl_cert_set_chain()
249 STACK_OF(CRYPTO_BUFFER) *names) { in ssl_crypto_x509_check_client_CA_list()
250 for (const CRYPTO_BUFFER *buffer : names) { in ssl_crypto_x509_check_client_CA_list()
303 for (CRYPTO_BUFFER *cert : sess->certs.get()) { in ssl_crypto_x509_session_cache_objects()
738 UniquePtr<CRYPTO_BUFFER> buffer = x509_to_buffer(x); in ssl_use_certificate()
769 CRYPTO_BUFFER *leaf = sk_CRYPTO_BUFFER_value(cert->chain.get(), 0); in ssl_cert_cache_leaf_cert()
824 UniquePtr<CRYPTO_BUFFER> buffer = x509_to_buffer(x509); in ssl_cert_append_cert()
952 CRYPTO_BUFFER *buffer = sk_CRYPTO_BUFFER_value(cert->chain.get(), i); in ssl_cert_cache_chain_certs()
1046 static void set_client_CA_list(UniquePtr<STACK_OF(CRYPTO_BUFFER)> *ca_list, in set_client_CA_list()
1049 UniquePtr<STACK_OF(CRYPTO_BUFFER)> buffers(sk_CRYPTO_BUFFER_new_null()); in set_client_CA_list()
1061 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(outp, len, pool)); in set_client_CA_list()
1090 buffer_names_to_x509(const STACK_OF(CRYPTO_BUFFER) *names, in STACK_OF()
1106 for (const CRYPTO_BUFFER *buffer : names) { in STACK_OF()
1159 static int add_client_CA(UniquePtr<STACK_OF(CRYPTO_BUFFER)> *names, X509 *x509, in add_client_CA()
1171 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(outp, len, pool)); in add_client_CA()