Searched refs:sid_ctx (Results 1 - 8 of 8) sorted by relevance

/external/boringssl/src/ssl/
H A Dssl_session.c253 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 Dssl_lib.c378 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 Dssl_asn1.c238 * 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 Ds3_clnt.c813 memcmp(ssl->session->sid_ctx, ssl->sid_ctx, ssl->sid_ctx_length)) {
/external/boringssl/include/openssl/
H A Dssl.h1487 * |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 Dssl.h1487 * |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 DNativeCrypto.java844 public static native void SSL_CTX_set_session_id_context(long ssl_ctx, byte[] sid_ctx); argument
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp8135 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

Completed in 159 milliseconds