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
9a31b480
Commit
9a31b480
authored
Apr 04, 2017
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use const for input mpz_t argument to pss_verify_mgf1.
parent
0024b7df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
ChangeLog
ChangeLog
+2
-0
pss.c
pss.c
+1
-1
pss.h
pss.h
+1
-1
No files found.
ChangeLog
View file @
9a31b480
2017-04-04 Niels Möller <nisse@lysator.liu.se>
* pss.c (pss_verify_mgf1): Use const for input mpz_t argument.
Merged RSA-PSS support, contributed by Daiki Ueno.
* pss-mgf1.h, pss.h: New header files.
* pss-mgf1.c (pss_mgf1): New file and function.
...
...
pss.c
View file @
9a31b480
...
...
@@ -120,7 +120,7 @@ pss_encode_mgf1(mpz_t m, size_t bits,
* Returns 1 if the encoded message is consistent, 0 if it is
* inconsistent. */
int
pss_verify_mgf1
(
mpz_t
m
,
size_t
bits
,
pss_verify_mgf1
(
const
mpz_t
m
,
size_t
bits
,
const
struct
nettle_hash
*
hash
,
size_t
salt_length
,
const
uint8_t
*
digest
)
...
...
pss.h
View file @
9a31b480
...
...
@@ -53,7 +53,7 @@ pss_encode_mgf1(mpz_t m, size_t bits,
const
uint8_t
*
digest
);
int
pss_verify_mgf1
(
mpz_t
m
,
size_t
bits
,
pss_verify_mgf1
(
const
mpz_t
m
,
size_t
bits
,
const
struct
nettle_hash
*
hash
,
size_t
salt_length
,
const
uint8_t
*
digest
);
...
...
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