Fix compiler error when ECC_SQUARE_FUNC is set to 0.

This commit is contained in:
Ken MacKay
2014-03-09 11:34:29 -07:00
parent 3122cc6c7c
commit ef7ca6f9e1
+1
View File
@@ -3654,6 +3654,7 @@ static void omega_mult(uint8_t * RESTRICT p_result, uint8_t * RESTRICT p_right)
/* Computes p_result = p_product % curve_p
see http://www.isys.uni-klu.ac.at/PDF/2001-0126-MT.pdf page 354 */
__attribute__ ((noinline))
static void vli_mmod_fast(uint8_t *RESTRICT p_result, uint8_t *RESTRICT p_product)
{
#if (ECC_ASM == ecc_asm_avr)