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

int(* ltc_math_descriptor::ecc_ptmul)(void *k, ecc_point *G, ecc_point *R, void *modulus, int map)

ECC GF(p) point multiplication (from the NIST curves)

Parameters:
kThe integer to multiply the point by
GThe point to multiply
RThe destination for kG
modulusThe modulus for the field
mapBoolean indicated whether to map back to affine or not (can be ignored if you work in affine only)
Returns:
CRYPT_OK on success

Definition at line 344 of file tomcrypt_math.h.


Generated by  Doxygen 1.6.0   Back to index