Remove num_n_bits member from curve structure
diff --git a/include/tinycrypt/ecc.h b/include/tinycrypt/ecc.h
index 0cb47d4..5a41845 100644
--- a/include/tinycrypt/ecc.h
+++ b/include/tinycrypt/ecc.h
@@ -124,7 +124,6 @@
struct uECC_Curve_t;
typedef const struct uECC_Curve_t * uECC_Curve;
struct uECC_Curve_t {
- bitcount_t num_n_bits;
uECC_word_t p[NUM_ECC_WORDS];
uECC_word_t n[NUM_ECC_WORDS];
uECC_word_t G[NUM_ECC_WORDS * 2];
@@ -158,7 +157,7 @@
/* definition of curve NIST p-256: */
static const struct uECC_Curve_t curve_secp256r1 = {
- 256, /* num_n_bits */ {
+ {
BYTES_TO_WORDS_8(FF, FF, FF, FF, FF, FF, FF, FF),
BYTES_TO_WORDS_8(FF, FF, FF, FF, 00, 00, 00, 00),
BYTES_TO_WORDS_8(00, 00, 00, 00, 00, 00, 00, 00),