/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_pk.h | 189 } ecc_point; typedef 203 ecc_point pubkey; 249 ecc_point *ltc_ecc_new_point(void); 250 void ltc_ecc_del_point(ecc_point *p); 256 int ltc_ecc_projective_dbl_point(ecc_point *P, ecc_point *R, void *modulus, void *mp); 259 int ltc_ecc_projective_add_point(ecc_point *P, ecc_point *Q, ecc_point *R, void *modulus, void *mp); 263 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map); 270 int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map); 274 int ltc_ecc_mul2add(ecc_point *A, void *kA, 275 ecc_point *B, void *kB, [all …]
|
D | tomcrypt_math.h | 11 typedef void ecc_point; typedef 347 int (*ecc_ptmul)(void *k, ecc_point *G, ecc_point *R, void *modulus, int map); 357 int (*ecc_ptadd)(ecc_point *P, ecc_point *Q, ecc_point *R, void *modulus, void *mp); 366 int (*ecc_ptdbl)(ecc_point *P, ecc_point *R, void *modulus, void *mp); 376 int (*ecc_map)(ecc_point *P, void *modulus, void *mp); 387 int (*ecc_mul2add)(ecc_point *A, void *kA, 388 ecc_point *B, void *kB, 389 ecc_point *C,
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_points.c | 30 ecc_point *ltc_ecc_new_point(void) in ltc_ecc_new_point() 32 ecc_point *p; in ltc_ecc_new_point() 47 void ltc_ecc_del_point(ecc_point *p) in ltc_ecc_del_point()
|
D | ltc_ecc_mul2add.c | 37 int ltc_ecc_mul2add(ecc_point *A, void *kA, in ltc_ecc_mul2add() 38 ecc_point *B, void *kB, in ltc_ecc_mul2add() 39 ecc_point *C, in ltc_ecc_mul2add() 42 ecc_point *precomp[16]; in ltc_ecc_mul2add()
|
D | ltc_ecc_mulmod_timing.c | 37 int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) in ltc_ecc_mulmod() 39 ecc_point *tG, *M[3]; in ltc_ecc_mulmod()
|
D | ltc_ecc_mulmod.c | 39 int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) in ltc_ecc_mulmod() 41 ecc_point *tG, *M[8]; in ltc_ecc_mulmod()
|
D | ltc_ecc_projective_add_point.c | 35 int ltc_ecc_projective_add_point(ecc_point *P, ecc_point *Q, ecc_point *R, void *modulus, void *mp) in ltc_ecc_projective_add_point()
|
D | ltc_ecc_projective_dbl_point.c | 34 int ltc_ecc_projective_dbl_point(ecc_point *P, ecc_point *R, void *modulus, void *mp) in ltc_ecc_projective_dbl_point()
|
D | ecc_shared_secret.c | 38 ecc_point *result; in ecc_shared_secret()
|
D | ltc_ecc_map.c | 33 int ltc_ecc_map(ecc_point *P, void *modulus, void *mp) in ltc_ecc_map()
|
D | ecc_test.c | 33 ecc_point *G, *GG; in ecc_test()
|
D | ecc_make_key.c | 53 ecc_point *base; in ecc_make_key_ex()
|
D | ecc_verify_hash.c | 50 ecc_point *mG, *mQ; in ecc_verify_hash()
|
/external/dropbear/libtomcrypt/src/math/fp/ |
D | ltc_ecc_fp_mulmod.c | 37 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 *modulus, void *mp, int map) in accel_fp_mul() 904 ecc_point *R, void *modulus, void *mp) in accel_fp_mul2add() 1110 int ltc_ecc_fp_mul2add(ecc_point *A, void *kA, in ltc_ecc_fp_mul2add() 1111 ecc_point *B, void *kB, in ltc_ecc_fp_mul2add() 1112 ecc_point *C, void *modulus) in ltc_ecc_fp_mul2add() 1222 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) in ltc_ecc_fp_mulmod()
|
/external/dropbear/libtomcrypt/src/math/ |
D | tfm_desc.c | 408 static int tfm_ecc_projective_dbl_point(ecc_point *P, ecc_point *R, void *modulus, void *Mp) in tfm_ecc_projective_dbl_point() 525 static int tfm_ecc_projective_add_point(ecc_point *P, ecc_point *Q, ecc_point *R, void *modulus, vo… in tfm_ecc_projective_add_point()
|
/external/dropbear/libtomcrypt/testprof/ |
D | ecc_test.c | 36 ecc_point *G, *A, *B, *C1, *C2; in ecc_test_shamir()
|
/external/dropbear/libtomcrypt/demos/ |
D | tv_gen.c | 665 ecc_point *G, *R; in ecc_gen()
|
/external/dropbear/libtomcrypt/ |
D | crypt.tex | 6300 ecc_point *G, 6301 ecc_point *R, 6313 int (*ecc_ptadd)(ecc_point *P, 6314 ecc_point *Q, 6315 ecc_point *R, 6326 int (*ecc_ptdbl)(ecc_point *P, 6327 ecc_point *R, 6338 ecc_point only has three integers (x,y,z) so if 6341 int (*ecc_map)(ecc_point *P, void *modulus, void *mp); 6352 int (*ecc_mul2add)(ecc_point *A, void *kA, [all …]
|