~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601ec68
)
pub/dh-kcdsa.c: Fix commentary blunder.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 23 Oct 2019 03:05:21 +0000
(
04:05
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 9 May 2020 19:57:33 +0000
(20:57 +0100)
pub/dh-kcdsa.c
patch
|
blob
|
blame
|
history
diff --git
a/pub/dh-kcdsa.c
b/pub/dh-kcdsa.c
index
5feda92
..
4de00c6
100644
(file)
--- a/
pub/dh-kcdsa.c
+++ b/
pub/dh-kcdsa.c
@@
-68,7
+68,7
@@
int dh_kcdsagen(dh_param *dp, unsigned ql, unsigned pl,
int i;
mp *x;
- /* --- First trick: find %$
q
$% --- */
+ /* --- First trick: find %$
v
$% --- */
pf.step = 2;
x = mprand(MP_NEW, pl - ql, r, 1);
@@
-78,7
+78,7
@@
int dh_kcdsagen(dh_param *dp, unsigned ql, unsigned pl,
if (!x)
goto fail_0;
- /* --- Second trick: find %$p$% and %$
v
$% --- */
+ /* --- Second trick: find %$p$% and %$
q
$% --- */
x = mp_lsl(x, x, 1);
sp[0].add = MP_ZERO; sp[0].mul = MP_ONE; sp[0].f = 0;