Lines Matching refs:ext_der
141 unsigned char *ext_der = NULL; in do_ext_i2d() local
148 ext_der = NULL; in do_ext_i2d()
150 ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d()
159 if ((ext_der = OPENSSL_malloc(ext_len)) == NULL) in do_ext_i2d()
161 p = ext_der; in do_ext_i2d()
166 ext_oct->data = ext_der; in do_ext_i2d()
167 ext_der = NULL; in do_ext_i2d()
179 OPENSSL_free(ext_der); in do_ext_i2d()
238 unsigned char *ext_der = NULL; in v3_generic_extension() local
251 ext_der = OPENSSL_hexstr2buf(value, &ext_len); in v3_generic_extension()
253 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension()
255 if (ext_der == NULL) { in v3_generic_extension()
266 oct->data = ext_der; in v3_generic_extension()
268 ext_der = NULL; in v3_generic_extension()
275 OPENSSL_free(ext_der); in v3_generic_extension()
284 unsigned char *ext_der = NULL; in generic_asn1() local
289 *ext_len = i2d_ASN1_TYPE(typ, &ext_der); in generic_asn1()
291 return ext_der; in generic_asn1()