Home
last modified time | relevance | path

Searched refs:limb (Results 1 – 14 of 14) sorted by relevance

/mbedtls-latest/tests/suites/
Dtest_suite_bignum.generated.data6 MPI add #2 0 (null) + 0 (1 limb)
12 MPI add #4 0 (null) + negative with leading zero limb
21 MPI add #7 0 (null) + positive with leading zero limb
24 MPI add #8 0 (null) + negative with leading zero limb
33 MPI add #11 0 (1 limb) + 0 (null)
36 MPI add #12 0 (1 limb) + 0 (1 limb)
39 MPI add #13 0 (1 limb) + negative 0 (null)
42 MPI add #14 0 (1 limb) + negative with leading zero limb
45 MPI add #15 0 (1 limb) + positive
48 MPI add #16 0 (1 limb) + negative
[all …]
Dtest_suite_bignum.misc.data130 Test mbedtls_mpi_lsb: 0 (1 limb)
151 Test mbedtls_mpi_bitlen 0x18 with leading 0 limb(s)
172 Test mbedtls_mpi_bitlen: 0 (1 limb)
226 Test mbedtls_mpi_cmp_mpi: 0 (null) = 0 (1 limb)
229 Test mbedtls_mpi_cmp_mpi: 0 (1 limb) = 0 (null)
232 Test mbedtls_mpi_cmp_mpi: 0 (1 limb) = 0 (1 limb)
238 Test mbedtls_mpi_cmp_mpi: 0 (1 limb) < positive
244 Test mbedtls_mpi_cmp_mpi: 0 (1 limb) > negative
250 Test mbedtls_mpi_cmp_mpi: positive > 0 (1 limb)
256 Test mbedtls_mpi_cmp_mpi: negative < 0 (1 limb)
[all …]
Dtest_suite_bignum_core.misc.data4 Test mbedtls_mpi_core_io_be #1 (Buffer and limbs just fit, input limb-aligned)
10 Test mbedtls_mpi_core_io_be #3 (Buffer just fits, extra limbs, input limb-aligned)
16 Test mbedtls_mpi_core_io_be #5 (Extra limbs, buffer aligned to extra limbs, input limb-aligned)
22 Test mbedtls_mpi_core_io_be #7 (Buffer and limbs just fit, input limb-aligned with leading zeroes)
28 Test mbedtls_mpi_core_io_be #9 (Buffer just fits, extra limbs, input limb-aligned with leading zero…
46 Test mbedtls_mpi_core_io_be #15 (One limb, 32 bit)
50 Test mbedtls_mpi_core_io_be #16 (One limb, 64 bit)
54 Test mbedtls_mpi_core_io_be #17 (not enough limbs, input limb-aligned)
60 Test mbedtls_mpi_core_io_be #19 (buffer too small, input limb-aligned)
69 Test mbedtls_mpi_core_io_le #1 (Buffer and limbs just fit, input limb-aligned)
[all …]
Dtest_suite_bignum_mod_raw.data1 Test mbedtls_mpi_mod_raw_io #1 BE (Buffer and limbs just fit, input limb-aligned)
4 Test mbedtls_mpi_mod_raw_io #1 LE (Buffer and limbs just fit, input limb-aligned)
13 Test mbedtls_mpi_mod_raw_io #3 BE (Buffer just fits, extra limbs, input limb-aligned)
16 Test mbedtls_mpi_mod_raw_io #3 LE (Buffer just fits, extra limbs, input limb-aligned)
25 Test mbedtls_mpi_mod_raw_io #5 BE (Extra limbs, buffer aligned to extra limbs, input limb-aligned)
28 Test mbedtls_mpi_mod_raw_io #5 LE (Extra limbs, buffer aligned to extra limbs, input limb-aligned)
37 Test mbedtls_mpi_mod_raw_io #7 BE (Buffer and limbs just fit, input limb-aligned with leading zeroe…
40 Test mbedtls_mpi_mod_raw_io #7 LE (Buffer and limbs just fit, input limb-aligned with leading zeroe…
49 Test mbedtls_mpi_mod_raw_io #9 BE (Buffer just fits, extra limbs, input limb-aligned with leading z…
52 Test mbedtls_mpi_mod_raw_io #9 LE (Buffer just fits, extra limbs, input limb-aligned with leading z…
[all …]
Dtest_suite_bignum_random.data190 ## The "0 limb in upper bound" tests rely on the fact that
195 MPI random in range: leading 0 limb in upper bound #0
198 MPI random in range: leading 0 limb in upper bound #1
201 MPI random in range: leading 0 limb in upper bound #2
204 MPI random in range: leading 0 limb in upper bound #3
207 MPI random in range: leading 0 limb in upper bound #4
237 MPI random bad arguments: min > N = 1, 0 limb in upper bound
297 MPI random mod validation: 1 limb, good, 0..1
300 MPI random mod validation: 1 limb, good, 1..3
303 MPI random mod validation: 1 limb, good, 2..3
[all …]
Dtest_suite_asn1write.data97 ASN.1 Write mpi 0 (1 limb)
106 ASN.1 Write mpi 0x7f with leading 0 limb
112 ASN.1 Write mpi 0x80 with leading 0 limb
Dtest_suite_bignum_core.function354 /* We need two same-length limb arrays */
736 /* The MPI encoding of scalar s must be only 1 limb */
743 /* The carry should only have one limb */
812 /* The MPI encoding of mm should be 1 limb (sizeof(mbedtls_mpi_uint) == 8) or
1078 * extra_limbs may be negative but the total limb count must be positive.
1299 * as a 1-limb MPI (B) in the .data file. */
1311 /* The MPI encoding of scalar b must be only 1 limb */
Dtest_suite_bignum_mod.misc.data19 mpi_mod_sub base case for negative testing (N, a, b all >= 1 limb)
84 mpi_mod_add base case for negative testing (N, a, b all >= 1 limb)
Dtest_suite_bignum_random.function174 * same number, with the same limb count. */
234 * same number, with the same limb count. */
Dtest_suite_ecp.function1694 /* Test for limb sizes */
1740 /* Test for limb sizes */
1797 /* Test for limb sizes for two input value and modulus */
1846 /* Test for limb sizes */
Dtest_suite_bignum_core.generated.data9251 Constant time MPI table lookup - One limb MPI with 0 bit window
9254 Constant time MPI table lookup - One limb MPI with 1 bit window
9257 Constant time MPI table lookup - One limb MPI with 2 bit window
9260 Constant time MPI table lookup - One limb MPI with 3 bit window
9263 Constant time MPI table lookup - One limb MPI with 4 bit window
9266 Constant time MPI table lookup - One limb MPI with 5 bit window
9269 Constant time MPI table lookup - One limb MPI with 6 bit window
23190 Core shift [leading 0 limb] >> 0
23193 Core shift [leading 0 limb] >> 1
23196 Core shift [leading 0 limb] >> 8
[all …]
/mbedtls-latest/3rdparty/p256-m/p256-m/
Dp256-m.c702 uint32_t limb = mod->m[i] - 2; in m256_inv() local
705 if ((limb & 1) != 0) { in m256_inv()
709 limb >>= 1; in m256_inv()
716 limb = mod->m[i]; in m256_inv()
DREADME.md337 - multiply-and-add, shift by one limb (for Montgomery multiplication);
502 limb.
/mbedtls-latest/
DChangeLog2047 those always built an mpi object with at least one limb.