/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_math.h | 21 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 D | tomcrypt_private.h | 265 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 D | tomcrypt_pk.h | 211 } ecc_point; typedef 226 ecc_point base; 243 ecc_point pubkey;
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_points.c | 24 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 D | ltc_ecc_mul2add.c | 32 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 D | ltc_ecc_mulmod_timing.c | 32 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 D | ltc_ecc_mulmod.c | 33 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 D | ltc_ecc_projective_add_point.c | 30 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_is_point_at_infinity.c | 19 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 | 32 ecc_point *result; in ecc_shared_secret()
|
A D | ltc_ecc_verify_key.c | 26 ecc_point *point; in ltc_ecc_verify_key()
|
A D | ltc_ecc_map.c | 27 int ltc_ecc_map(ecc_point *P, void *modulus, void *mp) in ltc_ecc_map()
|
A D | ltc_ecc_projective_dbl_point.c | 47 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 | 35 ecc_point *mG = NULL, *mQ = NULL; in ecc_verify_hash_ex()
|
A D | ecc_recover_key.c | 37 ecc_point *mG = NULL, *mQ = NULL, *mR = NULL; in ecc_recover_key()
|
/optee_os/core/lib/libtomcrypt/ |
A D | sm2-pke.c | 23 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 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/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 36 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 D | tfm_desc.c | 430 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 D | crypt_sizes.c | 250 _SZ_STRINGIFY_T(ecc_point),
|