Lines Matching refs:ext_der
134 unsigned char *ext_der = NULL; in do_ext_i2d() local
140 ext_der = NULL; in do_ext_i2d()
142 ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d()
149 if ((ext_der = OPENSSL_malloc(ext_len)) == NULL) in do_ext_i2d()
151 p = ext_der; in do_ext_i2d()
156 ext_oct->data = ext_der; in do_ext_i2d()
157 ext_der = NULL; in do_ext_i2d()
169 OPENSSL_free(ext_der); in do_ext_i2d()
226 unsigned char *ext_der = NULL; in v3_generic_extension() local
240 ext_der = OPENSSL_hexstr2buf(value, &ext_len); in v3_generic_extension()
242 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension()
244 if (ext_der == NULL) { in v3_generic_extension()
256 oct->data = ext_der; in v3_generic_extension()
258 ext_der = NULL; in v3_generic_extension()
265 OPENSSL_free(ext_der); in v3_generic_extension()
274 unsigned char *ext_der = NULL; in generic_asn1() local
278 *ext_len = i2d_ASN1_TYPE(typ, &ext_der); in generic_asn1()
280 return ext_der; in generic_asn1()