Lines Matching defs:condition
822 * a and b are swapped if condition is not 0.
827 void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
838 condition = ((~condition & ((condition - 1))) >> (BN_BITS2 - 1)) - 1;
840 t = (a->top ^ b->top) & condition;
844 t = (a->neg ^ b->neg) & condition;
853 * condition. It would either cause SEGV or effectively cause data
872 t = ((a->flags ^ b->flags) & BN_CONSTTIME_SWAP_FLAGS) & condition;
878 t = (a->d[i] ^ b->d[i]) & condition;