-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added SM2 Elliptic Curve for psi based on ecdh #4833
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: circlekkk <[email protected]>
修改: python/federatedml/util/consts.py
This reverts commit 3000758.
Signed-off-by: circlekkk <[email protected]>
Signed-off-by: circlekkk <[email protected]>
Signed-off-by: circlekkk <[email protected]>
It seems tinyec is not production available? |
1.The author suggests that this library is not suitable for production because it allows calculation of points outside the curve. When defining points on the curve, if the points are not on the curve, there will be no error and only a warning. So, it will not involve calculations outside the curve. |
Signed-off-by: circlekkk <[email protected]>
Signed-off-by: circlekkk <[email protected]>
Signed-off-by: circlekkk <[email protected]>
Signed-off-by: circlekkk [email protected]
Fixes ISSUE #xxx
Changes:
1.add file:
2.add SM2 parameters to the following file:
python/fate_client/pipeline/param/consts.py
python/federatedml/param/intersect_param.py
python/federatedml/util/consts.py
3.The following file code has been slightly modified:
detailed, added SM2 in function def __get_curve_instance