nettle  3.7.3
About: Nettle is a low-level cryptographic library.
  Fossies Dox: nettle-3.7.3.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ecc-eh-to-a.c File Reference
#include <assert.h>
#include "ecc.h"
#include "ecc-internal.h"
Include dependency graph for ecc-eh-to-a.c:

Go to the source code of this file.

Macros

#define izp   scratch
 
#define tp   (scratch + ecc->p.size)
 
#define xp   p
 
#define yp   (p + ecc->p.size)
 
#define zp   (p + 2*ecc->p.size)
 

Functions

void _nettle_ecc_eh_to_a (const struct ecc_curve *ecc, int op, mp_limb_t *r, const mp_limb_t *p, mp_limb_t *scratch)
 

Macro Definition Documentation

◆ izp

#define izp   scratch

◆ tp

#define tp   (scratch + ecc->p.size)

◆ xp

#define xp   p

◆ yp

#define yp   (p + ecc->p.size)

◆ zp

#define zp   (p + 2*ecc->p.size)

Function Documentation

◆ _nettle_ecc_eh_to_a()

void _nettle_ecc_eh_to_a ( const struct ecc_curve ecc,
int  op,
mp_limb_t r,
const mp_limb_t p,
mp_limb_t scratch 
)

Definition at line 44 of file ecc-eh-to-a.c.

References ecc_mod_mul_canonical, ecc_modulo::invert, izp, ecc_curve::p, ecc_modulo::size, tp, xp, yp, and zp.