Closed TariqEE closed 8 years ago
OK, I think that should do it for the unit tests. Let me know if you'd like to see something more/different.
Modified a bit the sized export, make sure it does not break your code. Do you even need such a function? Why not call .export()[:size]? Added an additional test for it.
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.