Lines Matching defs:pipe_ctx

633     struct dasync_pipeline_ctx *pipe_ctx =
636 if (pipe_ctx == NULL)
647 memcpy(inner_cipher_data, pipe_ctx->inner_cipher_data, sz);
648 pipe_ctx->inner_cipher_data = inner_cipher_data;
653 pipe_ctx->numpipes = arg;
654 pipe_ctx->outbufs = (unsigned char **)ptr;
658 pipe_ctx->numpipes = arg;
659 pipe_ctx->inbufs = (unsigned char **)ptr;
663 pipe_ctx->numpipes = arg;
664 pipe_ctx->lens = (size_t *)ptr;
670 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data);
673 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx);
684 if (pipe_ctx->aadctr >= SSL_MAX_PIPELINES)
687 memcpy(pipe_ctx->tlsaad[pipe_ctx->aadctr], ptr,
689 pipe_ctx->aadctr++;
720 struct dasync_pipeline_ctx *pipe_ctx =
723 if (pipe_ctx->inner_cipher_data == NULL
725 pipe_ctx->inner_cipher_data = OPENSSL_zalloc(
727 if (pipe_ctx->inner_cipher_data == NULL) {
734 pipe_ctx->numpipes = 0;
735 pipe_ctx->aadctr = 0;
737 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data);
739 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx);
750 struct dasync_pipeline_ctx *pipe_ctx =
753 pipes = pipe_ctx->numpipes;
754 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data);
756 if (pipe_ctx->aadctr != 0) {
757 if (pipe_ctx->aadctr != 1)
762 pipe_ctx->tlsaad[0]);
767 if (pipe_ctx->aadctr > 0 && pipe_ctx->aadctr != pipes)
770 if (pipe_ctx->aadctr > 0) {
774 pipe_ctx->tlsaad[i]);
777 (ctx, pipe_ctx->outbufs[i], pipe_ctx->inbufs[i],
778 pipe_ctx->lens[i]);
780 pipe_ctx->numpipes = 0;
782 pipe_ctx->aadctr = 0;
783 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx);
790 struct dasync_pipeline_ctx *pipe_ctx =
793 OPENSSL_clear_free(pipe_ctx->inner_cipher_data,