ni...@lysator.liu.se (Niels Möller) writes: > I really not sure about the best way to go about it. Another option > might be to purge all deprecated stuff from dsa.h, and put it into a new > file dsa-compat.h.
I've now done this, and pushed it on the dsa-reorg branch. I also killed struct dsa_value. The new advertised interface is now like int dsa_sign(const struct dsa_params *params, const mpz_t priv, void *random_ctx, nettle_random_func *random, size_t digest_size, const uint8_t *digest, struct dsa_signature *signature); int dsa_verify(const struct dsa_params *params, const mpz_t pub, size_t digest_size, const uint8_t *digest, const struct dsa_signature *signature); Unless there are objections, I think I'm going to merge this to the master branch as soon as I get the time. (Most likely a manual merge, to avoid checking in dead ends). We really need to get this over with. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list nettle-bugs@lists.lysator.liu.se http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs