Lines Matching refs:tctx
3936 SSL_CTX *tctx = s->session_ctx; in construct_stateless_ticket() local
3966 hctx = ssl_hmac_new(tctx); in construct_stateless_ticket()
4009 if (tctx->ext.ticket_key_evp_cb != NULL || tctx->ext.ticket_key_cb != NULL) in construct_stateless_ticket()
4011 if (tctx->ext.ticket_key_evp_cb != NULL) in construct_stateless_ticket()
4016 if (tctx->ext.ticket_key_evp_cb != NULL) in construct_stateless_ticket()
4017 ret = tctx->ext.ticket_key_evp_cb(ssl, key_name, iv, ctx, in construct_stateless_ticket()
4021 else if (tctx->ext.ticket_key_cb != NULL) in construct_stateless_ticket()
4023 ret = tctx->ext.ticket_key_cb(ssl, key_name, iv, ctx, in construct_stateless_ticket()
4071 tctx->ext.secure->tick_aes_key, iv) in construct_stateless_ticket()
4072 || !ssl_hmac_init(hctx, tctx->ext.secure->tick_hmac_key, in construct_stateless_ticket()
4073 sizeof(tctx->ext.secure->tick_hmac_key), in construct_stateless_ticket()
4080 memcpy(key_name, tctx->ext.tick_key_name, in construct_stateless_ticket()
4081 sizeof(tctx->ext.tick_key_name)); in construct_stateless_ticket()
4166 SSL_CTX *tctx = s->session_ctx; in tls_construct_new_session_ticket() local
4252 if (tctx->generate_ticket_cb != NULL && in tls_construct_new_session_ticket()
4253 tctx->generate_ticket_cb(SSL_CONNECTION_GET_USER_SSL(s), in tls_construct_new_session_ticket()
4254 tctx->ticket_cb_data) == 0) { in tls_construct_new_session_ticket()