Lines Matching refs:length
29 len = a->length; in ossl_i2c_ASN1_BIT_STRING()
128 ret->length = (int)len; in ossl_c2i_ASN1_BIT_STRING()
162 if ((a->length < (w + 1)) || (a->data == NULL)) { in ASN1_BIT_STRING_set_bit()
165 c = OPENSSL_clear_realloc(a->data, a->length, w + 1); in ASN1_BIT_STRING_set_bit()
170 if (w + 1 - a->length > 0) in ASN1_BIT_STRING_set_bit()
171 memset(c + a->length, 0, w + 1 - a->length); in ASN1_BIT_STRING_set_bit()
173 a->length = w + 1; in ASN1_BIT_STRING_set_bit()
176 while ((a->length > 0) && (a->data[a->length - 1] == 0)) in ASN1_BIT_STRING_set_bit()
177 a->length--; in ASN1_BIT_STRING_set_bit()
187 if ((a == NULL) || (a->length < (w + 1)) || (a->data == NULL)) in ASN1_BIT_STRING_get_bit()
210 for (i = 0; i < a->length && ok; ++i) { in ASN1_BIT_STRING_check()