/openthread-3.6.0/third_party/mbedtls/repo/library/ |
D | psa_crypto_ecp.c | 55 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecp_load_representation() local 94 ecp = mbedtls_calloc( 1, sizeof( mbedtls_ecp_keypair ) ); in mbedtls_psa_ecp_load_representation() 95 if( ecp == NULL ) in mbedtls_psa_ecp_load_representation() 97 mbedtls_ecp_keypair_init( ecp ); in mbedtls_psa_ecp_load_representation() 115 mbedtls_ecp_group_load( &ecp->grp, grp_id ) ); in mbedtls_psa_ecp_load_representation() 124 mbedtls_ecp_point_read_binary( &ecp->grp, &ecp->Q, in mbedtls_psa_ecp_load_representation() 132 mbedtls_ecp_check_pubkey( &ecp->grp, &ecp->Q ) ); in mbedtls_psa_ecp_load_representation() 140 mbedtls_ecp_read_key( ecp->grp.id, in mbedtls_psa_ecp_load_representation() 141 ecp, in mbedtls_psa_ecp_load_representation() 148 *p_ecp = ecp; in mbedtls_psa_ecp_load_representation() [all …]
|
D | psa_crypto_ecp.h | 92 mbedtls_ecp_keypair *ecp,
|
D | ecdsa.c | 170 #define ECDSA_RS_ECP ( rs_ctx == NULL ? NULL : &rs_ctx->ecp ) 179 if( rs_ctx != NULL && rs_ctx->ecp.depth++ == 0 ) \ 180 rs_ctx->ecp.ops_done = 0; \ 206 rs_ctx->ecp.depth--; \ 977 mbedtls_ecp_restart_init( &ctx->ecp ); in mbedtls_ecdsa_restart_init() 994 mbedtls_ecp_restart_free( &ctx->ecp ); in mbedtls_ecdsa_restart_free()
|
D | Makefile | 94 ecp.o \
|
D | CMakeLists.txt | 37 ecp.c
|
D | psa_crypto.c | 4856 mbedtls_ecp_keypair *ecp = NULL; in psa_key_agreement_raw_internal() local 4862 &ecp ); in psa_key_agreement_raw_internal() 4866 ecp, in psa_key_agreement_raw_internal() 4869 mbedtls_ecp_keypair_free( ecp ); in psa_key_agreement_raw_internal() 4870 mbedtls_free( ecp ); in psa_key_agreement_raw_internal()
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/pkey/ |
D | key_app.c | 224 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in main() local 225 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(X): ", &ecp->Q.X, 16, NULL ) ); in main() 226 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ) ); in main() 227 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ) ); in main() 228 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "D : ", &ecp->d , 16, NULL ) ); in main() 275 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in main() local 276 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(X): ", &ecp->Q.X, 16, NULL ) ); in main() 277 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ) ); in main() 278 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ) ); in main()
|
D | key_app_writer.c | 340 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main() local 341 mbedtls_mpi_write_file( "Q(X): ", &ecp->Q.X, 16, NULL ); in main() 342 mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ); in main() 343 mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ); in main() 344 mbedtls_mpi_write_file( "D : ", &ecp->d , 16, NULL ); in main() 393 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main() local 394 mbedtls_mpi_write_file( "Q(X): ", &ecp->Q.X, 16, NULL ); in main() 395 mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ); in main() 396 mbedtls_mpi_write_file( "Q(Z): ", &ecp->Q.Z, 16, NULL ); in main()
|
D | gen_key.c | 396 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main() local 398 mbedtls_ecp_curve_info_from_grp_id( ecp->grp.id )->name ); in main() 399 mbedtls_mpi_write_file( "X_Q: ", &ecp->Q.X, 16, NULL ); in main() 400 mbedtls_mpi_write_file( "Y_Q: ", &ecp->Q.Y, 16, NULL ); in main() 401 mbedtls_mpi_write_file( "D: ", &ecp->d , 16, NULL ); in main()
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/fuzz/ |
D | fuzz_pubkey.c | 45 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput() local 46 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput() 57 if( mbedtls_mpi_cmp_int( &ecp->d, 0 ) != 0 ) in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 50 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput() local 51 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
|
/openthread-3.6.0/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_ecp.function | 2 #include "mbedtls/ecp.h"
|
D | test_suite_pk.function | 7 #include "mbedtls/ecp.h"
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/ |
D | .gitignore | 58 test/ecp-bench
|
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/ |
D | ecdsa.h | 110 mbedtls_ecp_restart_ctx ecp; /*!< base context for ECP restart and member
|
/openthread-3.6.0/third_party/mbedtls/ |
D | BUILD.gn | 78 "repo/include/mbedtls/ecp.h", 152 "repo/library/ecp.c",
|
/openthread-3.6.0/third_party/mbedtls/repo/scripts/data_files/ |
D | query_config.fmt | 62 #include "mbedtls/ecp.h"
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/ |
D | CMakeLists.txt | 117 add_test_suite(ecp)
|
/openthread-3.6.0/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-3.6.0/third_party/mbedtls/repo/ |
D | ChangeLog | 3414 * Split off curves from ecp.c into ecp_curves.c
|