Lines Matching defs:btmp
109 BIO *btmp;
112 if ((btmp = BIO_new(BIO_f_md())) == NULL) {
123 if (BIO_set_md(btmp, md) <= 0) {
129 *pbio = btmp;
130 else if (!BIO_push(*pbio, btmp)) {
134 btmp = NULL;
139 BIO_free(btmp);
256 BIO *out = NULL, *btmp = NULL;
338 if ((btmp = BIO_new(BIO_f_cipher())) == NULL) {
342 BIO_get_cipher_ctx(btmp, &ctx);
375 out = btmp;
377 BIO_push(out, btmp);
378 btmp = NULL;
402 if (btmp != NULL)
403 BIO_free_all(btmp);
428 BIO *out = NULL, *btmp = NULL, *etmp = NULL, *bio = NULL;
489 if ((btmp = BIO_new(BIO_f_md())) == NULL) {
501 if (BIO_set_md(btmp, evp_md) <= 0) {
506 out = btmp;
508 BIO_push(out, btmp);
509 btmp = NULL;
629 if (btmp != NULL)
630 BIO_free_all(btmp);
697 BIO *btmp;
790 if ((btmp = PKCS7_find_digest(&mdc, bio, j)) == NULL)
847 btmp = BIO_find_type(bio, BIO_TYPE_MEM);
848 if (btmp == NULL) {
852 contlen = BIO_get_mem_data(btmp, &cont);
857 BIO_set_flags(btmp, BIO_FLAGS_MEM_RDONLY);
858 BIO_set_mem_eof_return(btmp, 0);
998 BIO *btmp;
1011 btmp = bio;
1013 if ((btmp == NULL) ||
1014 ((btmp = BIO_find_type(btmp, BIO_TYPE_MD)) == NULL)) {
1018 BIO_get_md_ctx(btmp, &mdc);
1030 btmp = BIO_next(btmp);