Lines Matching refs:in_bio
54 static TS_RESP *read_PKCS7(BIO *in_bio);
403 BIO *in_bio = NULL; in query_command() local
409 if ((in_bio = bio_open_default(in, 'r', FORMAT_ASN1)) == NULL) in query_command()
411 query = d2i_TS_REQ_bio(in_bio, NULL); in query_command()
437 BIO_free_all(in_bio); in query_command()
598 BIO *in_bio = NULL; in reply_command() local
605 if ((in_bio = BIO_new_file(in, "rb")) == NULL) in reply_command()
608 response = read_PKCS7(in_bio); in reply_command()
610 response = d2i_TS_RESP_bio(in_bio, NULL); in reply_command()
652 BIO_free_all(in_bio); in reply_command()
662 static TS_RESP *read_PKCS7(BIO *in_bio) in read_PKCS7() argument
670 if ((token = d2i_PKCS7_bio(in_bio, NULL)) == NULL) in read_PKCS7()
858 BIO *in_bio = NULL; in verify_command() local
864 if ((in_bio = BIO_new_file(in, "rb")) == NULL) in verify_command()
867 if ((token = d2i_PKCS7_bio(in_bio, NULL)) == NULL) in verify_command()
870 if ((response = d2i_TS_RESP_bio(in_bio, NULL)) == NULL) in verify_command()
892 BIO_free_all(in_bio); in verify_command()