Added SM2 Elliptic Curve for psi based on ecdh#4833
Added SM2 Elliptic Curve for psi based on ecdh#4833circlekkk wants to merge 9 commits intoFederatedAI:masterfrom
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