Home
last modified time | relevance | path

Searched refs:CRYPTO_BUFFER_len (Results 1 – 15 of 15) sorted by relevance

/external/boringssl/src/crypto/pool/
Dpool_test.cc29 Bytes(CRYPTO_BUFFER_data(buf.get()), CRYPTO_BUFFER_len(buf.get()))); in TEST()
41 Bytes(CRYPTO_BUFFER_data(buf.get()), CRYPTO_BUFFER_len(buf.get()))); in TEST()
Dpool.c194 size_t CRYPTO_BUFFER_len(const CRYPTO_BUFFER *buf) { in CRYPTO_BUFFER_len() function
/external/boringssl/src/crypto/x509/
Dx_x509.c155 if (CRYPTO_BUFFER_len(buf) > LONG_MAX) {
169 X509 *ret = d2i_X509(&x509p, &inp, CRYPTO_BUFFER_len(buf));
171 inp - CRYPTO_BUFFER_data(buf) != (ptrdiff_t)CRYPTO_BUFFER_len(buf)) {
Dx509_test.cc833 ASSERT_LT(enc_pointer, buf_pointer + CRYPTO_BUFFER_len(buf.get())); in TEST()
/external/boringssl/src/ssl/
Dtls13_both.cc375 CRYPTO_BUFFER_len(leaf_buf)) || in tls13_add_certificate()
388 CRYPTO_BUFFER_len(ssl->cert->signed_cert_timestamp_list)) || in tls13_add_certificate()
404 CRYPTO_BUFFER_len(ssl->cert->ocsp_response)) || in tls13_add_certificate()
416 CRYPTO_BUFFER_len(cert_buf)) || in tls13_add_certificate()
Dhandshake.cc306 if (CRYPTO_BUFFER_len(old_cert) != CRYPTO_BUFFER_len(new_cert) || in ssl_verify_peer_cert()
309 CRYPTO_BUFFER_len(old_cert)) != 0) { in ssl_verify_peer_cert()
Dssl_asn1.cc231 CRYPTO_BUFFER_len(buffer))) { in SSL_SESSION_to_bytes_full()
301 CRYPTO_BUFFER_len(in->signed_cert_timestamp_list))) { in SSL_SESSION_to_bytes_full()
311 CRYPTO_BUFFER_len(in->ocsp_response))) { in SSL_SESSION_to_bytes_full()
344 CRYPTO_BUFFER_len(buffer))) { in SSL_SESSION_to_bytes_full()
Dssl_cert.cc464 CRYPTO_BUFFER_len(buffer)) || in ssl_add_cert_chain()
735 CRYPTO_BUFFER_len(name))) { in ssl_add_client_CA_list()
762 CBS_init(&leaf_cbs, CRYPTO_BUFFER_data(leaf), CRYPTO_BUFFER_len(leaf)); in ssl_check_leaf_certificate()
Dssl_x509.cc261 X509_NAME *name = d2i_X509_NAME(NULL, &inp, CRYPTO_BUFFER_len(buffer)); in ssl_crypto_x509_check_client_CA_list()
263 CRYPTO_BUFFER_len(buffer); in ssl_crypto_x509_check_client_CA_list()
1064 d2i_X509_NAME(nullptr, &inp, CRYPTO_BUFFER_len(buffer))); in STACK_OF()
1066 inp != CRYPTO_BUFFER_data(buffer) + CRYPTO_BUFFER_len(buffer) || in STACK_OF()
Dssl_lib.cc1940 *out_len = CRYPTO_BUFFER_len(session->signed_cert_timestamp_list); in SSL_get0_signed_cert_timestamp_list()
1953 *out_len = CRYPTO_BUFFER_len(session->ocsp_response); in SSL_get0_ocsp_response()
Dhandshake_server.cc776 CRYPTO_BUFFER_len(ssl->cert->ocsp_response)) || in do_send_server_certificate()
Dssl_test.cc1250 d2i_X509(NULL, &derp, CRYPTO_BUFFER_len(buffer.get()))); in X509FromBuffer()
3273 CRYPTO_BUFFER_len(peer_name))); in TEST()
Dt1_lib.cc1318 CRYPTO_BUFFER_len(ssl->cert->signed_cert_timestamp_list)) && in ext_sct_add_serverhello()
/external/boringssl/src/include/openssl/
Dpool.h69 OPENSSL_EXPORT size_t CRYPTO_BUFFER_len(const CRYPTO_BUFFER *buf);
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc351 if (CRYPTO_BUFFER_len(buf) > INT_MAX) { in CryptoBufferToByteArray()
357 int length = static_cast<int>(CRYPTO_BUFFER_len(buf)); in CryptoBufferToByteArray()