Skip to content

Commit

Permalink
curve25519: fix ct proof in EasyCrypt (arguments names have changed)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfaoliveira committed Oct 12, 2023
1 parent e428b8f commit 900ceec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ require import Extracted_ct.

equiv jade_scalarmult_curve25519_amd64_mulx :
M.jade_scalarmult_curve25519_amd64_mulx ~ M.jade_scalarmult_curve25519_amd64_mulx :
={q, n, p, M.leakages} ==> ={M.leakages}.
={qp, np, pp, M.leakages} ==> ={M.leakages}.
proof.
proc; inline *; sim => />.
qed.

equiv jade_scalarmult_curve25519_amd64_mulx_base :
M.jade_scalarmult_curve25519_amd64_mulx_base ~ M.jade_scalarmult_curve25519_amd64_mulx_base :
={q, n, M.leakages} ==> ={M.leakages}.
={qp, np, M.leakages} ==> ={M.leakages}.
proof.
proc; inline *; sim => />.
qed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ require import Extracted_ct.

equiv jade_scalarmult_curve25519_amd64_ref4 :
M.jade_scalarmult_curve25519_amd64_ref4 ~ M.jade_scalarmult_curve25519_amd64_ref4 :
={q, n, p, M.leakages} ==> ={M.leakages}.
={qp, np, pp, M.leakages} ==> ={M.leakages}.
proof.
proc; inline *; sim => />.
qed.

equiv jade_scalarmult_curve25519_amd64_ref4_base :
M.jade_scalarmult_curve25519_amd64_ref4_base ~ M.jade_scalarmult_curve25519_amd64_ref4_base :
={q, n, M.leakages} ==> ={M.leakages}.
={qp, np, M.leakages} ==> ={M.leakages}.
proof.
proc; inline *; sim => />.
qed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ require import Extracted_ct.

equiv jade_scalarmult_curve25519_amd64_ref5 :
M.jade_scalarmult_curve25519_amd64_ref5 ~ M.jade_scalarmult_curve25519_amd64_ref5 :
={q, n, p, M.leakages} ==> ={M.leakages}.
={qp, np, pp, M.leakages} ==> ={M.leakages}.
proof.
proc; inline *; sim => />.
qed.

equiv jade_scalarmult_curve25519_amd64_ref5_base :
M.jade_scalarmult_curve25519_amd64_ref5_base ~ M.jade_scalarmult_curve25519_amd64_ref5_base :
={q, n, M.leakages} ==> ={M.leakages}.
={qp, np, M.leakages} ==> ={M.leakages}.
proof.
proc; inline *; sim => />.
qed.
Expand Down

0 comments on commit 900ceec

Please sign in to comment.