Lines Matching refs:btmp

98     BIO *btmp;  in pkcs7_bio_add_digest()  local
103 if ((btmp = BIO_new(BIO_f_md())) == NULL) { in pkcs7_bio_add_digest()
125 if (BIO_set_md(btmp, md) <= 0) { in pkcs7_bio_add_digest()
132 *pbio = btmp; in pkcs7_bio_add_digest()
133 else if (!BIO_push(*pbio, btmp)) { in pkcs7_bio_add_digest()
137 btmp = NULL; in pkcs7_bio_add_digest()
142 BIO_free(btmp); in pkcs7_bio_add_digest()
237 BIO *out = NULL, *btmp = NULL; in PKCS7_dataInit() local
325 if ((btmp = BIO_new(BIO_f_cipher())) == NULL) { in PKCS7_dataInit()
329 BIO_get_cipher_ctx(btmp, &ctx); in PKCS7_dataInit()
377 out = btmp; in PKCS7_dataInit()
379 BIO_push(out, btmp); in PKCS7_dataInit()
380 btmp = NULL; in PKCS7_dataInit()
420 BIO_free_all(btmp); in PKCS7_dataInit()
439 BIO *out = NULL, *btmp = NULL, *etmp = NULL, *bio = NULL; in PKCS7_dataDecode() local
549 if ((btmp = BIO_new(BIO_f_md())) == NULL) { in PKCS7_dataDecode()
570 if (BIO_set_md(btmp, md) <= 0) { in PKCS7_dataDecode()
577 out = btmp; in PKCS7_dataDecode()
579 BIO_push(out, btmp); in PKCS7_dataDecode()
580 btmp = NULL; in PKCS7_dataDecode()
712 BIO_free_all(btmp); in PKCS7_dataDecode()
772 BIO *btmp; in PKCS7_dataFinal() local
864 btmp = bio; in PKCS7_dataFinal()
866 btmp = PKCS7_find_digest(&mdc, btmp, j); in PKCS7_dataFinal()
868 if (btmp == NULL) in PKCS7_dataFinal()
925 btmp = BIO_find_type(bio, BIO_TYPE_MEM); in PKCS7_dataFinal()
926 if (btmp == NULL) { in PKCS7_dataFinal()
930 contlen = BIO_get_mem_data(btmp, &cont); in PKCS7_dataFinal()
935 BIO_set_flags(btmp, BIO_FLAGS_MEM_RDONLY); in PKCS7_dataFinal()
936 BIO_set_mem_eof_return(btmp, 0); in PKCS7_dataFinal()
1070 BIO *btmp; in PKCS7_signatureVerify() local
1090 btmp = bio; in PKCS7_signatureVerify()
1092 if ((btmp == NULL) || in PKCS7_signatureVerify()
1093 ((btmp = BIO_find_type(btmp, BIO_TYPE_MD)) == NULL)) { in PKCS7_signatureVerify()
1097 BIO_get_md_ctx(btmp, &mdc); in PKCS7_signatureVerify()
1110 btmp = BIO_next(btmp); in PKCS7_signatureVerify()