/external/grpc-grpc/src/core/tsi/ssl/session_cache/ |
ssl_session.h | 37 // SSL_SESSION stands for single instance of session and is not generally safe 39 // not all SSL implementations guarantee immutability of SSL_SESSION object. 40 // See SSL_SESSION documentation in BoringSSL and OpenSSL for more details. 45 void operator()(SSL_SESSION* session) { SSL_SESSION_free(session); } 48 typedef std::unique_ptr<SSL_SESSION, SslSessionDeleter> SslSessionPtr;
|
ssl_session_openssl.cc | 21 #include "src/core/tsi/ssl/session_cache/ssl_session.h" 27 // OpenSSL invalidates SSL_SESSION on SSL destruction making it pointless 55 SSL_SESSION* session = d2i_SSL_SESSION(nullptr, &data, length);
|
/external/boringssl/src/ssl/ |
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) { 169 return MakeUnique<SSL_SESSION>(x509_method); 192 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { 193 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); 283 void ssl_session_rebase_time(SSL *ssl, SSL_SESSION *session) { 312 void ssl_session_renew_timeout(SSL *ssl, SSL_SESSION *session [all...] |
tls_method.cc | 138 static int ssl_noop_x509_session_cache_objects(SSL_SESSION *sess) { 141 static int ssl_noop_x509_session_dup(SSL_SESSION *new_session, 142 const SSL_SESSION *session) { 145 static void ssl_noop_x509_session_clear(SSL_SESSION *session) {} 146 static int ssl_noop_x509_session_verify_cert_chain(SSL_SESSION *session,
|
internal.h | 623 bool GetFinishedMAC(uint8_t *out, size_t *out_len, const SSL_SESSION *session, [all...] |
ssl_asn1.cc | 102 // An SSL_SESSION is serialized as the following ASN.1 structure: 193 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, CBB *cbb, 513 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, 516 UniquePtr<SSL_SESSION> ret = ssl_session_new(x509_method); 743 int ssl_session_serialize(const SSL_SESSION *in, CBB *cbb) { 751 int SSL_SESSION_to_bytes(const SSL_SESSION *in, uint8_t **out_data, 779 int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, uint8_t **out_data, 791 int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp) { 814 SSL_SESSION *SSL_SESSION_from_bytes(const uint8_t *in, size_t in_len, 818 UniquePtr<SSL_SESSION> ret [all...] |
ssl_x509.cc | 283 static int ssl_crypto_x509_session_cache_objects(SSL_SESSION *sess) { 333 static int ssl_crypto_x509_session_dup(SSL_SESSION *new_session, 334 const SSL_SESSION *session) { 353 static void ssl_crypto_x509_session_clear(SSL_SESSION *session) { 362 static int ssl_crypto_x509_session_verify_cert_chain(SSL_SESSION *session, 533 SSL_SESSION *session = SSL_get_session(ssl); 546 SSL_SESSION *session = SSL_get_session(ssl); 558 SSL_SESSION *session = SSL_get_session(ssl); 714 SSL_SESSION *session = SSL_get_session(ssl); 996 SSL_SESSION *d2i_SSL_SESSION_bio(BIO *bio, SSL_SESSION **out) [all...] |
ssl_versions.cc | 369 const char *SSL_SESSION_get_version(const SSL_SESSION *session) { 373 uint16_t SSL_SESSION_get_protocol_version(const SSL_SESSION *session) { 377 int SSL_SESSION_set_protocol_version(SSL_SESSION *session, uint16_t version) {
|
ssl_test.cc | 542 // kOpenSSLSession is a serialized SSL_SESSION. 576 // kCustomSession is a custom serialized SSL_SESSION generated by 589 // kBoringSSLSession is a serialized SSL_SESSION generated from bssl client. 687 // kBadSessionExtraField is a custom serialized SSL_SESSION generated by replacing 699 // kBadSessionVersion is a custom serialized SSL_SESSION generated by replacing 711 // kBadSessionTrailingData is a custom serialized SSL_SESSION with trailing data 750 // Verify the SSL_SESSION decodes. 755 bssl::UniquePtr<SSL_SESSION> session( 762 // Verify the SSL_SESSION encoding round-trips. 779 // Verify the SSL_SESSION also decodes with the legacy API [all...] |
ssl_transcript.cc | 239 const SSL_SESSION *session,
|
t1_enc.cc | 296 const SSL_SESSION *session = SSL_get_session(ssl); 355 const SSL_SESSION *session = SSL_get_session(ssl);
|
/external/boringssl/src/ssl/test/ |
settings_writer.h | 32 bool Init(int i, const TestConfig *config, SSL_SESSION *session);
|
test_state.h | 42 bssl::UniquePtr<SSL_SESSION> session; 43 bssl::UniquePtr<SSL_SESSION> pending_session; 53 bssl::UniquePtr<SSL_SESSION> new_session;
|
test_state.cc | 67 static void ssl_ctx_add_session(SSL_SESSION *session, void *void_param) { 69 UniquePtr<SSL_SESSION> new_session = SSL_SESSION_dup( 80 static void push_session(SSL_SESSION *session, void *arg) { 81 auto s = reinterpret_cast<std::vector<SSL_SESSION *> *>(arg); 96 std::vector<SSL_SESSION *> sessions; 120 UniquePtr<SSL_SESSION> session =
|
settings_writer.cc | 28 SSL_SESSION *session) {
|
test_config.h | 183 bssl::UniquePtr<SSL> NewSSL(SSL_CTX *ssl_ctx, SSL_SESSION *session,
|
bssl_shim.cc | 628 static bool DoExchange(bssl::UniquePtr<SSL_SESSION> *out_session, 637 static bool DoConnection(bssl::UniquePtr<SSL_SESSION> *out_session, 640 SSL_SESSION *session, SettingsWriter *writer) { 743 static bool DoExchange(bssl::UniquePtr<SSL_SESSION> *out_session, [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
NativeRef.java | 138 static final class SSL_SESSION extends NativeRef { 139 SSL_SESSION(long nativePointer) {
|
NativeSslSession.java | 41 * A utility wrapper that abstracts operations on the underlying native SSL_SESSION instance. 50 * session information via the SSL_SESSION, we get some values (e.g. peer certs) from 53 static NativeSslSession newInstance(NativeRef.SSL_SESSION ref, ConscryptSession session) 153 NativeRef.SSL_SESSION ref = 154 new NativeRef.SSL_SESSION(NativeCrypto.d2i_SSL_SESSION(sessionData)); 218 private final NativeRef.SSL_SESSION ref; 220 // BoringSSL offers no API to obtain these values directly from the SSL_SESSION. 230 private Impl(AbstractSessionContext context, NativeRef.SSL_SESSION ref, String host,
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
NativeRef.java | 139 static final class SSL_SESSION extends NativeRef { 140 SSL_SESSION(long nativePointer) {
|
NativeSslSession.java | 42 * A utility wrapper that abstracts operations on the underlying native SSL_SESSION instance. 51 * session information via the SSL_SESSION, we get some values (e.g. peer certs) from 54 static NativeSslSession newInstance(NativeRef.SSL_SESSION ref, ConscryptSession session) 154 NativeRef.SSL_SESSION ref = 155 new NativeRef.SSL_SESSION(NativeCrypto.d2i_SSL_SESSION(sessionData)); 219 private final NativeRef.SSL_SESSION ref; 221 // BoringSSL offers no API to obtain these values directly from the SSL_SESSION. 231 private Impl(AbstractSessionContext context, NativeRef.SSL_SESSION ref, String host,
|
/external/grpc-grpc/test/core/tsi/ |
ssl_session_cache_test.cc | 67 tsi::SslSessionPtr NewSessionInternal(SSL_SESSION* (*cb)()) { 71 tsi::SslSessionPtr NewSessionInternal(SSL_SESSION* (*cb)(const SSL_CTX*)) { 104 SSL_SESSION* sess2_ptr = sess2.get(); 111 SSL_SESSION* sess3_ptr = sess3.get();
|
/external/boringssl/src/include/openssl/ |
ssl.h | [all...] |
/external/boringssl/src/tool/ |
client.cc | 173 static bssl::UniquePtr<SSL_SESSION> resume_session; 175 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { 184 resume_session = bssl::UniquePtr<SSL_SESSION>(session); 268 bssl::UniquePtr<SSL_SESSION> session(PEM_read_bio_SSL_SESSION(in.get(),
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/TlsLib/ |
TlsConfig.c | 373 SSL_SESSION *Session; 803 SSL_SESSION *Session; 904 SSL_SESSION *Session;
|