/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() 283 void ssl_session_rebase_time(SSL *ssl, SSL_SESSION *session) { in ssl_session_rebase_time() 312 void ssl_session_renew_timeout(SSL *ssl, SSL_SESSION *session, in ssl_session_renew_timeout() 328 uint16_t ssl_session_protocol_version(const SSL_SESSION *session) { in ssl_session_protocol_version() [all …]
|
D | internal.h | 623 bool GetFinishedMAC(uint8_t *out, size_t *out_len, const SSL_SESSION *session, 1298 bool tls13_derive_session_psk(SSL_SESSION *session, Span<const uint8_t> nonce); 1308 bool tls13_verify_psk_binder(SSL_HANDSHAKE *hs, SSL_SESSION *session, 1547 UniquePtr<SSL_SESSION> new_session; 1551 UniquePtr<SSL_SESSION> early_session; 2050 int (*session_cache_objects)(SSL_SESSION *session); 2053 int (*session_dup)(SSL_SESSION *new_session, const SSL_SESSION *session); 2055 void (*session_clear)(SSL_SESSION *session); 2059 int (*session_verify_cert_chain)(SSL_SESSION *session, SSL_HANDSHAKE *ssl, 2115 DEFINE_LHASH_OF(SSL_SESSION) [all …]
|
D | tls_method.cc | 138 static int ssl_noop_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_noop_x509_session_cache_objects() 141 static int ssl_noop_x509_session_dup(SSL_SESSION *new_session, in ssl_noop_x509_session_dup() 142 const SSL_SESSION *session) { in ssl_noop_x509_session_dup() 145 static void ssl_noop_x509_session_clear(SSL_SESSION *session) {} in ssl_noop_x509_session_clear() 146 static int ssl_noop_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_noop_x509_session_verify_cert_chain()
|
D | ssl_x509.cc | 283 static int ssl_crypto_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_crypto_x509_session_cache_objects() 333 static int 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 int ssl_crypto_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_crypto_x509_session_verify_cert_chain() 533 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_peer_certificate() 546 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF() 558 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF() 714 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_verify_result() 996 SSL_SESSION *d2i_SSL_SESSION_bio(BIO *bio, SSL_SESSION **out) { in d2i_SSL_SESSION_bio() [all …]
|
D | ssl_asn1.cc | 193 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, CBB *cbb, in SSL_SESSION_to_bytes_full() 513 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, in SSL_SESSION_parse() 516 UniquePtr<SSL_SESSION> ret = ssl_session_new(x509_method); in SSL_SESSION_parse() 743 int ssl_session_serialize(const SSL_SESSION *in, CBB *cbb) { in ssl_session_serialize() 751 int SSL_SESSION_to_bytes(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes() 779 int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes_for_ticket() 791 int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp) { in i2d_SSL_SESSION() 814 SSL_SESSION *SSL_SESSION_from_bytes(const uint8_t *in, size_t in_len, in SSL_SESSION_from_bytes() 818 UniquePtr<SSL_SESSION> ret = in SSL_SESSION_from_bytes()
|
D | ssl_test.cc | 755 bssl::UniquePtr<SSL_SESSION> session( in TestSSL_SESSIONEncoding() 829 bssl::UniquePtr<SSL_SESSION> session( in TestBadSSL_SESSIONEncoding() 1008 static bssl::UniquePtr<SSL_SESSION> CreateSessionWithTicket(uint16_t version, in CreateSessionWithTicket() 1021 bssl::UniquePtr<SSL_SESSION> session( in CreateSessionWithTicket() 1067 bssl::UniquePtr<SSL_SESSION> session = in GetClientHelloLen() 1397 static void AppendSession(SSL_SESSION *session, void *arg) { in AppendSession() 1398 std::vector<SSL_SESSION*> *out = in AppendSession() 1399 reinterpret_cast<std::vector<SSL_SESSION*>*>(arg); in AppendSession() 1406 const std::vector<SSL_SESSION*> &expected) { in CacheEquals() 1408 SSL_SESSION *ptr = ctx->session_cache_head; in CacheEquals() [all …]
|
D | ssl_versions.cc | 369 const char *SSL_SESSION_get_version(const SSL_SESSION *session) { in SSL_SESSION_get_version() 373 uint16_t SSL_SESSION_get_protocol_version(const SSL_SESSION *session) { in SSL_SESSION_get_protocol_version() 377 int SSL_SESSION_set_protocol_version(SSL_SESSION *session, uint16_t version) { in SSL_SESSION_set_protocol_version()
|
D | t1_enc.cc | 296 const SSL_SESSION *session = SSL_get_session(ssl); in SSL_generate_key_block() 355 const SSL_SESSION *session = SSL_get_session(ssl); in SSL_export_keying_material()
|
D | tls13_enc.cc | 138 const SSL_SESSION *session = SSL_get_session(ssl); in tls13_set_traffic_key() 417 bool tls13_derive_session_psk(SSL_SESSION *session, Span<const uint8_t> nonce) { in tls13_derive_session_psk() 524 bool tls13_verify_psk_binder(SSL_HANDSHAKE *hs, SSL_SESSION *session, in tls13_verify_psk_binder()
|
D | ssl_lib.cc | 298 UniquePtr<SSL_SESSION> ref = UpRef(ssl->s3->established_session); in ssl_update_cache() 544 static uint32_t ssl_session_hash(const SSL_SESSION *sess) { in ssl_session_hash() 549 static int ssl_session_cmp(const SSL_SESSION *a, const SSL_SESSION *b) { in ssl_session_cmp() 1891 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_curve_id() 2035 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get0_signed_cert_timestamp_list() 2048 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get0_ocsp_response() 2346 const SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_current_cipher() 2575 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_psk_identity() 2751 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_peer_signature_algorithm() 2847 UniquePtr<SSL_SESSION> session; in SSL_clear()
|
D | tls13_server.cc | 194 UniquePtr<SSL_SESSION> session( in add_new_session_tickets() 309 SSL_HANDSHAKE *hs, uint8_t *out_alert, UniquePtr<SSL_SESSION> *out_session, in select_session() 343 UniquePtr<SSL_SESSION> session; in select_session() 408 UniquePtr<SSL_SESSION> session; in do_select_session()
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 1579 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION) 1584 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx); 1588 OPENSSL_EXPORT int SSL_SESSION_up_ref(SSL_SESSION *session); 1592 OPENSSL_EXPORT void SSL_SESSION_free(SSL_SESSION *session); 1598 OPENSSL_EXPORT int SSL_SESSION_to_bytes(const SSL_SESSION *in, 1603 OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, 1609 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes( 1614 OPENSSL_EXPORT const char *SSL_SESSION_get_version(const SSL_SESSION *session); 1619 SSL_SESSION_get_protocol_version(const SSL_SESSION *session); 1624 OPENSSL_EXPORT int SSL_SESSION_set_protocol_version(SSL_SESSION *session, [all …]
|
/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 | 42 bssl::UniquePtr<SSL_SESSION> session; 43 bssl::UniquePtr<SSL_SESSION> pending_session; 53 bssl::UniquePtr<SSL_SESSION> new_session;
|
D | bssl_shim.cc | 628 static bool DoExchange(bssl::UniquePtr<SSL_SESSION> *out_session, 637 static bool DoConnection(bssl::UniquePtr<SSL_SESSION> *out_session, in DoConnection() 640 SSL_SESSION *session, SettingsWriter *writer) { in DoConnection() 743 static bool DoExchange(bssl::UniquePtr<SSL_SESSION> *out_session, in DoExchange() 1129 bssl::UniquePtr<SSL_SESSION> session; in main() 1144 bssl::UniquePtr<SSL_SESSION> offer_session = std::move(session); in main()
|
D | settings_writer.h | 32 bool Init(int i, const TestConfig *config, SSL_SESSION *session);
|
D | settings_writer.cc | 28 SSL_SESSION *session) { in Init()
|
/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;
|
D | ssl_session_openssl.cc | 55 SSL_SESSION* session = d2i_SSL_SESSION(nullptr, &data, length); in CopySession()
|
/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 | 139 static final class SSL_SESSION extends NativeRef { class in NativeRef 140 SSL_SESSION(long nativePointer) { in SSL_SESSION() method in NativeRef.SSL_SESSION
|
/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()
|
D | NativeRef.java | 138 static final class SSL_SESSION extends NativeRef { class in NativeRef 139 SSL_SESSION(long nativePointer) { in SSL_SESSION() method in NativeRef.SSL_SESSION
|
/external/boringssl/src/tool/ |
D | client.cc | 173 static bssl::UniquePtr<SSL_SESSION> resume_session; 175 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback() 184 resume_session = bssl::UniquePtr<SSL_SESSION>(session); in NewSessionCallback() 268 bssl::UniquePtr<SSL_SESSION> session(PEM_read_bio_SSL_SESSION(in.get(), in DoConnection()
|