소스 검색

curve_tree.sage correct type

x 3 년 전
부모
커밋
fba6eb966f
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      script/research/zk/curve_tree.sage

+ 4 - 4
script/research/zk/curve_tree.sage

@@ -52,11 +52,11 @@ def hash_point(Ei, P, b):
 #
 #
 # where
 # where
 #
 #
-#   x_i = { x0  if  σ = 0
-#         { x1  if  σ = 1
+#   x_i = { x1  if  σ = 0
+#         { x2  if  σ = 1
 #
 #
-#   y_i = { y0  if  σ = 0
-#         { y1  if  σ = 1
+#   y_i = { y1  if  σ = 0
+#         { y2  if  σ = 1
 #
 #
 # It is just a quick hackjob proof of concept and horribly inefficient
 # It is just a quick hackjob proof of concept and horribly inefficient
 load("curve_tree_proofs.sage")
 load("curve_tree_proofs.sage")