Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
5725c1bf
Commit
5725c1bf
authored
Jan 09, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(nettle_mpz_get_str_256): Declare the input argument
const. Rev: src/nettle/bignum.c:1.3 Rev: src/nettle/bignum.h:1.2
parent
4774d9d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bignum.c
bignum.c
+1
-1
bignum.h
bignum.h
+1
-1
No files found.
bignum.c
View file @
5725c1bf
...
...
@@ -35,7 +35,7 @@
#include <string.h>
void
nettle_mpz_get_str_256
(
unsigned
length
,
uint8_t
*
s
,
mpz_t
x
)
nettle_mpz_get_str_256
(
unsigned
length
,
uint8_t
*
s
,
const
mpz_t
x
)
{
uint8_t
*
dst
=
s
+
length
-
1
;
unsigned
size
=
mpz_size
(
x
);
...
...
bignum.h
View file @
5725c1bf
...
...
@@ -32,7 +32,7 @@
/* Writes an unsigned integer as length octets, using big endian byte
* order. */
void
nettle_mpz_get_str_256
(
unsigned
length
,
uint8_t
*
s
,
mpz_t
x
);
nettle_mpz_get_str_256
(
unsigned
length
,
uint8_t
*
s
,
const
mpz_t
x
);
void
nettle_mpz_set_str_256
(
mpz_t
x
,
...
...
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