Home
last modified time | relevance | path

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

/external/chromium_org/third_party/boringssl/src/ssl/
Dssl_sess.c396 if (s->sid_ctx_length > sizeof ss->sid_ctx) in ssl_get_new_session()
402 memcpy(ss->sid_ctx,s->sid_ctx,s->sid_ctx_length); in ssl_get_new_session()
521 || memcmp(ret->sid_ctx,s->sid_ctx,ret->sid_ctx_length)) in ssl_get_prev_session()
810 int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx, in SSL_SESSION_set1_id_context() argument
819 memcpy(s->sid_ctx,sid_ctx,sid_ctx_len); in SSL_SESSION_set1_id_context()
Dssl_lib.c325 assert(s->sid_ctx_length <= sizeof s->sid_ctx); in SSL_new()
326 memcpy(&s->sid_ctx,&ctx->sid_ctx,sizeof(s->sid_ctx)); in SSL_new()
424 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context() argument
427 if(sid_ctx_len > sizeof ctx->sid_ctx) in SSL_CTX_set_session_id_context()
433 memcpy(ctx->sid_ctx,sid_ctx,sid_ctx_len); in SSL_CTX_set_session_id_context()
438 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx, in SSL_set_session_id_context() argument
447 memcpy(ssl->sid_ctx,sid_ctx,sid_ctx_len); in SSL_set_session_id_context()
2804 assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
2805 memcpy(ssl->sid_ctx, ctx->sid_ctx, sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
Dssl_txt.c151 if (BIO_printf(bp,"%02X",x->sid_ctx[i]) <= 0) in SSL_SESSION_print()
Dssl_asn1.c188 a.session_id_context.data=in->sid_ctx; in i2d_SSL_SESSION()
501 memcpy(ret->sid_ctx,os.data,os.length); in d2i_SSL_SESSION()
Ds3_clnt.c882 || memcmp(s->session->sid_ctx, s->sid_ctx, s->sid_ctx_length)) in ssl3_get_server_hello()
/external/openssl/ssl/
Dssl_sess.c448 if (s->sid_ctx_length > sizeof ss->sid_ctx) in ssl_get_new_session()
454 memcpy(ss->sid_ctx,s->sid_ctx,s->sid_ctx_length); in ssl_get_new_session()
574 || memcmp(ret->sid_ctx,s->sid_ctx,ret->sid_ctx_length)) in ssl_get_prev_session()
896 int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx, in SSL_SESSION_set1_id_context() argument
905 memcpy(s->sid_ctx,sid_ctx,sid_ctx_len); in SSL_SESSION_set1_id_context()
Dssl_lib.c329 OPENSSL_assert(s->sid_ctx_length <= sizeof s->sid_ctx); in SSL_new()
330 memcpy(&s->sid_ctx,&ctx->sid_ctx,sizeof(s->sid_ctx)); in SSL_new()
416 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context() argument
419 if(sid_ctx_len > sizeof ctx->sid_ctx) in SSL_CTX_set_session_id_context()
425 memcpy(ctx->sid_ctx,sid_ctx,sid_ctx_len); in SSL_CTX_set_session_id_context()
430 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx, in SSL_set_session_id_context() argument
439 memcpy(ssl->sid_ctx,sid_ctx,sid_ctx_len); in SSL_set_session_id_context()
914 SSL_set_session_id_context(t,f->sid_ctx,f->sid_ctx_length); in SSL_copy_session_id()
2887 s->sid_ctx, s->sid_ctx_length); in SSL_dup()
Dssl_txt.c158 if (BIO_printf(bp,"%02X",x->sid_ctx[i]) <= 0) in SSL_SESSION_print()
Dssl.h487 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
930 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1320 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1899 int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx,
1955 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
1959 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx,
Dssl_asn1.c203 a.session_id_context.data=in->sid_ctx; in i2d_SSL_SESSION()
545 memcpy(ret->sid_ctx,os.data,os.length); in d2i_SSL_SESSION()
Ds3_clnt.c988 || memcmp(s->session->sid_ctx,s->sid_ctx,s->sid_ctx_length)) in ssl3_get_server_hello()
/external/openssl/patches/
D0003-jsse.patch259 OPENSSL_assert(s->sid_ctx_length <= sizeof s->sid_ctx);
260 memcpy(&s->sid_ctx,&ctx->sid_ctx,sizeof(s->sid_ctx));
/external/openssl/include/openssl/
Dssl.h487 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
930 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1320 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1899 int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx,
1955 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
1959 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx,
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dssl.h407 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
909 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1328 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; member
1986 OPENSSL_EXPORT int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx, unsigne…
2034 OPENSSL_EXPORT int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, unsign…
2037 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx, unsigned int s…
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java884 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.cpp7253 jlong ssl_ctx_address, jbyteArray sid_ctx) in NativeCrypto_SSL_CTX_set_session_id_context() argument
7256 … JNI_TRACE("ssl_ctx=%p NativeCrypto_SSL_CTX_set_session_id_context sid_ctx=%p", ssl_ctx, sid_ctx); in NativeCrypto_SSL_CTX_set_session_id_context()
7261 ScopedByteArrayRO buf(env, sid_ctx); in NativeCrypto_SSL_CTX_set_session_id_context()