diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-11-14 16:54:45 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-11-14 16:54:45 +0100 |
commit | 8ab71212a2b7e810a68d5916afdca75c6291a2eb (patch) | |
tree | 8b0e94267581a94b562fafadd523875692daa26b /ecc-mul-g-eh.c | |
parent | d7a433dc591a8435defebbcdf85a98d4198f9dce (diff) | |
download | nettle-8ab71212a2b7e810a68d5916afdca75c6291a2eb.tar.gz |
Improve scratch usage in ecc_mod_inv.
* ecc-mod-inv.c (ecc_mod_inv): Use passed in scratch for all
scratch needs, don't use memory after the result area.
* ecc-ecdsa-sign.c (ecc_ecdsa_sign): Update invert call.
* ecc-ecdsa-verify.c (ecc_ecdsa_verify): Likewise.
* ecc-eh-to-a.c (ecc_eh_to_a): Likewise.
* ecc-j-to-a.c (ecc_j_to_a): Likewise.
* ecc-gostdsa-verify.c (ecc_gostdsa_verify): Likewise.
* ecc-internal.h (ECC_MOD_INV_ITCH, ECC_J_TO_A_ITCH)
(ECC_EH_TO_A_ITCH): Update accordingly, but no change in total
scratch need.
Diffstat (limited to 'ecc-mul-g-eh.c')
0 files changed, 0 insertions, 0 deletions