Addresses #28 by adding verifyOrderG1 and verifyOrderG2 to the FFI and enabling them after Mcl initialization. This means that subgroup checks are automatically done when using the setStr method which we use for deserialization.
Is missing checks for GT since Mcl has no verifyOrder method for that.
Addresses #28 by adding
verifyOrderG1
andverifyOrderG2
to the FFI and enabling them after Mcl initialization. This means that subgroup checks are automatically done when using thesetStr
method which we use for deserialization.Is missing checks for GT since Mcl has no
verifyOrder
method for that.