ARM Shanghai IoT Team (Internal) / newMiniTLS-GPL

Fork of MiniTLS-GPL by Donatien Garnier

Embed: (wiki syntax)

« Back to documentation index

ltc_ecc_projective_add_point.c File Reference

ltc_ecc_projective_add_point.c File Reference

ECC Crypto, Tom St Denis. More...

Go to the source code of this file.

Functions

int ltc_ecc_projective_add_point (ecc_point *P, ecc_point *Q, ecc_point *R, void *modulus, void *mp)
 Add two ECC points.

Detailed Description

ECC Crypto, Tom St Denis.

Definition in file ltc_ecc_projective_add_point.c.


Function Documentation

int ltc_ecc_projective_add_point ( ecc_point P,
ecc_point Q,
ecc_point R,
void *  modulus,
void *  mp 
)

Add two ECC points.

Parameters:
PThe point to add
QThe point to add
R[out] The destination of the double
modulusThe modulus of the field the ECC curve is in
mpThe "b" value from montgomery_setup()
Returns:
MINITLS_OK on success

Definition at line 53 of file ltc_ecc_projective_add_point.c.