Commit 11c6d02d authored by Niels Möller's avatar Niels Möller
Browse files

Deleted const cast in SHEX macro.

parent 7f2c9f75
2013-02-18 Niels Möller <>
* 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
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment