Skip to content

Commit 690b0fc

Browse files
theStackpeterdettmanreal-or-random
committed
add missing group element invariant checks
The group element checks `secp256k1_{ge,gej}_verify` have first been implemented and added in commit f202667 (PR #1299). This commit adds additional verification calls in group functions, to match the ones that were originally proposed in commit 09dbba561fdb9d57a2cc9842ce041d9ba29a6189 of WIP-PR #1032 (which is obviously not rebased on #1299 yet). Also, for easier review, all functions handling group elements are structured in the following wasy for easier review (idea suggested by Tim Ruffing): - on entry, verify all input ge, gej (and fe) - empty line - actual function body - empty line - on exit, verify all output ge, gej Co-authored-by: Peter Dettman <peter.dettman@gmail.com> Co-authored-by: Tim Ruffing <crypto@timruffing.de>
1 parent c545fdc commit 690b0fc

File tree

1 file changed

+82
-20
lines changed

1 file changed

+82
-20
lines changed

0 commit comments

Comments
 (0)