"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ecc-internal.h" between
nettle-3.7.1.tar.gz and nettle-3.7.2.tar.gz

About: Nettle is a low-level cryptographic library.

ecc-internal.h  (nettle-3.7.1):ecc-internal.h  (nettle-3.7.2)
skipping to change at line 52 skipping to change at line 52
/* Name mangling */ /* Name mangling */
#define ecc_pp1_redc _nettle_ecc_pp1_redc #define ecc_pp1_redc _nettle_ecc_pp1_redc
#define ecc_pm1_redc _nettle_ecc_pm1_redc #define ecc_pm1_redc _nettle_ecc_pm1_redc
#define ecc_mod_add _nettle_ecc_mod_add #define ecc_mod_add _nettle_ecc_mod_add
#define ecc_mod_sub _nettle_ecc_mod_sub #define ecc_mod_sub _nettle_ecc_mod_sub
#define ecc_mod_mul_1 _nettle_ecc_mod_mul_1 #define ecc_mod_mul_1 _nettle_ecc_mod_mul_1
#define ecc_mod_addmul_1 _nettle_ecc_mod_addmul_1 #define ecc_mod_addmul_1 _nettle_ecc_mod_addmul_1
#define ecc_mod_submul_1 _nettle_ecc_mod_submul_1 #define ecc_mod_submul_1 _nettle_ecc_mod_submul_1
#define ecc_mod_mul _nettle_ecc_mod_mul #define ecc_mod_mul _nettle_ecc_mod_mul
#define ecc_mod_sqr _nettle_ecc_mod_sqr #define ecc_mod_sqr _nettle_ecc_mod_sqr
#define ecc_mod_mul_canonical _nettle_ecc_mod_mul_canonical
#define ecc_mod_sqr_canonical _nettle_ecc_mod_sqr_canonical
#define ecc_mod_pow_2k _nettle_ecc_mod_pow_2k #define ecc_mod_pow_2k _nettle_ecc_mod_pow_2k
#define ecc_mod_pow_2k_mul _nettle_ecc_mod_pow_2k_mul #define ecc_mod_pow_2k_mul _nettle_ecc_mod_pow_2k_mul
#define ecc_mod_random _nettle_ecc_mod_random #define ecc_mod_random _nettle_ecc_mod_random
#define ecc_mod _nettle_ecc_mod #define ecc_mod _nettle_ecc_mod
#define ecc_mod_inv _nettle_ecc_mod_inv #define ecc_mod_inv _nettle_ecc_mod_inv
#define ecc_hash _nettle_ecc_hash #define ecc_hash _nettle_ecc_hash
#define gost_hash _nettle_gost_hash #define gost_hash _nettle_gost_hash
#define ecc_a_to_j _nettle_ecc_a_to_j #define ecc_a_to_j _nettle_ecc_a_to_j
#define ecc_j_to_a _nettle_ecc_j_to_a #define ecc_j_to_a _nettle_ecc_j_to_a
#define ecc_eh_to_a _nettle_ecc_eh_to_a #define ecc_eh_to_a _nettle_ecc_eh_to_a
skipping to change at line 267 skipping to change at line 269
ap or bp, and may equal tp or tp + m->size, but no other overlap ap or bp, and may equal tp or tp + m->size, but no other overlap
with tp is allowed. */ with tp is allowed. */
void void
ecc_mod_mul (const struct ecc_modulo *m, mp_limb_t *rp, ecc_mod_mul (const struct ecc_modulo *m, mp_limb_t *rp,
const mp_limb_t *ap, const mp_limb_t *bp, mp_limb_t *tp); const mp_limb_t *ap, const mp_limb_t *bp, mp_limb_t *tp);
void void
ecc_mod_sqr (const struct ecc_modulo *m, mp_limb_t *rp, ecc_mod_sqr (const struct ecc_modulo *m, mp_limb_t *rp,
const mp_limb_t *ap, mp_limb_t *tp); const mp_limb_t *ap, mp_limb_t *tp);
/* These mul and sqr functions produce a canonical result, 0 <= R < M.
Requirements on input and output areas are similar to the above
functions, except that it is *not* allowed to pass rp = rp +
m->size.
*/
void
ecc_mod_mul_canonical (const struct ecc_modulo *m, mp_limb_t *rp,
const mp_limb_t *ap, const mp_limb_t *bp, mp_limb_t *tp);
void
ecc_mod_sqr_canonical (const struct ecc_modulo *m, mp_limb_t *rp,
const mp_limb_t *ap, mp_limb_t *tp);
/* R <-- X^{2^k} mod M. Needs 2*ecc->size limbs of scratch space, same /* R <-- X^{2^k} mod M. Needs 2*ecc->size limbs of scratch space, same
overlap requirements as mul and sqr above. */ overlap requirements as mul and sqr above. */
void void
ecc_mod_pow_2k (const struct ecc_modulo *m, ecc_mod_pow_2k (const struct ecc_modulo *m,
mp_limb_t *rp, const mp_limb_t *xp, mp_limb_t *rp, const mp_limb_t *xp,
unsigned k, mp_limb_t *tp); unsigned k, mp_limb_t *tp);
/* R <-- X^{2^k} Y mod M. Similar requirements as ecc_mod_pow_2k, but /* R <-- X^{2^k} Y mod M. Similar requirements as ecc_mod_pow_2k, but
rp and yp can't overlap. */ rp and yp can't overlap. */
void void
 End of changes. 2 change blocks. 
0 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)