Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
579f8fe6
Commit
579f8fe6
authored
Dec 12, 2001
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_rsa_signer): Call mpz_init for all bignum
instance variables. Rev: src/rsa.c:1.17
parent
27376475
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/rsa.c
src/rsa.c
+7
-0
No files found.
src/rsa.c
View file @
579f8fe6
...
...
@@ -578,6 +578,13 @@ make_rsa_signer(struct signature_algorithm *s,
CAST
(
rsa_algorithm
,
params
,
s
);
NEW
(
rsa_signer
,
res
);
mpz_init
(
res
->
d
);
mpz_init
(
res
->
p
);
mpz_init
(
res
->
q
);
mpz_init
(
res
->
a
);
mpz_init
(
res
->
b
);
mpz_init
(
res
->
c
);
if
(
(
SEXP_LEFT
(
i
)
==
8
)
&&
(
(
res
->
verifier
=
make_rsa_verifier_internal
(
params
,
i
))
)
&&
sexp_get_un
(
i
,
ATOM_D
,
res
->
d
,
RSA_MAX_SIZE
)
...
...
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