Home
last modified time | relevance | path

Searched refs:sid_ctx (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/ssl/
Dssl_session.c253 int SSL_SESSION_set1_id_context(SSL_SESSION *session, const uint8_t *sid_ctx, in SSL_SESSION_set1_id_context() argument
261 memcpy(session->sid_ctx, sid_ctx, sid_ctx_len); in SSL_SESSION_set1_id_context()
342 if (ssl->sid_ctx_length > sizeof(session->sid_ctx)) { in ssl_get_new_session()
346 memcpy(session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length); in ssl_get_new_session()
460 memcmp(session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length) != 0) { in ssl_get_prev_session()
Dssl_lib.c378 assert(ssl->sid_ctx_length <= sizeof ssl->sid_ctx); in SSL_new()
379 memcpy(&ssl->sid_ctx, &ctx->sid_ctx, sizeof(ssl->sid_ctx)); in SSL_new()
915 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const uint8_t *sid_ctx, in SSL_CTX_set_session_id_context() argument
917 if (sid_ctx_len > sizeof(ctx->sid_ctx)) { in SSL_CTX_set_session_id_context()
922 memcpy(ctx->sid_ctx, sid_ctx, sid_ctx_len); in SSL_CTX_set_session_id_context()
927 int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, in SSL_set_session_id_context() argument
934 memcpy(ssl->sid_ctx, sid_ctx, sid_ctx_len); in SSL_set_session_id_context()
1969 assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
1970 memcpy(ssl->sid_ctx, ctx->sid_ctx, sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
Dssl_asn1.c241 !CBB_add_bytes(&child2, in->sid_ctx, in->sid_ctx_length)) { in SSL_SESSION_to_bytes_full()
584 &session, ret->sid_ctx, &ret->sid_ctx_length, sizeof(ret->sid_ctx), in SSL_SESSION_parse()
Ds3_clnt.c813 memcmp(ssl->session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length)) { in ssl3_get_server_hello()
/external/boringssl/src/include/openssl/
Dssl.h1491 const uint8_t *sid_ctx,
1597 const uint8_t *sid_ctx,
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
3583 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
3795 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java844 public static native void SSL_CTX_set_session_id_context(long ssl_ctx, byte[] sid_ctx); in SSL_CTX_set_session_id_context() argument
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp8143 jlong ssl_ctx_address, jbyteArray sid_ctx) argument
8146 … JNI_TRACE("ssl_ctx=%p NativeCrypto_SSL_CTX_set_session_id_context sid_ctx=%p", ssl_ctx, sid_ctx);
8151 ScopedByteArrayRO buf(env, sid_ctx);