intel / tinycrypt

tinycrypt is a library of cryptographic algorithms with a focus on small, simple implementation.
Other
446 stars 156 forks source link

ecc_dh: Fix discrepancy of ecc_make_key definition and declaration #9

Closed flavio-santes closed 7 years ago

flavio-santes commented 7 years ago

ecc_make_key declaration has random size of NUM_ECC_DIGITS * 2 but definition has (and use) only NUM_ECC_DIGITS.

See: https://gerrit.zephyrproject.org/r/#/c/1982

Change-Id: I696d1ecfca439545ac4a7995500bfb7cb8ed2db5 Signed-off-by: Flavio Santes flavio.santes@intel.com