ARM Shanghai IoT Team (Internal) / newMiniTLS-GPL

Fork of MiniTLS-GPL by Donatien Garnier

Embed: (wiki syntax)

« Back to documentation index

ltc_ecc_mulmod_timing.c File Reference

ltc_ecc_mulmod_timing.c File Reference

ECC Crypto, Tom St Denis. More...

Go to the source code of this file.

Functions

int ltc_ecc_mulmod (void *k, ecc_point *G, ecc_point *R, void *modulus, int map)
 Perform a point multiplication (timing resistant)

Detailed Description

ECC Crypto, Tom St Denis.

Definition in file ltc_ecc_mulmod_timing.c.


Function Documentation

int ltc_ecc_mulmod ( void *  k,
ecc_point G,
ecc_point R,
void *  modulus,
int  map 
)

Perform a point multiplication (timing resistant)

Parameters:
kThe scalar to multiply by
GThe base point
R[out] Destination for kG
modulusThe modulus of the field the ECC curve is in
mapBoolean whether to map back to affine or not (1==map, 0 == leave in projective)
Returns:
MINITLS_OK on success

Definition at line 55 of file ltc_ecc_mulmod_timing.c.