mirror of https://github.com/zcash/pasta.git
Update parameters for Pallas/Vesta.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
1cd1766100
commit
cb6ef790f9
2
Ep/l
2
Ep/l
|
@ -1 +1 @@
|
|||
28948022309329048855892746252171976963322203655954433126947083963168578338817
|
||||
28948022309329048855892746252171976963363056481941647379679742748393362948097
|
||||
|
|
2
Ep/p
2
Ep/p
|
@ -1 +1 @@
|
|||
28948022309329048855892746252171976963322203655955319056773317069363642105857
|
||||
28948022309329048855892746252171976963363056481941560715954676764349967630337
|
||||
|
|
2
Eq/l
2
Eq/l
|
@ -1 +1 @@
|
|||
28948022309329048855892746252171976963322203655955319056773317069363642105857
|
||||
28948022309329048855892746252171976963363056481941560715954676764349967630337
|
||||
|
|
2
Eq/p
2
Eq/p
|
@ -1 +1 @@
|
|||
28948022309329048855892746252171976963322203655954433126947083963168578338817
|
||||
28948022309329048855892746252171976963363056481941647379679742748393362948097
|
||||
|
|
|
@ -313,11 +313,11 @@ def main():
|
|||
halflambda = 64
|
||||
limit = 3<<halflambda
|
||||
|
||||
# Tweedledum and Tweedledee
|
||||
p = (1<<254) + 4707489545178046908921067385359695873
|
||||
q = (1<<254) + 4707489544292117082687961190295928833
|
||||
zeta_p = 9513155655832138286304767221959569637168364952810827555227185832555034233288
|
||||
zeta_q = 24775483399512474214391554062650059912556682109176536098332128018848638018813
|
||||
# Pallas and Vesta
|
||||
p = (1<<254) + 45560315531419706090280762371685220353
|
||||
q = (1<<254) + 45560315531506369815346746415080538113
|
||||
zeta_p = 8503465768106391777493614032514048814691664078728891710322960303815233784505
|
||||
zeta_q = 2942865608506852014473558576493638302197734138389222805617480874486368177743
|
||||
|
||||
# Tests
|
||||
global DEBUG
|
||||
|
|
8
run.sh
8
run.sh
|
@ -3,11 +3,11 @@ sage verify.sage Ep
|
|||
sage verify.sage Eq
|
||||
|
||||
echo ""
|
||||
echo "Ep (Tweedledum)"
|
||||
echo "---------------"
|
||||
echo "Ep (Pallas)"
|
||||
echo "-----------"
|
||||
grep -Rn '.' Ep/verify-* |grep '^Ep/verify-.*:1:' |sed 's/:1:/ = /'
|
||||
echo ""
|
||||
echo "Eq (Tweedledee)"
|
||||
echo "---------------"
|
||||
echo "Eq (Vesta)"
|
||||
echo "----------"
|
||||
grep -Rn '.' Eq/verify-* |grep '^Eq/verify-.*:1:' |sed 's/:1:/ = /'
|
||||
|
||||
|
|
Loading…
Reference in New Issue