Lines Matching refs:w
417 int BN_set_word(BIGNUM *a, BN_ULONG w) in BN_set_word() argument
423 a->d[0] = w; in BN_set_word()
424 a->top = (w ? 1 : 0); in BN_set_word()
848 int b, w; in ossl_bn_mask_bits_fixed_top() local
853 w = n / BN_BITS2; in ossl_bn_mask_bits_fixed_top()
855 if (w >= a->top) in ossl_bn_mask_bits_fixed_top()
858 a->top = w; in ossl_bn_mask_bits_fixed_top()
860 a->top = w + 1; in ossl_bn_mask_bits_fixed_top()
861 a->d[w] &= ~(BN_MASK2 << b); in ossl_bn_mask_bits_fixed_top()
1031 int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w) in BN_abs_is_word() argument
1033 return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0)); in BN_abs_is_word()
1046 int BN_is_word(const BIGNUM *a, const BN_ULONG w) in BN_is_word() argument
1048 return BN_abs_is_word(a, w) && (!w || !a->neg); in BN_is_word()
1051 int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w) in ossl_bn_is_word_fixed_top() argument
1059 res = constant_time_select_int(constant_time_eq_bn(ap[0], w), 1, 0); in ossl_bn_is_word_fixed_top()