Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_session.cc201 OPENSSL_memcpy(new_session->sid_ctx, session->sid_ctx, session->sid_ctx_length); in SSL_SESSION_dup()
393 if (hs->config->cert->sid_ctx_length > sizeof(session->sid_ctx)) { in ssl_get_new_session()
397 OPENSSL_memcpy(session->sid_ctx, hs->config->cert->sid_ctx, in ssl_get_new_session()
597 OPENSSL_memcmp(session->sid_ctx, hs->config->cert->sid_ctx, in ssl_session_is_context_valid()
982 return session->sid_ctx; in SSL_SESSION_get0_id_context()
985 int SSL_SESSION_set1_id_context(SSL_SESSION *session, const uint8_t *sid_ctx, in SSL_SESSION_set1_id_context() argument
987 if (sid_ctx_len > sizeof(session->sid_ctx)) { in SSL_SESSION_set1_id_context()
992 static_assert(sizeof(session->sid_ctx) < 256, "sid_ctx_len does not fit"); in SSL_SESSION_set1_id_context()
994 OPENSSL_memcpy(session->sid_ctx, sid_ctx, sid_ctx_len); in SSL_SESSION_set1_id_context()
Dssl_asn1.cc233 !CBB_add_asn1_octet_string(&child, in->sid_ctx, in->sid_ctx_length)) { in SSL_SESSION_to_bytes_full()
589 &session, ret->sid_ctx, &ret->sid_ctx_length, sizeof(ret->sid_ctx), in SSL_SESSION_parse()
Dssl_lib.cc1495 static int set_session_id_context(CERT *cert, const uint8_t *sid_ctx, in set_session_id_context() argument
1497 if (sid_ctx_len > sizeof(cert->sid_ctx)) { in set_session_id_context()
1502 static_assert(sizeof(cert->sid_ctx) < 256, "sid_ctx too large"); in set_session_id_context()
1504 OPENSSL_memcpy(cert->sid_ctx, sid_ctx, sid_ctx_len); in set_session_id_context()
1508 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const uint8_t *sid_ctx, in SSL_CTX_set_session_id_context() argument
1510 return set_session_id_context(ctx->cert.get(), sid_ctx, sid_ctx_len); in SSL_CTX_set_session_id_context()
1513 int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, in SSL_set_session_id_context() argument
1518 return set_session_id_context(ssl->config->cert.get(), sid_ctx, sid_ctx_len); in SSL_set_session_id_context()
1528 return ssl->config->cert->sid_ctx; in SSL_get0_session_id_context()
Dssl_cert.cc181 OPENSSL_memcpy(ret->sid_ctx, cert->sid_ctx, sizeof(ret->sid_ctx)); in ssl_cert_dup()
Dinternal.h1938 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH] = {0};
3297 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH] = {0};
/external/boringssl/src/include/openssl/
Dssl.h1713 const uint8_t *sid_ctx,
1905 const uint8_t *sid_ctx,
1911 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx,
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java882 …e void SSL_CTX_set_session_id_context(long ssl_ctx, AbstractSessionContext holder, byte[] sid_ctx); in SSL_CTX_set_session_id_context() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java922 …e void SSL_CTX_set_session_id_context(long ssl_ctx, AbstractSessionContext holder, byte[] sid_ctx); in SSL_CTX_set_session_id_context() argument
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc6573 jbyteArray sid_ctx) { in NativeCrypto_SSL_CTX_set_session_id_context() argument
6577 sid_ctx); in NativeCrypto_SSL_CTX_set_session_id_context()
6582 ScopedByteArrayRO buf(env, sid_ctx); in NativeCrypto_SSL_CTX_set_session_id_context()