Lines Matching refs:val
90 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
115 int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
122 bio = BIO_new_NDEF(out, val, it);
142 ASN1_item_i2d_bio(it, out, val);
148 static int B64_write_ASN1(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
162 r = i2d_ASN1_bio_stream(out, val, in, flags, it);
171 int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
177 r = B64_write_ASN1(out, val, in, flags, it);
185 ASN1_VALUE *val;
191 val = ASN1_item_d2i_bio(it, bio, NULL);
192 if(!val)
197 return val;
278 int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
318 if (!asn1_output_data(bio, data, val, flags, it))
331 B64_write_ASN1(bio, val, NULL, 0, it);
365 if (!B64_write_ASN1(bio, val, data, flags, it))
374 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
400 if (aux->asn1_cb(ASN1_OP_DETACHED_PRE, &val, it, &sarg) <= 0)
407 if (aux->asn1_cb(ASN1_OP_DETACHED_POST, &val, it, &sarg) <= 0)
435 ASN1_VALUE *val;
497 if(!(val = b64_read_asn1(asnin, it))) {
508 return val;
523 if(!(val = b64_read_asn1(bio, it))) {
527 return val;