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)

k The integer to multiply the point by
G The point to multiply
R The destination for kG
modulus The modulus for the field
map Boolean indicated whether to map back to affine or not (can be ignored if you work in affine only)
CRYPT_OK on success

Generated by  Doxygen 1.6.0   Back to index