From ef7ca6f9e169bf52a1bb255416f751420621f360 Mon Sep 17 00:00:00 2001 From: Ken MacKay Date: Sun, 9 Mar 2014 11:34:29 -0700 Subject: [PATCH] Fix compiler error when ECC_SQUARE_FUNC is set to 0. --- ecc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ecc.c b/ecc.c index bed782e..305ba85 100644 --- a/ecc.c +++ b/ecc.c @@ -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)