Closed TariqEE closed 8 years ago
Forgot to mention also has unit tests for all the operations that were added. pt_add_inplace, pt_mul_inplace, pt_neg_inplace, pt_double_inplace
OK, i see the failure on the auto-test and have fixed them. Going to send another pull request and see if those pass. This things is pretty cool :).
Memory-in-place arithmetic operations are useful when ec_points are in a data structure without an easy way to index them. This is the case when porting PrivEx from using the C ec_library to using petlib since there are data structures used that assume in-place operations rather than creating new objects.