Home
last modified time | relevance | path

Searched refs:M (Results 1 – 13 of 13) sorted by relevance

/mbedtls-latest/library/
Decp_curves.c5150 mbedtls_mpi M; in ecp_mod_p521() local
5161 M.s = 1; in ecp_mod_p521()
5162 M.n = N->n - (P521_WIDTH - 1); in ecp_mod_p521()
5163 if (M.n > P521_WIDTH + 1) { in ecp_mod_p521()
5164 M.n = P521_WIDTH + 1; in ecp_mod_p521()
5166 M.p = Mp; in ecp_mod_p521()
5167 memcpy(Mp, N->p + P521_WIDTH - 1, M.n * sizeof(mbedtls_mpi_uint)); in ecp_mod_p521()
5168 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&M, 521 % (8 * sizeof(mbedtls_mpi_uint)))); in ecp_mod_p521()
5177 MBEDTLS_MPI_CHK(mbedtls_mpi_add_abs(N, N, &M)); in ecp_mod_p521()
5252 mbedtls_mpi M, Q; in ecp_mod_p448() local
[all …]
Decp_curves_new.c5524 mbedtls_mpi_uint *M = NULL; in mbedtls_ecp_mod_p448_raw() local
5527 M = mbedtls_calloc(M_limbs, ciL); in mbedtls_ecp_mod_p448_raw()
5529 if (M == NULL) { in mbedtls_ecp_mod_p448_raw()
5541 memset(M, 0, (M_limbs * ciL)); in mbedtls_ecp_mod_p448_raw()
5544 memcpy(M, X + P448_WIDTH, ((M_limbs - 1) * ciL)); in mbedtls_ecp_mod_p448_raw()
5552 (void) mbedtls_mpi_core_add(X, X, M, M_limbs); in mbedtls_ecp_mod_p448_raw()
5555 memcpy(Q, (char *) M + P224_SIZE, P224_SIZE); in mbedtls_ecp_mod_p448_raw()
5565 M[P224_WIDTH_MIN] &= ((mbedtls_mpi_uint)-1) >> (P224_UNUSED_BITS); in mbedtls_ecp_mod_p448_raw()
5567 memset(M + P224_WIDTH_MAX, 0, ((M_limbs - P224_WIDTH_MAX) * ciL)); in mbedtls_ecp_mod_p448_raw()
5570 (void) mbedtls_mpi_core_add(M, M, Q, Q_limbs); in mbedtls_ecp_mod_p448_raw()
[all …]
Ddhm.c168 static int dhm_random_below(mbedtls_mpi *R, const mbedtls_mpi *M, in dhm_random_below() argument
173 MBEDTLS_MPI_CHK(mbedtls_mpi_random(R, 3, M, f_rng, p_rng)); in dhm_random_below()
Decp.c2129 mbedtls_mpi M, mm; in ecp_comb_recode_scalar() local
2131 mbedtls_mpi_init(&M); in ecp_comb_recode_scalar()
2143 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&M, m)); in ecp_comb_recode_scalar()
2145 MBEDTLS_MPI_CHK(mbedtls_mpi_safe_cond_assign(&M, &mm, *parity_trick)); in ecp_comb_recode_scalar()
2148 ecp_comb_recode_core(k, d, w, &M); in ecp_comb_recode_scalar()
2152 mbedtls_mpi_free(&M); in ecp_comb_recode_scalar()
/mbedtls-latest/configs/ext/
DREADME.md16 are taken verbatim from the TF-M source code here:
18 https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/lib/ext/mbedcrypto/mbedcrypto_conf…
20 In TF-M, they are distributed under a 3-Clause BSD license, as noted at the top of the files.
22 In Mbed TLS, with permission from the TF-M project, they are distributed under a dual [Apache-2.0](…
/mbedtls-latest/docs/architecture/testing/
Ddriver-interface-test-strategy.md83 … key in a secure element involves multiple storage modifications (M<sub>1</sub>, ..., M<sub>n</sub…
85 …each potential interruption point (before M<sub>1</sub>, between M<sub>1</sub> and M<sub>2</sub>, …
/mbedtls-latest/tests/scripts/
Dset_psa_test_dependencies.py199 content_matches = list(re.finditer(r'^[\t ]*([^\t #].*)$', stanza, re.M))
/mbedtls-latest/3rdparty/p256-m/p256-m/
DREADME.md7 C, with optional bits of assembly for Arm Cortex-M and Cortex-A CPUs.
97 improve performance and code size. (On Cortex-M and Cortex-A cores wtih GCC or
330 This layer contains optional assembly for Cortex-M and Cortex-A cores, for the
430 versions, for Cortex-M/A cores with or without the DSP extension, and two
542 tested Cortex-M CPUs, while slightly reducing code size and stack usage) is
/mbedtls-latest/tests/suites/
Dtest_suite_ecp.function170 * - Random point mult: ~3250M
171 * - Cold base point mult: ~3300M
172 * - Hot base point mult: ~1100M
174 * - Random point mult: ~3850M
/mbedtls-latest/docs/proposed/
Dpsa-conditional-inclusion-c.md250 time-stamp-format: "%04Y/%02m/%02d %02H:%02M:%02S %Z"
Dpsa-driver-interface.md1457 time-stamp-format: "%04Y/%02m/%02d %02H:%02M:%02S %Z"
/mbedtls-latest/
DChangeLog147 MBEDTLS_SSL_CLI_C is disabled. Reported by M-Bab on GitHub in #9186.
301 performance by around 30% on 64-bit Intel; 125% on Armv7-M.
689 M-class CPUs (Cortex-M0, Cortex-M0+, Cortex-M1, Cortex-M23,
707 example TF-M configuration in configs/ from building cleanly:
2006 shared library. Reported by Guillermo Garcia M. in #4411.
2012 Arm Cortex-M. Fixes #4530.
2607 Contributed by Koh M. Nakagawa in #3326.
2911 Bernhard M. Wiedemann in #2357.
4823 (suggested by Thorsten Mühlfelder).
6219 by Jonathan M. McCune)
/mbedtls-latest/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md344 The primary target is a configuration like TF-M's medium profile, plus TLS with only AEAD ciphersui…