Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h14 typedef void ecc_point; typedef
385 const ecc_point *G,
386 ecc_point *R,
400 int (*ecc_ptadd)(const ecc_point *P,
401 const ecc_point *Q,
402 ecc_point *R,
415 int (*ecc_ptdbl)(const ecc_point *P,
416 ecc_point *R,
443 int (*ecc_mul2add)(const ecc_point *A, void *kA,
444 const ecc_point *B, void *kB,
[all …]
A Dtomcrypt_private.h293 ecc_point *ltc_ecc_new_point(void);
294 void ltc_ecc_del_point(ecc_point *p);
296 int ltc_ecc_copy_point(const ecc_point *src, ecc_point *dst);
306 int ltc_ecc_projective_dbl_point(const ecc_point *P, ecc_point *R, void *ma, void *modulus, void *m…
309 int ltc_ecc_projective_add_point(const ecc_point *P, const ecc_point *Q, ecc_point *R, void *ma, vo…
314 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
327 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
331 int ltc_ecc_mul2add(const ecc_point *A, void *kA,
332 const ecc_point *B, void *kB,
333 ecc_point *C,
[all …]
A Dtomcrypt_pk.h204 } ecc_point; typedef
219 ecc_point base;
236 ecc_point pubkey;
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_points.c17 ecc_point *ltc_ecc_new_point(void) in ltc_ecc_new_point()
19 ecc_point *p; in ltc_ecc_new_point()
35 void ltc_ecc_del_point(ecc_point *p) in ltc_ecc_del_point()
44 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()
53 int ltc_ecc_copy_point(const ecc_point *src, ecc_point *dst) in ltc_ecc_copy_point()
A Dltc_ecc_mul2add.c25 int ltc_ecc_mul2add(const ecc_point *A, void *kA, in ltc_ecc_mul2add()
26 const ecc_point *B, void *kB, in ltc_ecc_mul2add()
27 ecc_point *C, in ltc_ecc_mul2add()
31 ecc_point *precomp[16]; in ltc_ecc_mul2add()
A Dltc_ecc_mulmod_timing.c25 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod()
27 ecc_point *tG, *M[3]; in ltc_ecc_mulmod()
A Dltc_ecc_mulmod.c26 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod()
28 ecc_point *tG, *M[8]; in ltc_ecc_mulmod()
A Dltc_ecc_is_point_at_infinity.c12 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.c25 ecc_point *result; in ecc_shared_secret()
A Dltc_ecc_verify_key.c19 ecc_point *point; in ltc_ecc_verify_key()
A Dltc_ecc_projective_add_point.c23 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_map.c20 int ltc_ecc_map(ecc_point *P, void *modulus, void *mp) in ltc_ecc_map()
A Dltc_ecc_projective_dbl_point.c40 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.c28 ecc_point *mG = NULL, *mQ = NULL; in ecc_verify_hash_ex()
A Decc_recover_key.c30 ecc_point *mG = NULL, *mQ = NULL, *mR = NULL; in ecc_recover_key()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dsm2-pke.c24 sm2_uncompressed_bytes_to_point(ecc_point *p, const ltc_ecc_dp *dp, in sm2_uncompressed_bytes_to_point()
63 static TEE_Result sm2_bytes_to_point(ecc_point *p, const ltc_ecc_dp *dp, in sm2_bytes_to_point()
115 ecc_point *C1 = NULL; in sm2_ltc_pke_decrypt()
117 ecc_point *S = NULL; in sm2_ltc_pke_decrypt()
118 ecc_point *x2y2p = NULL; in sm2_ltc_pke_decrypt()
307 const ecc_point *p) in sm2_point_to_bytes()
337 ecc_point *x2y2p = NULL; in sm2_ltc_pke_encrypt()
338 ecc_point *C1 = NULL; in sm2_ltc_pke_encrypt()
339 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-3.20.0/core/lib/libtomcrypt/src/math/fp/
A Dltc_ecc_fp_mulmod.c29 ecc_point *g, /* cached COPY of base point */
605 static int s_find_base(ecc_point *g) in s_find_base()
623 static int s_add_entry(int idx, ecc_point *g) in s_add_entry()
772 static int s_accel_fp_mul(int idx, void *k, ecc_point *R, void *a, void *modulus, void *mp, int map) in s_accel_fp_mul()
897 ecc_point *R, void *a, void *modulus, void *mp) in ss_accel_fp_mul2add()
1105 int ltc_ecc_fp_mul2add(ecc_point *A, void *kA, in ltc_ecc_fp_mul2add()
1106 ecc_point *B, void *kB, in ltc_ecc_fp_mul2add()
1107 ecc_point *C, in ltc_ecc_fp_mul2add()
1222 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_fp_mulmod()
1326 ltc_ecc_fp_add_point(ecc_point *g, void *modulus, int lock) in ltc_ecc_fp_add_point()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dtfm_desc.c423 static int tfm_ecc_projective_dbl_point(const ecc_point *P, ecc_point *R, void *ma, void *modulus, … in tfm_ecc_projective_dbl_point()
578 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-3.20.0/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_sizes.c243 SZ_STRINGIFY_T(ecc_point),

Completed in 23 milliseconds