Niels Möller <ni...@lysator.liu.se> writes: > Daiki Ueno <u...@gnu.org> writes: > >> I agree, that's a valid use-case. Perhaps this might suffice: >> >> /* Sign DIGEST with KEY using deterministic nonce generation. >> * >> * DIGEST must be of the same length of SHA-256 output, that is 32 >> * octets long. */ >> void >> ecdsa_sha256_sign_deterministic (const struct ecc_scalar *key, >> const uint8_t *digest, >> struct dsa_signature *signature); > > Looks good to me. Underlying more general helper functions > (however they are organized) can be internal only.
I've updated the MR along these lines. Regards, -- Daiki Ueno _______________________________________________ nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se