/external/boringssl/src/ssl/ |
H A D | ssl_session.c | 253 int SSL_SESSION_set1_id_context(SSL_SESSION *session, const uint8_t *sid_ctx, argument 261 memcpy(session->sid_ctx, sid_ctx, sid_ctx_len); 342 if (ssl->sid_ctx_length > sizeof(session->sid_ctx)) { 346 memcpy(session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length); 460 memcmp(session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length) != 0) {
|
H A D | ssl_lib.c | 378 assert(ssl->sid_ctx_length <= sizeof ssl->sid_ctx); 379 memcpy(&ssl->sid_ctx, &ctx->sid_ctx, sizeof(ssl->sid_ctx)); 915 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const uint8_t *sid_ctx, argument 917 if (sid_ctx_len > sizeof(ctx->sid_ctx)) { 922 memcpy(ctx->sid_ctx, sid_ctx, sid_ctx_len); 927 int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, argument 934 memcpy(ssl->sid_ctx, sid_ct [all...] |
H A D | ssl_asn1.c | 238 * historically always encoded the sid_ctx. */ 241 !CBB_add_bytes(&child2, in->sid_ctx, in->sid_ctx_length)) { 584 &session, ret->sid_ctx, &ret->sid_ctx_length, sizeof(ret->sid_ctx),
|
H A D | s3_clnt.c | 813 memcmp(ssl->session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length)) {
|
/external/boringssl/include/openssl/ |
H A D | ssl.h | 1487 * |SSL_CTX_set_session_id_context|) to |sid_ctx|. It returns one on success and 1491 const uint8_t *sid_ctx, 1585 /* SSL_CTX_set_session_id_context sets |ctx|'s session ID context to |sid_ctx|. 1597 const uint8_t *sid_ctx, 1600 /* SSL_set_session_id_context sets |ssl|'s session ID context to |sid_ctx|. It 1603 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, 3366 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member in struct:ssl_session_st 3583 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member in struct:ssl_ctx_st 3795 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member in struct:ssl_st
|
/external/boringssl/src/include/openssl/ |
H A D | ssl.h | 1487 * |SSL_CTX_set_session_id_context|) to |sid_ctx|. It returns one on success and 1491 const uint8_t *sid_ctx, 1585 /* SSL_CTX_set_session_id_context sets |ctx|'s session ID context to |sid_ctx|. 1597 const uint8_t *sid_ctx, 1600 /* SSL_set_session_id_context sets |ssl|'s session ID context to |sid_ctx|. It 1603 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, 3366 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member in struct:ssl_session_st 3583 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member in struct:ssl_ctx_st 3795 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member in struct:ssl_st
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | NativeCrypto.java | 844 public static native void SSL_CTX_set_session_id_context(long ssl_ctx, byte[] sid_ctx); argument
|
/external/conscrypt/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 8135 jlong ssl_ctx_address, jbyteArray sid_ctx) 8138 JNI_TRACE("ssl_ctx=%p NativeCrypto_SSL_CTX_set_session_id_context sid_ctx=%p", ssl_ctx, sid_ctx); 8143 ScopedByteArrayRO buf(env, sid_ctx); 8134 NativeCrypto_SSL_CTX_set_session_id_context(JNIEnv* env, jclass, jlong ssl_ctx_address, jbyteArray sid_ctx) argument
|