Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
11c6d02d
Commit
11c6d02d
authored
Feb 18, 2013
by
Niels Möller
Browse files
Deleted const cast in SHEX macro.
parent
7f2c9f75
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
11c6d02d
2013-02-18 Niels Möller <nisse@lysator.liu.se>
* testsuite/testutils.h (SHEX): Deleted const cast.
* ecc-point.c: New file, struct ecc_point abstraction.
* ecc-scalar.c: New file, struct ecc_scalar abstraction.
* ecc-random.c (ecc_modq_random, ecc_scalar_random): New file, new
...
...
testsuite/testutils.h
View file @
11c6d02d
...
...
@@ -216,7 +216,7 @@ test_ecc_mul_j (unsigned curve, unsigned n, const mp_limb_t *p);
#define LDATA(x) LLENGTH(x), x
#define LDUP(x) strlen(x), strdup(x)
#define SHEX(x) (
(const struct tstring *)
tstring_hex(x))
#define SHEX(x) (tstring_hex(x))
#define SDATA(x) ((const struct tstring *)tstring_data(LLENGTH(x), x))
#define H(x) (SHEX(x)->data)
...
...
Write
Preview
Supports
Markdown
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