Lines Matching defs:sign
43 * Conditionally select an MPI sign in constant time.
44 * (MPI sign is the field s in mbedtls_mpi. It is unsigned short and only 1 and -1 are valid
78 different_sign = mbedtls_ct_bool_ne(X_is_negative, Y_is_negative); // true if different sign
84 * sign.
369 /* Convert x to a sign, i.e. to 1, if x is positive, or -1, if x is negative.
516 int sign = 1;
533 sign = -1;
562 if (sign < 0 && mbedtls_mpi_bitlen(X) != 0) {
641 n += 1; /* Potential '-'-sign. */
1122 /* If |A| = |B|, the result is 0 and we must set the sign bit
1124 * since |A| > |B|, the sign is the sign of A. */
1128 /* Since |A| < |B|, the sign is the opposite of A. */
1234 * need to take care to set the sign bit properly since the library does