Lines Matching refs:words
265 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words) in bn_expand_internal() argument
269 if (words > (INT_MAX / (4 * BN_BITS2))) { in bn_expand_internal()
278 a = OPENSSL_secure_zalloc(words * sizeof(*a)); in bn_expand_internal()
280 a = OPENSSL_zalloc(words * sizeof(*a)); in bn_expand_internal()
284 assert(b->top <= words); in bn_expand_internal()
299 BIGNUM *bn_expand2(BIGNUM *b, int words) in bn_expand2() argument
301 if (words > b->dmax) { in bn_expand2()
302 BN_ULONG *a = bn_expand_internal(b, words); in bn_expand2()
308 b->dmax = words; in bn_expand2()
1146 BIGNUM *bn_wexpand(BIGNUM *a, int words) in bn_wexpand() argument
1148 return (words <= a->dmax) ? a : bn_expand2(a, words); in bn_wexpand()