Lines Matching refs:parse

456 	pgp_stream_t	*parse = NULL;
463 fd_in = pgp_setup_file_read(io, &parse, infile,
473 fd_out = pgp_setup_file_write(&parse->cbinfo.output, outfile,
477 pgp_teardown_file_read(parse, fd_in);
497 fd_out = pgp_setup_file_write(&parse->cbinfo.output,
502 pgp_teardown_file_read(parse, fd_in);
512 parse->cbinfo.cryptinfo.secring = secring;
513 parse->cbinfo.passfp = passfp;
514 parse->cbinfo.cryptinfo.getpassphrase = getpassfunc;
515 parse->cbinfo.cryptinfo.pubring = pubring;
516 parse->cbinfo.sshseckey = (sshkeys) ? &secring->keys[0].key.seckey : NULL;
517 parse->cbinfo.numtries = numtries;
521 pgp_reader_push_dearmour(parse);
525 pgp_parse(parse, printerrors);
529 pgp_reader_pop_dearmour(parse);
533 if (!parse->cbinfo.gotpass) {
538 pgp_teardown_file_write(parse->cbinfo.output, fd_out);
541 pgp_teardown_file_read(parse, fd_in);
560 pgp_stream_t *parse = NULL;
575 pgp_setup_memory_read(io, &parse, inmem,
581 pgp_setup_memory_write(&parse->cbinfo.output, &outmem, insize);
584 parse->cbinfo.cryptinfo.secring = secring;
585 parse->cbinfo.cryptinfo.pubring = pubring;
586 parse->cbinfo.passfp = passfp;
587 parse->cbinfo.cryptinfo.getpassphrase = getpassfunc;
588 parse->cbinfo.sshseckey = (sshkeys) ? &secring->keys[0].key.seckey : NULL;
589 parse->cbinfo.numtries = numtries;
593 pgp_reader_push_dearmour(parse);
597 pgp_parse(parse, printerrors);
601 pgp_reader_pop_dearmour(parse);
605 pgp_teardown_memory_read(parse, inmem);
607 pgp_writer_close(parse->cbinfo.output);
608 pgp_output_delete(parse->cbinfo.output);
611 return (parse->cbinfo.gotpass) ? outmem : NULL;