Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OTRv4
otrv4
Commits
42d565d5
Unverified
Commit
42d565d5
authored
Mar 26, 2019
by
Sofia Celi
⛸
Browse files
Securely delete 't'
#201
parent
3281672c
Changes
1
Hide whitespace changes
Inline
Side-by-side
otrv4.md
View file @
42d565d5
...
...
@@ -4914,7 +4914,7 @@ section for details.
1.
Compute
`c = HashToScalar(usageAuth || G || q || A1 || A2 || A3 || T1 ||
T2 || T3 || m)`
.
1.
Compute
`c1 = c - c2 - c3 (mod q)`
.
1.
Compute
`r1 = t1 - c1 * a1 (mod q)`
.
1.
Compute
`r1 = t1 - c1 * a1 (mod q)`
.
Securely delete
`t1`
.
1.
Send
`sigma = (c1, r1, c2, r2, c3, r3)`
.
This function can be generalized so it is not possible to determine which secret
...
...
@@ -4949,7 +4949,7 @@ The prover knows a secret `ai` and, therefore:
1.
For whichever equally returns true (if
`eqi == 1`
,
`eqj == 0`
and
`eqk == 0`
, for
`i != j != k`
):
`ci = c - cj - ck (mod q)`
.
1.
For whichever equally returns true (for example, if
`eqi == 1`
):
`ri = ti - ci * ai (mod q)`
.
`ri = ti - ci * ai (mod q)`
.
Securely delete
`ti`
.
1.
Compute
`sigma = (ci, ri, cj, rj, ck, rk)`
.
If the prover knows
`a2`
, for example, the
`RSig`
function looks like this:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment