Lines Matching refs:ext_len
77 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len);
179 int ext_len; in do_ext_i2d() local
186 ext_len = ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d()
187 if (ext_len < 0) goto merr; in do_ext_i2d()
192 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d()
193 if(!(ext_der = OPENSSL_malloc(ext_len))) goto merr; in do_ext_i2d()
199 ext_oct->length = ext_len; in do_ext_i2d()
265 long ext_len; in v3_generic_extension() local
277 ext_der = string_to_hex(value, &ext_len); in v3_generic_extension()
279 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension()
295 oct->length = ext_len; in v3_generic_extension()
308 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len) in generic_asn1() argument
315 *ext_len = i2d_ASN1_TYPE(typ, &ext_der); in generic_asn1()