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
95652d25
Commit
95652d25
authored
Jul 11, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made test_ecc_point non-static in testutils.c.
parent
17165610
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
ChangeLog
ChangeLog
+5
-0
testsuite/testutils.c
testsuite/testutils.c
+1
-7
testsuite/testutils.h
testsuite/testutils.h
+11
-0
No files found.
ChangeLog
View file @
95652d25
2014-07-11 Niels Möller <nisse@lysator.liu.se>
* testsuite/testutils.c (test_ecc_point): Made non-static.
* testsuite/testutils.h (struct ecc_ref_point): Moved here, from
testutils.h.
(test_ecc_point): Declare it.
* ecc-dup-eh.c (ecc_dup_eh, ecc_dup_eh_itch): New file, new functions.
* ecc-eh-to-a.c (ecc_eh_to_a, ecc_eh_to_a_itch): New file, new
functions.
...
...
testsuite/testutils.c
View file @
95652d25
...
...
@@ -1276,12 +1276,6 @@ test_mpn (const char *ref, const mp_limb_t *xp, mp_size_t n)
return
res
;
}
struct
ecc_ref_point
{
const
char
*
x
;
const
char
*
y
;
};
void
write_mpn
(
FILE
*
f
,
int
base
,
const
mp_limb_t
*
xp
,
mp_size_t
n
)
{
...
...
@@ -1289,7 +1283,7 @@ write_mpn (FILE *f, int base, const mp_limb_t *xp, mp_size_t n)
mpz_out_str
(
f
,
base
,
mpz_roinit_n
(
t
,
xp
,
n
));
}
static
void
void
test_ecc_point
(
const
struct
ecc_curve
*
ecc
,
const
struct
ecc_ref_point
*
ref
,
const
mp_limb_t
*
p
)
...
...
testsuite/testutils.h
View file @
95652d25
...
...
@@ -224,6 +224,17 @@ test_dsa_key(const struct dsa_params *params,
extern
const
struct
ecc_curve
*
const
ecc_curves
[];
struct
ecc_ref_point
{
const
char
*
x
;
const
char
*
y
;
};
void
test_ecc_point
(
const
struct
ecc_curve
*
ecc
,
const
struct
ecc_ref_point
*
ref
,
const
mp_limb_t
*
p
);
void
test_ecc_mul_a
(
unsigned
curve
,
unsigned
n
,
const
mp_limb_t
*
p
);
...
...
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