该项目从 https://github.com/Mbed-TLS/mbedtls 镜像。
拉取镜像更新于 。
- 1月 10, 2023
-
-
由 Valerio Setti 创作于
Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
- 1月 09, 2023
-
-
由 Valerio Setti 创作于
Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
- 1月 05, 2023
-
-
由 Valerio Setti 创作于
Some PSA curves' symbols (PSA_WANT_) were not matching the corresponding MBEDTLS_ECP_DP_. This was fixed together with the removal of extra code when DEBUG_C is not enabled. Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
- 1月 04, 2023
-
-
由 Valerio Setti 创作于
Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
- 1月 03, 2023
-
-
由 Valerio Setti 创作于
Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
由 Valerio Setti 创作于
Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
由 Valerio Setti 创作于
Signed-off-by:
Valerio Setti <vsetti@baylibre.com>
-
- 12月 24, 2022
-
-
由 Gilles Peskine 创作于
lms: Move merkle tree generation to heap allocation
-
由 Gilles Peskine 创作于
Tweak code style to be more like K&R
-
- 12月 23, 2022
-
-
由 Manuel Pégourié-Gonnard 创作于
Bignum: Implement fixed width modular multiplication
-
由 Manuel Pégourié-Gonnard 创作于
Bignum mod random
-
由 Gilles Peskine 创作于
Align with K&R2. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
- 12月 22, 2022
-
-
由 Manuel Pégourié-Gonnard 创作于
mbedtls_ecp_point_read_binary from compressed fmt
-
由 Gilles Peskine 创作于
Only remove the MBEDTLS_HAVE_INTnn dependency, not any other dependency that might be present. No behavior change, this is just robustness. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Explain what's going on in BignumModRawConvertRep.test_case_for_values. Simplify the logic and the interdependencies related to limb sizes: * Montgomery is the special case, so base the decisions on it. * As soon as we've encountered one limb size, no matter what it is, give up. No behavior change, other than changing the numbering of test cases (which previously included more skipped test cases). Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Except for missing documentation, which will come in a subsequent commit. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Pylint complains about the nesting. It's not wrong. No behavior change. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Minos Galanakis 创作于
This patch introduces a hybrid approach to input_styles, and will remove the dependency requirements from test cases with `ModulusRepresentation.OPT_RED` As a result it is reducing testing input duplication. Signed-off-by:
Minos Galanakis <minos.galanakis@arm.com>
-
由 Minos Galanakis 创作于
This patch adjusts the test generating method to calculate all possible combinations for (modulo, input, limb_sizes, representation). Signed-off-by:
Minos Galanakis <minos.galanakis@arm.com>
-
由 Minos Galanakis 创作于
This patch adds the default representation attribute through a setter() method in `BignumModRawConvertRep()` It also adds standard common template properties: symbol = "" input_style = "arch_split" arity = 1 Signed-off-by:
Minos Galanakis <minos.galanakis@arm.com>
-
由 Minos Galanakis 创作于
Signed-off-by:
Minos Galanakis <minos.galanakis@arm.com>
-
由 Minos Galanakis 创作于
Signed-off-by:
Minos Galanakis <minos.galanakis@arm.com>
-
- 12月 21, 2022
-
-
由 Gabor Mezei 创作于
Signed-off-by:
Gabor Mezei <gabor.mezei@arm.com>
-
由 Manuel Pégourié-Gonnard 创作于
Hide check_test_cases warnings on the CI
-
由 Gilles Peskine 创作于
The Montgomery representation depends on the limb size. So the representation conversion test cases need separate 64-bit and 32-bit cases when the representation is Montgomery. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
The code had an earlier version. Update to the new seed that mpi_core_random_basic has moved to. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
mbedtls_mpi_mod_raw_random() and mbedtls_mpi_mod_random() were producing output in the Montgomery representation, instead of obeying the representation chosen in the modulus structure. Fix this. Duplicate the test cases for mod-random output to have separate test cases for each representation. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Call mbedtls_mpi_mod_raw_canonical_to_modulus_rep instead of assuming that anything that isn't MBEDTLS_MPI_MOD_REP_MONTGOMERY is canonical. mbedtls_mpi_mod_write should get the same treatment, but I'm holding off until https://github.com/Mbed-TLS/mbedtls/issues/6679 is done. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Test cases will be generated automatically by a subsequent commit. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Add a class for modulus representations (mbedtls_mpi_mod_rep_selector). Add a method to convert a number to any representation. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
With the default input style (which is "variable"), fill all bignum test case arguments to the same width as the modulus. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
This wasn't reported by pylint due to a pylint bug (apparently): `pylint A B` doesn't complain about an unused import in B if A happens to import and use the same module, which happens to be the case when we run pylint on the CI. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gabor Mezei 创作于
Signed-off-by:
Gabor Mezei <gabor.mezei@arm.com>
-
由 Gabor Mezei 创作于
Signed-off-by:
Gabor Mezei <gabor.mezei@arm.com>
-