Logo Search packages:      
Sourcecode: libtomcrypt version File versions  Download package

int(* ltc_math_descriptor::ecc_mul2add)(ecc_point *A, void *kA, ecc_point *B, void *kB, ecc_point *C, void *modulus)

Computes kA*A + kB*B = C using Shamir's Trick

Parameters:
A First point to multiply
kA What to multiple A by
B Second point to multiply
kB What to multiple B by
C [out] Destination point (can overlap with A or B
modulus Modulus for curve
Returns:
CRYPT_OK on success


Generated by  Doxygen 1.6.0   Back to index