Home
last modified time | relevance | path

Searched refs:Z (Results 1 – 19 of 19) sorted by relevance

/hal_espressif-latest/components/mbedtls/port/
Desp_bignum.c226 int esp_mpi_mul_mpi_mod(mbedtls_mpi *Z, const mbedtls_mpi *X, const mbedtls_mpi *Y, const mbedtls_m… in esp_mpi_mul_mpi_mod() argument
251 MBEDTLS_MPI_CHK(mbedtls_mpi_grow(Z, z_words)); in esp_mpi_mul_mpi_mod()
253 esp_mpi_read_result_hw_op(Z, z_words); in esp_mpi_mul_mpi_mod()
254 Z->MBEDTLS_PRIVATE(s) = X->MBEDTLS_PRIVATE(s) * Y->MBEDTLS_PRIVATE(s); in esp_mpi_mul_mpi_mod()
289 static int mpi_montgomery_exp_calc( mbedtls_mpi *Z, const mbedtls_mpi *X, const mbedtls_mpi *Y, con… in mpi_montgomery_exp_calc() argument
317 MBEDTLS_MPI_CHK( esp_mont_hw_op(Z, Rinv, &one, M, Mprime, hw_words, true) ); in mpi_montgomery_exp_calc()
323 MBEDTLS_MPI_CHK( esp_mont_hw_op(Z, Z, Z, M, Mprime, hw_words, true) ); in mpi_montgomery_exp_calc()
328 MBEDTLS_MPI_CHK( esp_mont_hw_op(Z, Z, &X_, M, Mprime, hw_words, true) ); in mpi_montgomery_exp_calc()
333 MBEDTLS_MPI_CHK( esp_mont_hw_op(Z, Z, &one, M, Mprime, hw_words, true) ); in mpi_montgomery_exp_calc()
355 static int esp_mpi_exp_mod( mbedtls_mpi *Z, const mbedtls_mpi *X, const mbedtls_mpi *Y, const mbedt… in esp_mpi_exp_mod() argument
[all …]
/hal_espressif-latest/components/mbedtls/port/esp32/
Dbignum.c154 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words) in esp_mpi_read_result_hw_op() argument
157 mem_block_to_mpi(Z, RSA_MEM_Z_BLOCK_BASE, z_words); in esp_mpi_read_result_hw_op()
206 int esp_mont_hw_op(mbedtls_mpi *Z, const mbedtls_mpi *X, const mbedtls_mpi *Y, const mbedtls_mpi *M, in esp_mont_hw_op() argument
225 Z->MBEDTLS_PRIVATE(s) = 1; // The sign of Z will be = M->s (but M->s is always 1) in esp_mont_hw_op()
226 MBEDTLS_MPI_CHK( mbedtls_mpi_grow(Z, hw_words) ); in esp_mont_hw_op()
231 mem_block_to_mpi(Z, RSA_MEM_Z_BLOCK_BASE, hw_words); in esp_mont_hw_op()
235 if (mbedtls_mpi_cmp_mpi(Z, M) >= 0) { in esp_mont_hw_op()
236 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(Z, Z, M)); in esp_mont_hw_op()
/hal_espressif-latest/components/mbedtls/port/include/
Dbignum_impl.h61 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words);
68 int esp_mont_hw_op(mbedtls_mpi* Z, const mbedtls_mpi* X, const mbedtls_mpi* Y, const mbedtls_mpi* M,
/hal_espressif-latest/components/mbedtls/port/include/mbedtls/
Dbignum.h70 int esp_mpi_mul_mpi_mod(mbedtls_mpi *Z, const mbedtls_mpi *X, const mbedtls_mpi *Y, const mbedtls_m…
/hal_espressif-latest/components/mbedtls/port/ecc/
Decc_alt.c44 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&R->MBEDTLS_PRIVATE(Z), 1)); in esp_mbedtls_ecp_point_multiply()
97 if( mbedtls_mpi_cmp_int( &pt->MBEDTLS_PRIVATE(Z), 1 ) != 0 ) in mbedtls_ecp_check_pubkey()
/hal_espressif-latest/components/mbedtls/port/esp32s2/
Dbignum.c127 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words) in esp_mpi_read_result_hw_op() argument
130 mem_block_to_mpi(Z, RSA_MEM_Z_BLOCK_BASE, z_words); in esp_mpi_read_result_hw_op()
/hal_espressif-latest/components/mbedtls/port/esp32s3/
Dbignum.c129 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words) in esp_mpi_read_result_hw_op() argument
132 mem_block_to_mpi(Z, RSA_MEM_Z_BLOCK_BASE, z_words); in esp_mpi_read_result_hw_op()
/hal_espressif-latest/components/mbedtls/port/esp32c3/
Dbignum.c132 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words) in esp_mpi_read_result_hw_op() argument
135 mem_block_to_mpi(Z, RSA_MEM_Z_BLOCK_BASE, z_words); in esp_mpi_read_result_hw_op()
/hal_espressif-latest/components/mbedtls/port/esp32c6/
Dbignum.c133 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words) in esp_mpi_read_result_hw_op() argument
136 mem_block_to_mpi(Z, RSA_Z_MEM, z_words); in esp_mpi_read_result_hw_op()
/hal_espressif-latest/components/mbedtls/port/esp32h2/
Dbignum.c133 void esp_mpi_read_result_hw_op(mbedtls_mpi *Z, size_t z_words) in esp_mpi_read_result_hw_op() argument
136 mem_block_to_mpi(Z, RSA_Z_MEM_REG, z_words); in esp_mpi_read_result_hw_op()
/hal_espressif-latest/components/bootloader_support/src/secure_boot_v2/
Dsecure_boot_ecdsa_signature.c93 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&ecdsa_context.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Z), 1)); in verify_ecdsa_signature_block()
/hal_espressif-latest/components/bootloader_support/src/secure_boot_v1/
Dsecure_boot_signatures_app.c116 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&ecdsa_context.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Z), 1)); in esp_secure_boot_verify_ecdsa_signature_block()
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/include/tinycrypt/
Decc.h377 void apply_z(uECC_word_t * X1, uECC_word_t * Y1, const uECC_word_t * const Z,
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Decc.h377 void apply_z(uECC_word_t *X1, uECC_word_t *Y1, const uECC_word_t *const Z,
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/
Decc.c627 void apply_z(uECC_word_t * X1, uECC_word_t * Y1, const uECC_word_t * const Z, in apply_z() argument
632 uECC_vli_modSquare_fast(t1, Z, curve); /* z^2 */ in apply_z()
634 uECC_vli_modMult_fast(t1, t1, Z, curve); /* z^3 */ in apply_z()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc.c626 void apply_z(uECC_word_t *X1, uECC_word_t *Y1, const uECC_word_t *const Z, in apply_z() argument
631 uECC_vli_modSquare_fast(t1, Z, curve); /* z^2 */ in apply_z()
633 uECC_vli_modMult_fast(t1, t1, Z, curve); /* z^3 */ in apply_z()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c200 if (!mbedtls_ecp_is_zero(point) && (mbedtls_mpi_cmp_int( &point->MBEDTLS_PRIVATE(Z), 1 ) == 0 )) { in crypto_ec_get_affine_coordinates()
237 MBEDTLS_MPI_CHK(mbedtls_mpi_lset((&pt->MBEDTLS_PRIVATE(Z)), 1)); in crypto_ec_point_from_bin()
354 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&((mbedtls_ecp_point *)p)->MBEDTLS_PRIVATE(Z), 1)); in crypto_ec_point_solve_y_coord()
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h377 extern void smp_f4_calc_chk (UINT8 *U, UINT8 *V, UINT8 *X, UINT8 *Z, UINT8 *mac);
/hal_espressif-latest/components/mbedtls/esp_crt_bundle/
Dcacrt_all.pem157 Z+YTRYPENvbzwCYMDbVHZF34tHLJRqUDGCdViXh9duqWNIAXINzng/iN/Ae42l9NLmeyhP3ZRPx3
1535 82Z+
2956 XgQPYh1jdfdr58tbmnDsPmcF8P4HCIDPKNsFxhQnL4Z98Cfe/+Z+M0jnCx5Y0ScrUw5XSmXX+6KA