ltc_math_descriptor.ecc_map

ECC mapping from projective to affine, currently uses (x,y,z) => (x/z^2, y/z^3, 1) @param P The point to map @param modulus The modulus @param mp The "b" value from montgomery_setup() @return CRYPT_OK on success @remark The mapping can be different but keep in mind a ecc_point only has three integers (x,y,z) so if you use a different mapping you have to make it fit.

struct ltc_math_descriptor
int function(ecc_point* P, void* modulus, void* mp) nothrow ecc_map;

Meta