diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-01-02 19:24:45 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-01-02 19:24:45 +0100 |
commit | bbc64730490afbb7d6c14813a2d0944b8d6d7c19 (patch) | |
tree | a478ff15c975f39c88289780a9db09a8273a791e /eddsa-internal.h | |
parent | 21c9be59b5bfb0b03f6b701aa275ac3bc764660e (diff) | |
download | nettle-bbc64730490afbb7d6c14813a2d0944b8d6d7c19.tar.gz |
Add dom string to struct ecc_eddsa.
Diffstat (limited to 'eddsa-internal.h')
-rw-r--r-- | eddsa-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eddsa-internal.h b/eddsa-internal.h index 9c0a1eca..4dd441f0 100644 --- a/eddsa-internal.h +++ b/eddsa-internal.h @@ -58,6 +58,8 @@ struct ecc_eddsa /* 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; |