From 020346b19bd816b5ab5fc4a96b3605b8dcf6ffac Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Fri, 9 Jun 2023 16:54:42 -0500 Subject: [PATCH] docs: add assumptions to ec_sub_strict (#84) --- halo2-ecc/src/ecc/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/halo2-ecc/src/ecc/mod.rs b/halo2-ecc/src/ecc/mod.rs index 5c62503e..4da01281 100644 --- a/halo2-ecc/src/ecc/mod.rs +++ b/halo2-ecc/src/ecc/mod.rs @@ -251,6 +251,9 @@ pub fn ec_sub_unequal>( /// Constrains `P != -Q` but allows `P == Q`, in which case output is (0,0). /// For Weierstrass curves only. +/// +/// Assumptions +/// # Neither P or Q is the point at infinity pub fn ec_sub_strict>( chip: &FC, ctx: &mut Context,