/third_party/mbedtls/include/mbedtls/ |
D | ecp.h | 227 typedef struct mbedtls_ecp_group struct 252 mbedtls_ecp_group; argument 395 int mbedtls_ecp_check_budget( const mbedtls_ecp_group *grp, 423 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /*!< Elliptic curve and base point */ 512 mbedtls_ecp_curve_type mbedtls_ecp_get_type( const mbedtls_ecp_group *grp ); 593 void mbedtls_ecp_group_init( mbedtls_ecp_group *grp ); 616 void mbedtls_ecp_group_free( mbedtls_ecp_group *grp ); 670 int mbedtls_ecp_group_copy( mbedtls_ecp_group *dst, 671 const mbedtls_ecp_group *src ); 750 int mbedtls_ecp_point_write_binary( const mbedtls_ecp_group *grp, [all …]
|
D | ecdh.h | 102 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /*!< The elliptic curve used. */ 123 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /*!< The elliptic curve used. */ 195 int mbedtls_ecdh_gen_public( mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q, 230 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z,
|
D | ecdsa.h | 169 int mbedtls_ecdsa_sign( mbedtls_ecp_group *grp, mbedtls_mpi *r, mbedtls_mpi *s, 213 int mbedtls_ecdsa_sign_det_ext( mbedtls_ecp_group *grp, mbedtls_mpi *r, 253 int mbedtls_ecdsa_verify( mbedtls_ecp_group *grp,
|
D | ecjpake.h | 74 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /**< Elliptic curve */
|
/third_party/mbedtls/library/ |
D | ecp_internal_alt.h | 75 unsigned char mbedtls_internal_ecp_grp_capable( const mbedtls_ecp_group *grp ); 92 int mbedtls_internal_ecp_init( const mbedtls_ecp_group *grp ); 100 void mbedtls_internal_ecp_free( const mbedtls_ecp_group *grp ); 120 int mbedtls_internal_ecp_randomize_jac( const mbedtls_ecp_group *grp, 165 int mbedtls_internal_ecp_add_mixed( const mbedtls_ecp_group *grp, 190 int mbedtls_internal_ecp_double_jac( const mbedtls_ecp_group *grp, 220 int mbedtls_internal_ecp_normalize_jac_many( const mbedtls_ecp_group *grp, 238 int mbedtls_internal_ecp_normalize_jac( const mbedtls_ecp_group *grp, 247 int mbedtls_internal_ecp_double_add_mxz( const mbedtls_ecp_group *grp, 268 int mbedtls_internal_ecp_randomize_mxz( const mbedtls_ecp_group *grp, [all …]
|
D | ecp.c | 272 int mbedtls_ecp_check_budget( const mbedtls_ecp_group *grp, in mbedtls_ecp_check_budget() 500 mbedtls_ecp_curve_type mbedtls_ecp_get_type( const mbedtls_ecp_group *grp ) in mbedtls_ecp_get_type() 526 void mbedtls_ecp_group_init( mbedtls_ecp_group *grp ) in mbedtls_ecp_group_init() 575 static int ecp_group_is_static_comb_table( const mbedtls_ecp_group *grp ) { in ecp_group_is_static_comb_table() 587 void mbedtls_ecp_group_free( mbedtls_ecp_group *grp ) in mbedtls_ecp_group_free() 610 mbedtls_platform_zeroize( grp, sizeof( mbedtls_ecp_group ) ); in mbedtls_ecp_group_free() 646 int mbedtls_ecp_group_copy( mbedtls_ecp_group *dst, const mbedtls_ecp_group *src ) in mbedtls_ecp_group_copy() 721 int mbedtls_ecp_point_write_binary( const mbedtls_ecp_group *grp, in mbedtls_ecp_point_write_binary() 796 int mbedtls_ecp_point_read_binary( const mbedtls_ecp_group *grp, in mbedtls_ecp_point_read_binary() 861 int mbedtls_ecp_tls_read_point( const mbedtls_ecp_group *grp, in mbedtls_ecp_tls_read_point() [all …]
|
D | ecjpake.c | 167 const mbedtls_ecp_group *grp, in ecjpake_write_len_point() 200 const mbedtls_ecp_group *grp, in ecjpake_hash() 248 const mbedtls_ecp_group *grp, in ecjpake_zkp_read() 298 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( (mbedtls_ecp_group *) grp, in ecjpake_zkp_read() 320 const mbedtls_ecp_group *grp, in ecjpake_zkp_write() 345 MBEDTLS_MPI_CHK( mbedtls_ecp_gen_keypair_base( (mbedtls_ecp_group *) grp, in ecjpake_zkp_write() 381 const mbedtls_ecp_group *grp, in ecjpake_kkp_read() 418 const mbedtls_ecp_group *grp, in ecjpake_kkp_write() 436 MBEDTLS_MPI_CHK( mbedtls_ecp_gen_keypair_base( (mbedtls_ecp_group *) grp, G, x, X, in ecjpake_kkp_write() 455 const mbedtls_ecp_group *grp, in ecjpake_kkpp_read() [all …]
|
D | ecdsa.c | 227 static int derive_mpi( const mbedtls_ecp_group *grp, mbedtls_mpi *x, in derive_mpi() 252 static int ecdsa_sign_restartable( mbedtls_ecp_group *grp, in ecdsa_sign_restartable() 403 int mbedtls_ecdsa_sign( mbedtls_ecp_group *grp, mbedtls_mpi *r, mbedtls_mpi *s, in mbedtls_ecdsa_sign() 427 static int ecdsa_sign_det_restartable( mbedtls_ecp_group *grp, in ecdsa_sign_det_restartable() 498 int mbedtls_ecdsa_sign_det_ext( mbedtls_ecp_group *grp, mbedtls_mpi *r, in mbedtls_ecdsa_sign_det_ext() 523 static int ecdsa_verify_restartable( mbedtls_ecp_group *grp, in ecdsa_verify_restartable() 631 int mbedtls_ecdsa_verify( mbedtls_ecp_group *grp, in mbedtls_ecdsa_verify()
|
D | ecdh.c | 74 static int ecdh_gen_public_restartable( mbedtls_ecp_group *grp, in ecdh_gen_public_restartable() 98 int mbedtls_ecdh_gen_public( mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecdh_gen_public() 114 static int ecdh_compute_shared_restartable( mbedtls_ecp_group *grp, in ecdh_compute_shared_restartable() 146 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared()
|
D | pkparse.c | 240 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified() 385 static int pk_group_id_from_group( const mbedtls_ecp_group *grp, mbedtls_ecp_group_id *grp_id ) in pk_group_id_from_group() 388 mbedtls_ecp_group ref; in pk_group_id_from_group() 433 mbedtls_ecp_group grp; in pk_group_id_from_specified() 457 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
|
D | ecp_curves.c | 4534 static int ecp_group_load( mbedtls_ecp_group *grp, in ecp_group_load() 4641 static int ecp_use_curve25519( mbedtls_ecp_group *grp ) in ecp_use_curve25519() 4689 static int ecp_use_curve448( mbedtls_ecp_group *grp ) in ecp_use_curve448() 4734 int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id ) in mbedtls_ecp_group_load()
|
/third_party/mbedtls/tests/include/alt-dummy/ |
D | ecp_alt.h | 22 typedef struct mbedtls_ecp_group struct 33 mbedtls_ecp_group; typedef
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ecp.function | 29 mbedtls_ecp_group grp; 77 mbedtls_ecp_group grp; 122 mbedtls_ecp_group grp; 210 mbedtls_ecp_group grp; 274 mbedtls_ecp_group grp; 330 mbedtls_ecp_group grp; 385 mbedtls_ecp_group grp; 432 mbedtls_ecp_group grp; 462 mbedtls_ecp_group grp; 505 mbedtls_ecp_group grp; [all …]
|
D | test_suite_ecdh.function | 65 mbedtls_ecp_group grp; 106 mbedtls_ecp_group grp; 248 mbedtls_ecp_group grp; 265 /* The ECDH context is not guaranteed ot have an mbedtls_ecp_group structure
|
D | test_suite_ecdsa.function | 13 mbedtls_ecp_group grp; 45 mbedtls_ecp_group grp; 83 mbedtls_ecp_group grp; 148 mbedtls_ecp_group grp;
|
D | test_suite_random.function | 179 mbedtls_ecp_group grp;
|
/third_party/mbedtls/programs/test/ |
D | benchmark.c | 498 void ecp_clear_precomputed( mbedtls_ecp_group *grp ) in ecp_clear_precomputed() 1143 mbedtls_ecp_group grp; in main()
|
/third_party/mbedtls/docs/architecture/ |
D | alternative-implementations.md | 51 * ECP: `mbedtls_ecp_group` must have the fields `id`, `P`, `A`, `B`, `G`, `N`, `pbits` and `nbits`.
|
/third_party/mbedtls/ |
D | ChangeLog | 2211 * Add the order of the base point as N in the mbedtls_ecp_group structure
|