Home
last modified time | relevance | path

Searched refs:mpi_test_bit (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/lib/crypto/mpi/
H A Dmpi-inv.c46 for (k = 0; !mpi_test_bit(u, 0) && !mpi_test_bit(v, 0); k++) { in mpi_invm()
50 odd = mpi_test_bit(v, 0); in mpi_invm()
62 if (mpi_test_bit(u, 0)) { /* u is odd */ in mpi_invm()
81 if (mpi_test_bit(t1, 0) || mpi_test_bit(t2, 0)) { in mpi_invm()
90 if (mpi_test_bit(t1, 0)) in mpi_invm()
97 } while (!mpi_test_bit(t3, 0)); /* while t3 is even */ in mpi_invm()
H A Dmpi-bit.c62 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit() function
75 EXPORT_SYMBOL_GPL(mpi_test_bit);
H A Dec.c1247 if (mpi_test_bit(scalar, j)) in mpi_ec_mul_point()
1290 sw = mpi_test_bit(scalar, j); in mpi_ec_mul_point()
1382 if (mpi_test_bit(h, i) == 1 && mpi_test_bit(k, i) == 0) { in mpi_ec_mul_point()
1386 if (mpi_test_bit(h, i) == 0 && mpi_test_bit(k, i) == 1) { in mpi_ec_mul_point()
/openbmc/linux/include/linux/
H A Dmpi.h131 int mpi_test_bit(MPI a, unsigned int n);
/openbmc/linux/crypto/
H A Drsa.c213 if (!mpi_test_bit(e, 0)) { in rsa_check_exponent_fips()