/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ecp.c | 432 int mbedtls_ecp_check_budget( const mbedtls_ecp_group *grp, in mbedtls_ecp_check_budget() 690 void mbedtls_ecp_group_init( mbedtls_ecp_group *grp ) in mbedtls_ecp_group_init() 739 void mbedtls_ecp_group_free( mbedtls_ecp_group *grp ) in mbedtls_ecp_group_free() 1083 int mbedtls_ecp_tls_read_group( mbedtls_ecp_group *grp, in mbedtls_ecp_tls_read_group() 2831 mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_muladd_restartable() 3171 int mbedtls_ecp_gen_privkey( const mbedtls_ecp_group *grp, in mbedtls_ecp_gen_privkey() 3196 int mbedtls_ecp_gen_keypair_base( mbedtls_ecp_group *grp, in mbedtls_ecp_gen_keypair_base() 3219 int mbedtls_ecp_gen_keypair( mbedtls_ecp_group *grp, in mbedtls_ecp_gen_keypair() 3363 mbedtls_ecp_group grp; in mbedtls_ecp_check_pub_priv() local 3441 mbedtls_ecp_group *grp, in self_test_point() [all …]
|
A D | ecjpake.c | 153 const mbedtls_ecp_group *grp, in ecjpake_write_len_point() 186 const mbedtls_ecp_group *grp, in ecjpake_hash() 234 const mbedtls_ecp_group *grp, in ecjpake_zkp_read() 306 const mbedtls_ecp_group *grp, in ecjpake_zkp_write() 367 const mbedtls_ecp_group *grp, in ecjpake_kkp_read() 404 const mbedtls_ecp_group *grp, in ecjpake_kkp_write() 441 const mbedtls_ecp_group *grp, in ecjpake_kkpp_read() 474 const mbedtls_ecp_group *grp, in ecjpake_kkpp_write() 541 static int ecjpake_ecp_add3( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecjpake_ecp_add3() 571 mbedtls_ecp_group grp; in mbedtls_ecjpake_read_round_two() local
|
A 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() 424 static int ecdsa_sign_det_restartable( mbedtls_ecp_group *grp, in ecdsa_sign_det_restartable() 557 int mbedtls_ecdsa_sign_det( mbedtls_ecp_group *grp, mbedtls_mpi *r, in mbedtls_ecdsa_sign_det() 573 int mbedtls_ecdsa_sign_det_ext( mbedtls_ecp_group *grp, mbedtls_mpi *r, in mbedtls_ecdsa_sign_det_ext() 598 static int ecdsa_verify_restartable( mbedtls_ecp_group *grp, in ecdsa_verify_restartable() 706 int mbedtls_ecdsa_verify( mbedtls_ecp_group *grp, in mbedtls_ecdsa_verify()
|
A D | pkparse.c | 239 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified() 384 static int pk_group_id_from_group( const mbedtls_ecp_group *grp, mbedtls_ecp_group_id *grp_id ) in pk_group_id_from_group() 432 mbedtls_ecp_group grp; in pk_group_id_from_specified() local 456 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
|
A D | ecdh.c | 72 static int ecdh_gen_public_restartable( mbedtls_ecp_group *grp, in ecdh_gen_public_restartable() 96 int mbedtls_ecdh_gen_public( mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecdh_gen_public() 112 static int ecdh_compute_shared_restartable( mbedtls_ecp_group *grp, in ecdh_compute_shared_restartable() 144 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared()
|
A D | ecp_curves.c | 605 static int ecp_group_load( mbedtls_ecp_group *grp, in ecp_group_load() 701 static int ecp_use_curve25519( mbedtls_ecp_group *grp ) in ecp_use_curve25519() 749 static int ecp_use_curve448( mbedtls_ecp_group *grp ) in ecp_use_curve448() 794 int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id ) in mbedtls_ecp_group_load()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | sm2-pke.c | 24 sm2_uncompressed_bytes_to_point(const mbedtls_ecp_group *grp, in sm2_uncompressed_bytes_to_point() 64 static TEE_Result sm2_bytes_to_point(const mbedtls_ecp_group *grp, in sm2_bytes_to_point() 119 mbedtls_ecp_group grp = { }; in sm2_mbedtls_pke_decrypt() local 307 mbedtls_ecp_group grp = { }; in sm2_mbedtls_pke_encrypt() local
|
A D | sm2-dsa.c | 30 mbedtls_ecp_group grp = { }; in sm2_mbedtls_dsa_sign() local 155 mbedtls_ecp_group grp = { }; in sm2_mbedtls_dsa_verify() local
|
A D | sm2-kep.c | 29 static TEE_Result sm2_kep_compute_Z(const mbedtls_ecp_group *grp, uint8_t *Z, in sm2_kep_compute_Z() 292 mbedtls_ecp_group grp = { }; in crypto_acipher_sm2_kep_derive() local
|
A D | ecc.c | 113 static void ecc_clear_precomputed(mbedtls_ecp_group *grp) in ecc_clear_precomputed()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | ecdh.h | 86 mbedtls_ecp_group grp; /*!< The elliptic curve used. */ member 107 mbedtls_ecp_group grp; /*!< The elliptic curve used. */ member
|
A D | ecjpake.h | 77 mbedtls_ecp_group grp; /**< Elliptic curve */ member
|
A D | ecp.h | 438 mbedtls_ecp_group grp; /*!< Elliptic curve and base point */ member
|