Lines Matching refs:btmp
60 BIO *btmp;
65 if ((btmp = BIO_new(BIO_f_md())) == NULL) {
87 if (BIO_set_md(btmp, md) <= 0) {
94 *pbio = btmp;
95 else if (!BIO_push(*pbio, btmp)) {
99 btmp = NULL;
104 BIO_free(btmp);
210 BIO *out = NULL, *btmp = NULL;
298 if ((btmp = BIO_new(BIO_f_cipher())) == NULL) {
302 BIO_get_cipher_ctx(btmp, &ctx);
350 out = btmp;
352 BIO_push(out, btmp);
353 btmp = NULL;
379 BIO_free_all(btmp);
398 BIO *out = NULL, *btmp = NULL, *etmp = NULL, *bio = NULL;
508 if ((btmp = BIO_new(BIO_f_md())) == NULL) {
529 if (BIO_set_md(btmp, md) <= 0) {
536 out = btmp;
538 BIO_push(out, btmp);
539 btmp = NULL;
671 BIO_free_all(btmp);
731 BIO *btmp;
823 btmp = bio;
825 btmp = PKCS7_find_digest(&mdc, btmp, j);
827 if (btmp == NULL)
885 btmp = BIO_find_type(bio, BIO_TYPE_MEM);
886 if (btmp == NULL) {
890 contlen = BIO_get_mem_data(btmp, &cont);
895 BIO_set_flags(btmp, BIO_FLAGS_MEM_RDONLY);
896 BIO_set_mem_eof_return(btmp, 0);
1024 BIO *btmp;
1044 btmp = bio;
1046 if ((btmp == NULL) ||
1047 ((btmp = BIO_find_type(btmp, BIO_TYPE_MD)) == NULL)) {
1051 BIO_get_md_ctx(btmp, &mdc);
1064 btmp = BIO_next(btmp);