Lines Matching refs:neg
351 a->neg = b->neg; in BN_copy()
379 tmp_neg = a->neg; in BN_swap()
384 a->neg = b->neg; in BN_swap()
389 b->neg = tmp_neg; in BN_swap()
404 a->neg = 0; in BN_clear()
424 a->neg = 0; in BN_set_word()
459 ret->neg = 0; in BN_bin2bn()
570 ret->neg = 0; in BN_lebin2bn()
636 if (a->neg != b->neg) { in BN_cmp()
637 if (a->neg) in BN_cmp()
642 if (a->neg == 0) { in BN_cmp()
745 a->neg = 1; in BN_set_negative()
747 a->neg = 0; in BN_set_negative()
824 t = (a->neg ^ b->neg) & condition; in BN_consttime_swap()
825 a->neg ^= t; in BN_consttime_swap()
826 b->neg ^= t; in BN_consttime_swap()
893 a->neg = 0; in BN_zero_ex()
910 return BN_abs_is_word(a, 1) && !a->neg; in BN_is_one()
915 return BN_abs_is_word(a, w) && (!w || !a->neg); in BN_is_word()
925 return (a->neg != 0); in BN_is_negative()
939 dest->neg = b->neg; in BN_with_flags()
1018 a->neg = 0; in bn_correct_top()