Home
last modified time | relevance | path

Searched refs:mbedtls_ecp_group (Results 1 – 17 of 17) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Decp_internal.h79 unsigned char mbedtls_internal_ecp_grp_capable( const mbedtls_ecp_group *grp );
96 int mbedtls_internal_ecp_init( const mbedtls_ecp_group *grp );
104 void mbedtls_internal_ecp_free( const mbedtls_ecp_group *grp );
124 int mbedtls_internal_ecp_randomize_jac( const mbedtls_ecp_group *grp,
169 int mbedtls_internal_ecp_add_mixed( const mbedtls_ecp_group *grp,
194 int mbedtls_internal_ecp_double_jac( const mbedtls_ecp_group *grp,
224 int mbedtls_internal_ecp_normalize_jac_many( const mbedtls_ecp_group *grp,
242 int mbedtls_internal_ecp_normalize_jac( const mbedtls_ecp_group *grp,
251 int mbedtls_internal_ecp_double_add_mxz( const mbedtls_ecp_group *grp,
272 int mbedtls_internal_ecp_randomize_mxz( const mbedtls_ecp_group *grp,
[all …]
A Decp.h264 typedef struct mbedtls_ecp_group struct
287 mbedtls_ecp_group; argument
410 int mbedtls_ecp_check_budget( const mbedtls_ecp_group *grp,
608 void mbedtls_ecp_group_init( mbedtls_ecp_group *grp );
631 void mbedtls_ecp_group_free( mbedtls_ecp_group *grp );
685 int mbedtls_ecp_group_copy( mbedtls_ecp_group *dst,
686 const mbedtls_ecp_group *src );
881 int mbedtls_ecp_tls_read_group( mbedtls_ecp_group *grp,
1083 mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
1156 int mbedtls_ecp_gen_privkey( const mbedtls_ecp_group *grp,
[all …]
A Decdh.h86 mbedtls_ecp_group grp; /*!< The elliptic curve used. */
107 mbedtls_ecp_group grp; /*!< The elliptic curve used. */
179 int mbedtls_ecdh_gen_public( mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q,
217 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z,
A Decdsa.h172 int mbedtls_ecdsa_sign( mbedtls_ecp_group *grp, mbedtls_mpi *r, mbedtls_mpi *s,
231 int mbedtls_ecdsa_sign_det( mbedtls_ecp_group *grp, mbedtls_mpi *r,
277 int mbedtls_ecdsa_sign_det_ext( mbedtls_ecp_group *grp, mbedtls_mpi *r,
317 int mbedtls_ecdsa_verify( mbedtls_ecp_group *grp,
A Decjpake.h77 mbedtls_ecp_group grp; /**< Elliptic curve */
A Dcompat-1.3.h1918 #define ecp_group mbedtls_ecp_group
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Decp.c432 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()
798 int mbedtls_ecp_group_copy( mbedtls_ecp_group *dst, const mbedtls_ecp_group *src ) in mbedtls_ecp_group_copy()
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()
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()
3441 mbedtls_ecp_group *grp, in self_test_point()
[all …]
A Decjpake.c153 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()
284 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( (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()
[all …]
A Decdsa.c227 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 Decdh.c72 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 Dpkparse.c239 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()
387 mbedtls_ecp_group ref; in pk_group_id_from_group()
432 mbedtls_ecp_group grp; in pk_group_id_from_specified()
456 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
A Decp_curves.c605 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 Dsm2-pke.c24 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()
307 mbedtls_ecp_group grp = { }; in sm2_mbedtls_pke_encrypt()
A Dsm2-dsa.c30 mbedtls_ecp_group grp = { }; in sm2_mbedtls_dsa_sign()
155 mbedtls_ecp_group grp = { }; in sm2_mbedtls_dsa_verify()
A Dsm2-kep.c29 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()
A Decc.c113 static void ecc_clear_precomputed(mbedtls_ecp_group *grp) in ecc_clear_precomputed()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog1982 * Add the order of the base point as N in the mbedtls_ecp_group structure

Completed in 47 milliseconds