Home
last modified time | relevance | path

Searched refs:ecc_point (Results 1 – 21 of 21) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h21 typedef void ecc_point; typedef
392 const ecc_point *G,
393 ecc_point *R,
407 int (*ecc_ptadd)(const ecc_point *P,
408 const ecc_point *Q,
409 ecc_point *R,
422 int (*ecc_ptdbl)(const ecc_point *P,
423 ecc_point *R,
450 int (*ecc_mul2add)(const ecc_point *A, void *kA,
451 const ecc_point *B, void *kB,
[all …]
A Dtomcrypt_private.h265 ecc_point *ltc_ecc_new_point(void);
266 void ltc_ecc_del_point(ecc_point *p);
268 int ltc_ecc_copy_point(const ecc_point *src, ecc_point *dst);
278 int ltc_ecc_projective_dbl_point(const ecc_point *P, ecc_point *R, void *ma, void *modulus, void *m…
281 int ltc_ecc_projective_add_point(const ecc_point *P, const ecc_point *Q, ecc_point *R, void *ma, vo…
286 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
299 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
303 int ltc_ecc_mul2add(const ecc_point *A, void *kA,
304 const ecc_point *B, void *kB,
305 ecc_point *C,
[all …]
A Dtomcrypt_pk.h211 } ecc_point; typedef
226 ecc_point base;
243 ecc_point pubkey;
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_points.c24 ecc_point *ltc_ecc_new_point(void) in ltc_ecc_new_point()
26 ecc_point *p; in ltc_ecc_new_point()
42 void ltc_ecc_del_point(ecc_point *p) in ltc_ecc_del_point()
51 int ltc_ecc_set_point_xyz(ltc_mp_digit x, ltc_mp_digit y, ltc_mp_digit z, ecc_point *p) in ltc_ecc_set_point_xyz()
60 int ltc_ecc_copy_point(const ecc_point *src, ecc_point *dst) in ltc_ecc_copy_point()
A Dltc_ecc_mul2add.c32 int ltc_ecc_mul2add(const ecc_point *A, void *kA, in ltc_ecc_mul2add()
33 const ecc_point *B, void *kB, in ltc_ecc_mul2add()
34 ecc_point *C, in ltc_ecc_mul2add()
38 ecc_point *precomp[16]; in ltc_ecc_mul2add()
A Dltc_ecc_mulmod_timing.c32 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod()
34 ecc_point *tG, *M[3]; in ltc_ecc_mulmod()
A Dltc_ecc_mulmod.c33 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod()
35 ecc_point *tG, *M[8]; in ltc_ecc_mulmod()
A Dltc_ecc_projective_add_point.c30 int ltc_ecc_projective_add_point(const ecc_point *P, const ecc_point *Q, ecc_point *R, void *ma, vo… in ltc_ecc_projective_add_point()
A Dltc_ecc_is_point_at_infinity.c19 int ltc_ecc_is_point_at_infinity(const ecc_point *P, void *modulus, int *retval) in ltc_ecc_is_point_at_infinity()
A Decc_shared_secret.c32 ecc_point *result; in ecc_shared_secret()
A Dltc_ecc_verify_key.c26 ecc_point *point; in ltc_ecc_verify_key()
A Dltc_ecc_map.c27 int ltc_ecc_map(ecc_point *P, void *modulus, void *mp) in ltc_ecc_map()
A Dltc_ecc_projective_dbl_point.c47 int ltc_ecc_projective_dbl_point(const ecc_point *P, ecc_point *R, void *ma, void *modulus, void *m… in ltc_ecc_projective_dbl_point()
A Decc_verify_hash.c35 ecc_point *mG = NULL, *mQ = NULL; in ecc_verify_hash_ex()
A Decc_recover_key.c37 ecc_point *mG = NULL, *mQ = NULL, *mR = NULL; in ecc_recover_key()
/optee_os/core/lib/libtomcrypt/
A Dsm2-pke.c23 sm2_uncompressed_bytes_to_point(ecc_point *p, const ltc_ecc_dp *dp, in sm2_uncompressed_bytes_to_point()
62 static TEE_Result sm2_bytes_to_point(ecc_point *p, const ltc_ecc_dp *dp, in sm2_bytes_to_point()
114 ecc_point *C1 = NULL; in sm2_ltc_pke_decrypt()
116 ecc_point *S = NULL; in sm2_ltc_pke_decrypt()
117 ecc_point *x2y2p = NULL; in sm2_ltc_pke_decrypt()
306 const ecc_point *p) in sm2_point_to_bytes()
336 ecc_point *x2y2p = NULL; in sm2_ltc_pke_encrypt()
337 ecc_point *C1 = NULL; in sm2_ltc_pke_encrypt()
338 ecc_point *S = NULL; in sm2_ltc_pke_encrypt()
A Dsm2-dsa.c26 ecc_point *x1y1p = NULL; in sm2_ltc_dsa_sign()
154 ecc_point *x1y1p = NULL; in sm2_ltc_dsa_verify()
A Dsm2-kep.c104 ecc_point *UV, const uint8_t *ZAZB, in sm2_kep_compute_S()
222 ecc_point *U = NULL; in sm2_kep_derive()
/optee_os/core/lib/libtomcrypt/src/math/fp/
A Dltc_ecc_fp_mulmod.c36 ecc_point *g, /* cached COPY of base point */
612 static int _find_base(ecc_point *g) in _find_base()
630 static int _add_entry(int idx, ecc_point *g) in _add_entry()
779 static int _accel_fp_mul(int idx, void *k, ecc_point *R, void *a, void *modulus, void *mp, int map) in _accel_fp_mul()
904 ecc_point *R, void *a, void *modulus, void *mp) in _accel_fp_mul2add()
1112 int ltc_ecc_fp_mul2add(ecc_point *A, void *kA, in ltc_ecc_fp_mul2add()
1113 ecc_point *B, void *kB, in ltc_ecc_fp_mul2add()
1114 ecc_point *C, in ltc_ecc_fp_mul2add()
1229 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_fp_mulmod()
1333 ltc_ecc_fp_add_point(ecc_point *g, void *modulus, int lock) in ltc_ecc_fp_add_point()
[all …]
/optee_os/core/lib/libtomcrypt/src/math/
A Dtfm_desc.c430 static int tfm_ecc_projective_dbl_point(const ecc_point *P, ecc_point *R, void *ma, void *modulus, … in tfm_ecc_projective_dbl_point()
585 static int tfm_ecc_projective_add_point(const ecc_point *P, const ecc_point *Q, ecc_point *R, void … in tfm_ecc_projective_add_point()
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_sizes.c250 _SZ_STRINGIFY_T(ecc_point),

Completed in 23 milliseconds