Home
last modified time | relevance | path

Searched refs:ecp (Results 1 – 25 of 31) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_crypto_ecp.c97 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecp_load_representation() local
134 ecp = mbedtls_calloc(1, sizeof(mbedtls_ecp_keypair)); in mbedtls_psa_ecp_load_representation()
135 if (ecp == NULL) { in mbedtls_psa_ecp_load_representation()
138 mbedtls_ecp_keypair_init(ecp); in mbedtls_psa_ecp_load_representation()
154 mbedtls_ecp_group_load(&ecp->grp, grp_id)); in mbedtls_psa_ecp_load_representation()
163 mbedtls_ecp_point_read_binary(&ecp->grp, &ecp->Q, in mbedtls_psa_ecp_load_representation()
172 mbedtls_ecp_check_pubkey(&ecp->grp, &ecp->Q)); in mbedtls_psa_ecp_load_representation()
179 mbedtls_ecp_read_key(ecp->grp.id, in mbedtls_psa_ecp_load_representation()
180 ecp, in mbedtls_psa_ecp_load_representation()
188 *p_ecp = ecp; in mbedtls_psa_ecp_load_representation()
[all …]
Dpsa_crypto_ecp.h46 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp);
89 mbedtls_ecp_keypair *ecp,
Decdsa.c146 #define ECDSA_RS_ECP (rs_ctx == NULL ? NULL : &rs_ctx->ecp)
155 if (rs_ctx != NULL && rs_ctx->ecp.depth++ == 0) \
156 rs_ctx->ecp.ops_done = 0; \
182 rs_ctx->ecp.depth--; \
831 mbedtls_ecp_restart_init(&ctx->ecp); in mbedtls_ecdsa_restart_init()
849 mbedtls_ecp_restart_free(&ctx->ecp); in mbedtls_ecdsa_restart_free()
Dpk_ecc.c35 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec_rw(*pk); in mbedtls_pk_ecc_set_group()
44 return mbedtls_ecp_group_load(&(ecp->grp), grp_id); in mbedtls_pk_ecc_set_group()
Dpk_wrap.c530 mbedtls_ecp_keypair *ecp = (mbedtls_ecp_keypair *) pk->pk_ctx; in eckey_get_bitlen()
531 return ecp->grp.pbits; in eckey_get_bitlen()
1106 mbedtls_ecp_keypair *ecp = (mbedtls_ecp_keypair *) pk->pk_ctx; in eckey_debug()
1109 items->value = &(ecp->Q); in eckey_debug()
DMakefile132 ecp.o \
DCMakeLists.txt40 ecp.c
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ecdh.function5 mbedtls_ecp_keypair *ecp)
8 TEST_ASSERT(mbedtls_ecp_group_load(&ecp->grp, grp_id) == 0);
9 TEST_ASSERT(mbedtls_ecp_point_read_binary(&ecp->grp,
10 &ecp->Q,
13 TEST_ASSERT(mbedtls_ecp_check_pubkey(&ecp->grp,
14 &ecp->Q) == 0);
21 mbedtls_ecp_keypair *ecp,
25 TEST_ASSERT(mbedtls_ecp_read_key(grp_id, ecp,
28 TEST_ASSERT(mbedtls_ecp_check_privkey(&ecp->grp, &ecp->d) == 0);
30 TEST_ASSERT(mbedtls_ecp_mul(&ecp->grp, &ecp->Q, &ecp->d,
[all …]
Dtest_suite_pkparse.function5 #include "mbedtls/ecp.h"
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_pubkey.c49 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput() local
50 mbedtls_ecp_group_id grp_id = mbedtls_ecp_keypair_get_group_id(ecp); in LLVMFuzzerTestOneInput()
64 if (mbedtls_ecp_export(ecp, NULL, &d, NULL) != 0) { in LLVMFuzzerTestOneInput()
Dfuzz_privkey.c73 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput() local
74 mbedtls_ecp_group_id grp_id = mbedtls_ecp_keypair_get_group_id(ecp); in LLVMFuzzerTestOneInput()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dgenerate_ecp_tests.py18 from mbedtls_dev import ecp # pylint: disable=unused-import
Dall.sh2849 grep mbedtls_ecp library/ecp.o
2947 not grep mbedtls_ecp_muladd library/ecp.o
2948 grep mxz library/ecp.o
2950 grep mbedtls_ecp_muladd library/ecp.o
2951 not grep mxz library/ecp.o
3042 not grep mbedtls_ecp_mul library/ecp.o
3147 not grep mbedtls_ecp_ library/ecp.o
3322 not grep mbedtls_ecp_ library/ecp.o
3425 not grep mbedtls_ecp_ library/ecp.o
/openthread-latest/third_party/mbedtls/repo/programs/pkey/
Dkey_app.c57 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument
63 mbedtls_ecp_keypair_get_group_id(ecp)); in show_ecp_key()
75 MBEDTLS_MPI_CHK(mbedtls_ecp_export(ecp, &grp, in show_ecp_key()
Dgen_key.c161 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument
167 mbedtls_ecp_keypair_get_group_id(ecp)); in show_ecp_key()
179 MBEDTLS_MPI_CHK(mbedtls_ecp_export(ecp, &grp, in show_ecp_key()
Dkey_app_writer.c177 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument
183 mbedtls_ecp_keypair_get_group_id(ecp)); in show_ecp_key()
195 MBEDTLS_MPI_CHK(mbedtls_ecp_export(ecp, &grp, in show_ecp_key()
/openthread-latest/third_party/mbedtls/repo/programs/
D.gitignore59 test/ecp-bench
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Decdsa.h99 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(ecp); /*!< base context for ECP restart and
/openthread-latest/third_party/mbedtls/repo/docs/
Ddriver-only-builds.md202 ### Limitations regarding fully removing `ecp.c`
204 A limited subset of `ecp.c` will still be automatically re-enabled if any of
214 Note: when any of the above options is enabled, a subset of `ecp.c` will
220 We do have plans to support each of these with `ecp.c` fully removed in the
243 removing `ecp.c`" above). However, what if you have an accelerator that only
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/
Dquery_config.fmt41 #include "mbedtls/ecp.h"
/openthread-latest/third_party/mbedtls/
DBUILD.gn82 "repo/include/mbedtls/ecp.h",
191 "repo/library/ecp.c",
/openthread-latest/third_party/mbedtls/repo/tests/
DMakefile66 generated_ecp_test_data: ../scripts/mbedtls_dev/ecp.py
DCMakeLists.txt107 ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/ecp.py
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-conditional-inclusion-c.md24 …uld still embark the `bignum` module and large parts of the `ecp_curves`, `ecp` and `ecdsa` module…
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dstrategy.md314 to/from PSA or legacy identifiers belongs in TLS, not `ecp.c`).

12