/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_math.h | 14 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 D | tomcrypt_private.h | 293 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 D | tomcrypt_pk.h | 204 } ecc_point; typedef 219 ecc_point base; 236 ecc_point pubkey;
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_points.c | 17 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 D | ltc_ecc_mul2add.c | 25 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 D | ltc_ecc_mulmod_timing.c | 25 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 D | ltc_ecc_mulmod.c | 26 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 D | ltc_ecc_is_point_at_infinity.c | 12 int ltc_ecc_is_point_at_infinity(const ecc_point *P, void *modulus, int *retval) in ltc_ecc_is_point_at_infinity()
|
A D | ecc_shared_secret.c | 25 ecc_point *result; in ecc_shared_secret()
|
A D | ltc_ecc_verify_key.c | 19 ecc_point *point; in ltc_ecc_verify_key()
|
A D | ltc_ecc_projective_add_point.c | 23 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 D | ltc_ecc_map.c | 20 int ltc_ecc_map(ecc_point *P, void *modulus, void *mp) in ltc_ecc_map()
|
A D | ltc_ecc_projective_dbl_point.c | 40 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 D | ecc_verify_hash.c | 28 ecc_point *mG = NULL, *mQ = NULL; in ecc_verify_hash_ex()
|
A D | ecc_recover_key.c | 30 ecc_point *mG = NULL, *mQ = NULL, *mR = NULL; in ecc_recover_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sm2-pke.c | 24 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 D | sm2-dsa.c | 26 ecc_point *x1y1p = NULL; in sm2_ltc_dsa_sign() 154 ecc_point *x1y1p = NULL; in sm2_ltc_dsa_verify()
|
A D | sm2-kep.c | 104 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 D | ltc_ecc_fp_mulmod.c | 29 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 D | tfm_desc.c | 423 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 D | crypt_sizes.c | 243 SZ_STRINGIFY_T(ecc_point),
|