Lines Matching refs:length
29 objsize = ASN1_object_size(0, a->length, V_ASN1_OBJECT); in i2d_ASN1_OBJECT()
40 ASN1_put_object(&p, 0, a->length, V_ASN1_OBJECT, V_ASN1_UNIVERSAL); in i2d_ASN1_OBJECT()
41 memcpy(p, a->data, a->length); in i2d_ASN1_OBJECT()
47 *pp = allocated != NULL ? allocated : p + a->length; in i2d_ASN1_OBJECT()
202 i += BIO_dump(bp, (const char *)a->data, a->length); in i2a_ASN1_OBJECT()
212 long length) in d2i_ASN1_OBJECT() argument
220 inf = ASN1_get_object(&p, &len, &tag, &xclass, length); in d2i_ASN1_OBJECT()
245 int i, length; in ossl_c2i_ASN1_OBJECT() local
258 length = (int)len; in ossl_c2i_ASN1_OBJECT()
265 tobj.length = length; in ossl_c2i_ASN1_OBJECT()
282 for (i = 0; i < length; i++, p++) { in ossl_c2i_ASN1_OBJECT()
302 if ((data == NULL) || (ret->length < length)) { in ossl_c2i_ASN1_OBJECT()
303 ret->length = 0; in ossl_c2i_ASN1_OBJECT()
305 data = OPENSSL_malloc(length); in ossl_c2i_ASN1_OBJECT()
310 memcpy(data, p, length); in ossl_c2i_ASN1_OBJECT()
319 ret->length = length; in ossl_c2i_ASN1_OBJECT()
323 p += length; in ossl_c2i_ASN1_OBJECT()
365 a->length = 0; in ASN1_OBJECT_free()
380 o.length = len; in ASN1_OBJECT_create()