diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-01-02 19:36:17 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-01-02 19:36:17 +0100 |
commit | 42e410bf0c084b1352b235e7e190fa6406a11441 (patch) | |
tree | 51db6a2dba6c6e437f3718d6089efd5b9590be1b /eddsa-internal.h | |
parent | bbc64730490afbb7d6c14813a2d0944b8d6d7c19 (diff) | |
download | nettle-42e410bf0c084b1352b235e7e190fa6406a11441.tar.gz |
Update eddsa internals to support ed448.
Diffstat (limited to 'eddsa-internal.h')
-rw-r--r-- | eddsa-internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eddsa-internal.h b/eddsa-internal.h index 4dd441f0..ea4c5e34 100644 --- a/eddsa-internal.h +++ b/eddsa-internal.h @@ -82,7 +82,7 @@ _eddsa_decompress (const struct ecc_curve *ecc, mp_limb_t *p, void _eddsa_hash (const struct ecc_modulo *m, - mp_limb_t *rp, const uint8_t *digest); + mp_limb_t *rp, size_t digest_size, const uint8_t *digest); mp_size_t _eddsa_sign_itch (const struct ecc_curve *ecc); @@ -90,8 +90,9 @@ _eddsa_sign_itch (const struct ecc_curve *ecc); void _eddsa_sign (const struct ecc_curve *ecc, const struct ecc_eddsa *eddsa, - const uint8_t *pub, void *ctx, + const uint8_t *pub, + const uint8_t *k1, const mp_limb_t *k2, size_t length, const uint8_t *msg, |