Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_sint (Results 1 – 7 of 7) sorted by relevance

/mbedtls-3.7.0/include/mbedtls/
Dbignum.h118 typedef int64_t mbedtls_mpi_sint; typedef
131 typedef int64_t mbedtls_mpi_sint; typedef
147 typedef int64_t mbedtls_mpi_sint; typedef
157 typedef int64_t mbedtls_mpi_sint; typedef
168 typedef int32_t mbedtls_mpi_sint; typedef
384 int mbedtls_mpi_lset(mbedtls_mpi *X, mbedtls_mpi_sint z);
682 int mbedtls_mpi_cmp_int(const mbedtls_mpi *X, mbedtls_mpi_sint z);
753 mbedtls_mpi_sint b);
768 mbedtls_mpi_sint b);
841 mbedtls_mpi_sint b);
[all …]
/mbedtls-3.7.0/library/
Dbignum.c357 static inline mbedtls_mpi_uint mpi_sint_abs(mbedtls_mpi_sint z) in mpi_sint_abs()
371 #define TO_SIGN(x) ((mbedtls_mpi_sint) (((mbedtls_mpi_uint) x) >> (biL - 1)) * -2 + 1)
376 int mbedtls_mpi_lset(mbedtls_mpi *X, mbedtls_mpi_sint z) in mbedtls_mpi_lset()
983 int mbedtls_mpi_cmp_int(const mbedtls_mpi *X, mbedtls_mpi_sint z) in mbedtls_mpi_cmp_int()
1160 int mbedtls_mpi_add_int(mbedtls_mpi *X, const mbedtls_mpi *A, mbedtls_mpi_sint b) in mbedtls_mpi_add_int()
1176 int mbedtls_mpi_sub_int(mbedtls_mpi *X, const mbedtls_mpi *A, mbedtls_mpi_sint b) in mbedtls_mpi_sub_int()
1342 u1 |= (u0 >> (biL - s)) & (-(mbedtls_mpi_sint) s >> (biL - 1)); in mbedtls_int_div_int()
1517 mbedtls_mpi_sint b) in mbedtls_mpi_div_int()
1559 int mbedtls_mpi_mod_int(mbedtls_mpi_uint *r, const mbedtls_mpi *A, mbedtls_mpi_sint b) in mbedtls_mpi_mod_int()
1855 mbedtls_mpi_sint min, in mbedtls_mpi_random()
Decp_curves.c4613 static const mbedtls_mpi_sint curve25519_a24 = 0x01DB42;
4660 static const mbedtls_mpi_sint curve448_a24 = 0x98AA;
Decp_curves_new.c4643 static const mbedtls_mpi_sint curve25519_a24 = 0x01DB42;
4697 static const mbedtls_mpi_sint curve448_a24 = 0x98AA;
/mbedtls-3.7.0/tests/suites/
Dtest_suite_bignum.function946 void mpi_mod_int(char *input_X, mbedtls_mpi_sint y,
947 mbedtls_mpi_sint a, int mod_result)
1275 /* Ad hoc tests for n = -p = -2^(biL-1) as a mbedtls_mpi_sint. We
1276 * guarantee that mbedtls_mpi_sint is a two's complement type, so this
1286 * - p = 2^(biL-1) (smallest positive value not in mbedtls_mpi_sint range)
1287 * - n = -2^(biL-1) (largest negative value in mbedtls_mpi_sint range)
1296 const mbedtls_mpi_sint most_positive = most_positive_plus_1 - 1;
1297 const mbedtls_mpi_sint most_negative = -most_positive - 1;
Dtest_suite_bignum.misc.data1805 Most negative mbedtls_mpi_sint
/mbedtls-3.7.0/
DChangeLog983 functions receive the most negative value of mbedtls_mpi_sint. Credit