/openthread-latest/third_party/mbedtls/repo/library/ |
D | psa_crypto_ecp.c | 97 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 …]
|
D | psa_crypto_ecp.h | 46 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp); 89 mbedtls_ecp_keypair *ecp,
|
D | ecdsa.c | 146 #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()
|
D | pk_ecc.c | 35 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()
|
D | pk_wrap.c | 530 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()
|
D | Makefile | 132 ecp.o \
|
D | CMakeLists.txt | 40 ecp.c
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ecdh.function | 5 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 …]
|
D | test_suite_pkparse.function | 5 #include "mbedtls/ecp.h"
|
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/ |
D | fuzz_pubkey.c | 49 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()
|
D | fuzz_privkey.c | 73 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/ |
D | generate_ecp_tests.py | 18 from mbedtls_dev import ecp # pylint: disable=unused-import
|
D | all.sh | 2849 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/ |
D | key_app.c | 57 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()
|
D | gen_key.c | 161 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()
|
D | key_app_writer.c | 177 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 | .gitignore | 59 test/ecp-bench
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | ecdsa.h | 99 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(ecp); /*!< base context for ECP restart and
|
/openthread-latest/third_party/mbedtls/repo/docs/ |
D | driver-only-builds.md | 202 ### 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/ |
D | query_config.fmt | 41 #include "mbedtls/ecp.h"
|
/openthread-latest/third_party/mbedtls/ |
D | BUILD.gn | 82 "repo/include/mbedtls/ecp.h", 191 "repo/library/ecp.c",
|
/openthread-latest/third_party/mbedtls/repo/tests/ |
D | Makefile | 66 generated_ecp_test_data: ../scripts/mbedtls_dev/ecp.py
|
D | CMakeLists.txt | 107 ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/mbedtls_dev/ecp.py
|
/openthread-latest/third_party/mbedtls/repo/docs/proposed/ |
D | psa-conditional-inclusion-c.md | 24 …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/ |
D | strategy.md | 314 to/from PSA or legacy identifiers belongs in TLS, not `ecp.c`).
|