/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_session.cc | 164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session); 165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session); 166 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock); 168 UniquePtr<SSL_SESSION> ssl_session_new(const SSL_X509_METHOD *x509_method) { in ssl_session_new() 169 return MakeUnique<SSL_SESSION>(x509_method); in ssl_session_new() 192 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() 193 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup() 290 void ssl_session_rebase_time(SSL *ssl, SSL_SESSION *session) { in ssl_session_rebase_time() 319 void ssl_session_renew_timeout(SSL *ssl, SSL_SESSION *session, in ssl_session_renew_timeout() 335 uint16_t ssl_session_protocol_version(const SSL_SESSION *session) { in ssl_session_protocol_version() [all …]
|
D | internal.h | 725 bool GetFinishedMAC(uint8_t *out, size_t *out_len, const SSL_SESSION *session, 1363 const SSL_SESSION *session, 1403 bool tls13_derive_session_psk(SSL_SESSION *session, Span<const uint8_t> nonce); 1413 bool tls13_verify_psk_binder(SSL_HANDSHAKE *hs, SSL_SESSION *session, 1697 UniquePtr<SSL_SESSION> new_session; 1701 UniquePtr<SSL_SESSION> early_session; 1866 bssl::UniquePtr<SSL_SESSION> tls13_create_session_with_ticket(SSL *ssl, 2204 bool (*session_cache_objects)(SSL_SESSION *session); 2207 bool (*session_dup)(SSL_SESSION *new_session, const SSL_SESSION *session); 2209 void (*session_clear)(SSL_SESSION *session); [all …]
|
D | tls_method.cc | 176 static bool ssl_noop_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_noop_x509_session_cache_objects() 179 static bool ssl_noop_x509_session_dup(SSL_SESSION *new_session, in ssl_noop_x509_session_dup() 180 const SSL_SESSION *session) { in ssl_noop_x509_session_dup() 183 static void ssl_noop_x509_session_clear(SSL_SESSION *session) {} in ssl_noop_x509_session_clear() 184 static bool ssl_noop_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_noop_x509_session_verify_cert_chain()
|
D | ssl_x509.cc | 283 static bool ssl_crypto_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_crypto_x509_session_cache_objects() 333 static bool ssl_crypto_x509_session_dup(SSL_SESSION *new_session, in ssl_crypto_x509_session_dup() 334 const SSL_SESSION *session) { in ssl_crypto_x509_session_dup() 353 static void ssl_crypto_x509_session_clear(SSL_SESSION *session) { in ssl_crypto_x509_session_clear() 362 static bool ssl_crypto_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_crypto_x509_session_verify_cert_chain() 529 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_peer_certificate() 542 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF() 554 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF() 710 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_verify_result() 992 SSL_SESSION *d2i_SSL_SESSION_bio(BIO *bio, SSL_SESSION **out) { in d2i_SSL_SESSION_bio() [all …]
|
D | ssl_asn1.cc | 198 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, CBB *cbb, in SSL_SESSION_to_bytes_full() 535 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, in SSL_SESSION_parse() 538 UniquePtr<SSL_SESSION> ret = ssl_session_new(x509_method); in SSL_SESSION_parse() 771 int ssl_session_serialize(const SSL_SESSION *in, CBB *cbb) { in ssl_session_serialize() 779 int SSL_SESSION_to_bytes(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes() 807 int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes_for_ticket() 819 int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp) { in i2d_SSL_SESSION() 842 SSL_SESSION *SSL_SESSION_from_bytes(const uint8_t *in, size_t in_len, in SSL_SESSION_from_bytes() 846 UniquePtr<SSL_SESSION> ret = in SSL_SESSION_from_bytes()
|
/external/boringssl/src/ssl/ |
D | ssl_session.cc | 164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session); 165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session); 166 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock); 168 UniquePtr<SSL_SESSION> ssl_session_new(const SSL_X509_METHOD *x509_method) { in ssl_session_new() 169 return MakeUnique<SSL_SESSION>(x509_method); in ssl_session_new() 192 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() 193 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup() 291 void ssl_session_rebase_time(SSL *ssl, SSL_SESSION *session) { in ssl_session_rebase_time() 320 void ssl_session_renew_timeout(SSL *ssl, SSL_SESSION *session, in ssl_session_renew_timeout() 336 uint16_t ssl_session_protocol_version(const SSL_SESSION *session) { in ssl_session_protocol_version() [all …]
|
D | internal.h | 730 bool GetFinishedMAC(uint8_t *out, size_t *out_len, const SSL_SESSION *session, 1368 const SSL_SESSION *session, 1408 bool tls13_derive_session_psk(SSL_SESSION *session, Span<const uint8_t> nonce); 1418 bool tls13_verify_psk_binder(SSL_HANDSHAKE *hs, SSL_SESSION *session, 1720 UniquePtr<SSL_SESSION> new_session; 1724 UniquePtr<SSL_SESSION> early_session; 1897 bssl::UniquePtr<SSL_SESSION> tls13_create_session_with_ticket(SSL *ssl, 1983 const SSL_SESSION *ssl_handshake_session(const SSL_HANDSHAKE *hs); 2247 bool (*session_cache_objects)(SSL_SESSION *session); 2250 bool (*session_dup)(SSL_SESSION *new_session, const SSL_SESSION *session); [all …]
|
D | tls_method.cc | 176 static bool ssl_noop_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_noop_x509_session_cache_objects() 179 static bool ssl_noop_x509_session_dup(SSL_SESSION *new_session, in ssl_noop_x509_session_dup() 180 const SSL_SESSION *session) { in ssl_noop_x509_session_dup() 183 static void ssl_noop_x509_session_clear(SSL_SESSION *session) {} in ssl_noop_x509_session_clear() 184 static bool ssl_noop_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_noop_x509_session_verify_cert_chain()
|
D | ssl_x509.cc | 283 static bool ssl_crypto_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_crypto_x509_session_cache_objects() 333 static bool ssl_crypto_x509_session_dup(SSL_SESSION *new_session, in ssl_crypto_x509_session_dup() 334 const SSL_SESSION *session) { in ssl_crypto_x509_session_dup() 353 static void ssl_crypto_x509_session_clear(SSL_SESSION *session) { in ssl_crypto_x509_session_clear() 362 static bool ssl_crypto_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_crypto_x509_session_verify_cert_chain() 529 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_peer_certificate() 542 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF() 554 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF() 710 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_verify_result() 992 SSL_SESSION *d2i_SSL_SESSION_bio(BIO *bio, SSL_SESSION **out) { in d2i_SSL_SESSION_bio() [all …]
|
D | ssl_asn1.cc | 206 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, CBB *cbb, in SSL_SESSION_to_bytes_full() 555 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, in SSL_SESSION_parse() 558 UniquePtr<SSL_SESSION> ret = ssl_session_new(x509_method); in SSL_SESSION_parse() 811 int ssl_session_serialize(const SSL_SESSION *in, CBB *cbb) { in ssl_session_serialize() 819 int SSL_SESSION_to_bytes(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes() 847 int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes_for_ticket() 859 int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp) { in i2d_SSL_SESSION() 882 SSL_SESSION *SSL_SESSION_from_bytes(const uint8_t *in, size_t in_len, in SSL_SESSION_from_bytes() 886 UniquePtr<SSL_SESSION> ret = in SSL_SESSION_from_bytes()
|
/external/webrtc/rtc_base/ |
D | openssl_session_cache.h | 23 typedef struct ssl_session_st SSL_SESSION; typedef 40 SSL_SESSION* LookupSession(const std::string& hostname) const; 43 void AddSession(const std::string& hostname, SSL_SESSION* session); 61 std::map<std::string, SSL_SESSION*> sessions_;
|
D | openssl_session_cache.cc | 32 SSL_SESSION* OpenSSLSessionCache::LookupSession( in LookupSession() 39 SSL_SESSION* new_session) { in AddSession() 40 SSL_SESSION* old_session = LookupSession(hostname); in AddSession()
|
D | openssl_session_cache_unittest.cc | 64 SSL_SESSION* ssl_session = SSL_SESSION_new(ssl_ctx); in TEST() 75 SSL_SESSION* ssl_session_1 = SSL_SESSION_new(ssl_ctx); in TEST() 76 SSL_SESSION* ssl_session_2 = SSL_SESSION_new(ssl_ctx); in TEST()
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | ssl.h | 1624 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION) 1629 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx); 1633 OPENSSL_EXPORT int SSL_SESSION_up_ref(SSL_SESSION *session); 1637 OPENSSL_EXPORT void SSL_SESSION_free(SSL_SESSION *session); 1643 OPENSSL_EXPORT int SSL_SESSION_to_bytes(const SSL_SESSION *in, 1648 OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, 1654 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes( 1659 OPENSSL_EXPORT const char *SSL_SESSION_get_version(const SSL_SESSION *session); 1664 SSL_SESSION_get_protocol_version(const SSL_SESSION *session); 1669 OPENSSL_EXPORT int SSL_SESSION_set_protocol_version(SSL_SESSION *session, [all …]
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 1636 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION) 1641 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx); 1645 OPENSSL_EXPORT int SSL_SESSION_up_ref(SSL_SESSION *session); 1649 OPENSSL_EXPORT void SSL_SESSION_free(SSL_SESSION *session); 1655 OPENSSL_EXPORT int SSL_SESSION_to_bytes(const SSL_SESSION *in, 1660 OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, 1666 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes( 1671 OPENSSL_EXPORT const char *SSL_SESSION_get_version(const SSL_SESSION *session); 1676 SSL_SESSION_get_protocol_version(const SSL_SESSION *session); 1681 OPENSSL_EXPORT int SSL_SESSION_set_protocol_version(SSL_SESSION *session, [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | test_state.cc | 67 static void ssl_ctx_add_session(SSL_SESSION *session, void *void_param) { in ssl_ctx_add_session() 69 UniquePtr<SSL_SESSION> new_session = SSL_SESSION_dup( in ssl_ctx_add_session() 80 static void push_session(SSL_SESSION *session, void *arg) { in push_session() 81 auto s = reinterpret_cast<std::vector<SSL_SESSION *> *>(arg); in push_session() 96 std::vector<SSL_SESSION *> sessions; in SerializeContextState() 120 UniquePtr<SSL_SESSION> session = in DeserializeContextState()
|
D | test_state.h | 45 bssl::UniquePtr<SSL_SESSION> session; 46 bssl::UniquePtr<SSL_SESSION> pending_session; 56 bssl::UniquePtr<SSL_SESSION> new_session;
|
/external/boringssl/src/ssl/test/ |
D | test_state.cc | 67 static void ssl_ctx_add_session(SSL_SESSION *session, void *void_param) { in ssl_ctx_add_session() 69 UniquePtr<SSL_SESSION> new_session = SSL_SESSION_dup( in ssl_ctx_add_session() 80 static void push_session(SSL_SESSION *session, void *arg) { in push_session() 81 auto s = reinterpret_cast<std::vector<SSL_SESSION *> *>(arg); in push_session() 96 std::vector<SSL_SESSION *> sessions; in SerializeContextState() 120 UniquePtr<SSL_SESSION> session = in DeserializeContextState()
|
D | test_state.h | 45 bssl::UniquePtr<SSL_SESSION> session; 46 bssl::UniquePtr<SSL_SESSION> pending_session; 56 bssl::UniquePtr<SSL_SESSION> new_session;
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_session_cache_test.cc | 67 tsi::SslSessionPtr NewSessionInternal(SSL_SESSION* (*cb)()) { in NewSessionInternal() 71 tsi::SslSessionPtr NewSessionInternal(SSL_SESSION* (*cb)(const SSL_CTX*)) { in NewSessionInternal() 104 SSL_SESSION* sess2_ptr = sess2.get(); in TEST() 111 SSL_SESSION* sess3_ptr = sess3.get(); in TEST()
|
/external/grpc-grpc/src/core/tsi/ssl/session_cache/ |
D | ssl_session.h | 45 void operator()(SSL_SESSION* session) { SSL_SESSION_free(session); } in operator() 48 typedef std::unique_ptr<SSL_SESSION, SslSessionDeleter> SslSessionPtr;
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ssl/session_cache/ |
D | ssl_session.h | 46 void operator()(SSL_SESSION* session) { SSL_SESSION_free(session); } in operator() 49 typedef std::unique_ptr<SSL_SESSION, SslSessionDeleter> SslSessionPtr;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeSslSession.java | 53 static NativeSslSession newInstance(NativeRef.SSL_SESSION ref, ConscryptSession session) in newInstance() 153 NativeRef.SSL_SESSION ref = in newInstance() 154 new NativeRef.SSL_SESSION(NativeCrypto.d2i_SSL_SESSION(sessionData)); in newInstance() 218 private final NativeRef.SSL_SESSION ref; 230 private Impl(AbstractSessionContext context, NativeRef.SSL_SESSION ref, String host, in Impl()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | NativeSslSession.java | 54 static NativeSslSession newInstance(NativeRef.SSL_SESSION ref, ConscryptSession session) in newInstance() 154 NativeRef.SSL_SESSION ref = in newInstance() 155 new NativeRef.SSL_SESSION(NativeCrypto.d2i_SSL_SESSION(sessionData)); in newInstance() 219 private final NativeRef.SSL_SESSION ref; 231 private Impl(AbstractSessionContext context, NativeRef.SSL_SESSION ref, String host, in Impl()
|
D | NativeRef.java | 151 static final class SSL_SESSION extends NativeRef { class in NativeRef 152 SSL_SESSION(long nativePointer) { in SSL_SESSION() method in NativeRef.SSL_SESSION
|