ARM Shanghai IoT Team (Internal) / newMiniTLS-GPL

Fork of MiniTLS-GPL by Donatien Garnier

Embed: (wiki syntax)

« Back to documentation index

ltc_ecc_map.c File Reference

ltc_ecc_map.c File Reference

ECC Crypto, Tom St Denis. More...

Go to the source code of this file.

Functions

int ltc_ecc_map (ecc_point *P, void *modulus, void *mp)
 Map a projective jacbobian point back to affine space.

Detailed Description

ECC Crypto, Tom St Denis.

Definition in file ltc_ecc_map.c.


Function Documentation

int ltc_ecc_map ( ecc_point P,
void *  modulus,
void *  mp 
)

Map a projective jacbobian point back to affine space.

Parameters:
P[in/out] The point to map
modulusThe modulus of the field the ECC curve is in
mpThe "b" value from montgomery_setup()
Returns:
MINITLS_OK on success

Definition at line 51 of file ltc_ecc_map.c.