Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
d253a68d
Commit
d253a68d
authored
Oct 09, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dsa.h (struct dsa_private_key): Don't include the public
information here. Rev: src/nettle/dsa.h:1.2
parent
2e8d8764
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dsa.h
dsa.h
+5
-5
No files found.
dsa.h
View file @
d253a68d
...
...
@@ -52,9 +52,8 @@ struct dsa_public_key
struct
dsa_private_key
{
/* Unlike an rsa public key, all the public information is needed,
* in addition to the private information. */
struct
dsa_public_key
pub
;
/* Unlike an rsa public key, private key operations will need both
* the private and the public information. */
mpz_t
x
;
};
...
...
@@ -114,14 +113,15 @@ void
_dsa_hash
(
mpz_t
x
,
struct
sha1_ctx
*
hash
);
void
dsa_sign
(
struct
dsa_private_key
*
key
,
dsa_sign
(
const
struct
dsa_public_key
*
pub
,
const
struct
dsa_private_key
*
key
,
void
*
random_ctx
,
nettle_random_func
random
,
struct
sha1_ctx
*
hash
,
struct
dsa_signature
*
signature
);
int
dsa_verify
(
struct
dsa_public_key
*
key
,
dsa_verify
(
const
struct
dsa_public_key
*
key
,
struct
sha1_ctx
*
hash
,
const
struct
dsa_signature
*
signature
);
...
...
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