Hardcode numwords in vli_cmp

This commit is contained in:
Manuel Pégourié-Gonnard 2019-11-04 14:43:35 +01:00
parent 129b42ea2e
commit 2cb3eea922
3 changed files with 5 additions and 8 deletions

View file

@ -320,8 +320,7 @@ uECC_word_t EccPoint_isZero(const uECC_word_t *point, uECC_Curve curve);
* @param num_words IN -- number of words
* @return the sign of left - right
*/
cmpresult_t uECC_vli_cmp(const uECC_word_t *left, const uECC_word_t *right,
wordcount_t num_words);
cmpresult_t uECC_vli_cmp(const uECC_word_t *left, const uECC_word_t *right);
/*
* @brief computes sign of left - right, not in constant time.