+2020-01-02 Niels Möller <nisse@lysator.liu.se>
+
+ * eddsa-internal.h (struct ecc_eddsa): Add magic "dom" string,
+ needed for ed448.
+
2020-01-01 Niels Möller <nisse@lysator.liu.se>
* ecc-448.c (ecc_mod_pow_2kp1): New function.
{
(nettle_hash_update_func *) sha512_update,
(nettle_hash_digest_func *) sha512_digest,
+ NULL, 0,
~(mp_limb_t) 7,
(mp_limb_t) 1 << (254 % GMP_NUMB_BITS),
};
/* Hash function to use */
nettle_hash_update_func *update;
nettle_hash_digest_func *digest;
+ const uint8_t *dom;
+ unsigned dom_size;
/* For generating the secret scalar */
mp_limb_t low_mask;
mp_limb_t high_bit;