Lines Matching refs:file

76             BIO *file;  member
81 } file; member
116 OSSL_DECODER_CTX_free(ctx->_.file.decoderctx); in free_file_ctx()
117 OPENSSL_free(ctx->_.file.propq); in free_file_ctx()
118 OPENSSL_free(ctx->_.file.input_type); in free_file_ctx()
161 ctx->_.file.file = source; in file_open_stream()
331 OPENSSL_free(ctx->_.file.propq); in file_set_ctx_params()
332 ctx->_.file.propq = NULL; in file_set_ctx_params()
333 if (!OSSL_PARAM_get_utf8_string(p, &ctx->_.file.propq, 0)) in file_set_ctx_params()
338 OPENSSL_free(ctx->_.file.input_type); in file_set_ctx_params()
339 ctx->_.file.input_type = NULL; in file_set_ctx_params()
340 if (!OSSL_PARAM_get_utf8_string(p, &ctx->_.file.input_type, 0)) in file_set_ctx_params()
422 if (ctx->_.file.decoderctx == NULL) { in file_setup_decoders()
423 if ((ctx->_.file.decoderctx = OSSL_DECODER_CTX_new()) == NULL) { in file_setup_decoders()
429 if (!OSSL_DECODER_CTX_set_input_type(ctx->_.file.decoderctx, in file_setup_decoders()
430 ctx->_.file.input_type)) { in file_setup_decoders()
443 if (!OSSL_DECODER_CTX_set_input_structure(ctx->_.file.decoderctx, in file_setup_decoders()
450 if (!OSSL_DECODER_CTX_set_input_structure(ctx->_.file.decoderctx, in file_setup_decoders()
479 if (!ossl_decoder_ctx_add_decoder_inst(ctx->_.file.decoderctx, in file_setup_decoders()
487 if (!OSSL_DECODER_CTX_add_extra(ctx->_.file.decoderctx, in file_setup_decoders()
488 libctx, ctx->_.file.propq)) { in file_setup_decoders()
497 if (!OSSL_DECODER_CTX_set_construct(ctx->_.file.decoderctx, in file_setup_decoders()
499 || !OSSL_DECODER_CTX_set_cleanup(ctx->_.file.decoderctx, in file_setup_decoders()
527 OSSL_DECODER_CTX_set_construct_data(ctx->_.file.decoderctx, &data); in file_load_file()
528 OSSL_DECODER_CTX_set_passphrase_cb(ctx->_.file.decoderctx, pw_cb, pw_cbarg); in file_load_file()
533 ret = OSSL_DECODER_from_bio(ctx->_.file.decoderctx, ctx->_.file.file); in file_load_file()
534 if (BIO_eof(ctx->_.file.file) in file_load_file()
729 return !BIO_pending(ctx->_.file.file) in file_eof()
730 && BIO_eof(ctx->_.file.file); in file_eof()
752 BIO_free(ctx->_.file.file); in file_close_stream()
753 ctx->_.file.file = NULL; in file_close_stream()