herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
450 stars 152 forks source link

Add verifyOrderG1 and verifyOrderG2 to Java FFI #126

Closed rheitjoh closed 2 years ago

rheitjoh commented 2 years ago

This pull request adds the verifyOrderG1 and verifyOrderG2 methods to the Java FFI. I also added docs for those methods to the Java API doc. Am I right in my understanding that enabling these adds a subgroup check to the setStr method in addition to the default on curve check?

herumi commented 2 years ago

Thank you for the patch. I've merged it into dev.

herumi commented 2 years ago

This branch is merged into master.