Sign in
apache
/
incubator-milagro-crypto
/
2109a35da11ddb10534864ad4a745e83105a878f
/
.
/
version3
/
python
/
constants.py
blob: f941c2511045f979e90d6c04c35d60754abcf6d9 [
file
] [
log
] [
blame
]
# fixed constants
WEIERSTRASS
=
0
EDWARDS
=
1
MONTGOMERY
=
2
D_TYPE
=
0
M_TYPE
=
1
NEGATIVEX
=
0
POSITIVEX
=
1
BN
=
0
BLS
=
1
ECDH_INVALID_PUBLIC_KEY
=
-
2
ECDH_ERROR
=
-
3