Hello,
I've added test cases to verify that unwrap fail if the input values are incorrect [1]. I reuse all the unwrap test cases, changed one ciphertext byte and expect the unwrap function to return 0.
Le 2021-03-29 à 13 h 32, Niels Möller a écrit :
That's one possibility, but I think it would also be natural to put it somewhere under or close to "7.4. Authenticated encryption and associated data", even though there's no associated data. That section could perhaps be retitled to "Authenticated encryption" to generalize it?
Or possibly under "7.3 Cipher modes", if it's too different from the AEAD constructions.
Until we come to a solution on where to put the documentation, I've started a first draft for the documentation. Can you give me feedback on it? I'm used to write documentation but for my projects and with my style, but I don't know if the text is too much or too few.
Also, I've never used LaTex. What tool do you recommend to write LaTex documentation? I've tried gummi but it says there are errors in the nettle.texinfo file...
/Nicolas
[1] https://git.lysator.liu.se/nettle/nettle/-/merge_requests/19/diffs#2c3905289...