ext/lib/crypto/tinycrypt/source/ecc.c
/*
 * Find the right-most nonzero 32-bit "digits" in p_vli.
 *
 * Side-channel countermeasure: algorithm strengthened against timing attack.
 */
Find the right-most nonzero 32-bit "digits" in p_vli.
Side-channel countermeasure: algorithm strengthened against timing attack.
Find the right - most nonzero 32 - bit " digits " in p_vli . Side - channel countermeasure : algorithm strengthened against timing attack .
static uint32_t vli_numDigits(uint32_t *p_vli)
{
	int32_t i;
	uint32_t digits = 0;
	for (i = NUM_ECC_DIGITS - 1; i >= 0 ; --i) {
		digits += p_vli[i] || digits;
	}
	return digits;
}
static uint32_t vli_numDigits ( uint32_t * p_vli ) { int32_t i ; uint32_t digits = 0 ; for ( i = NUM_ECC_DIGITS - 1 ; i >= 0 ; -- i ) { digits += p_vli [ i ] || digits ; } return digits ; }
Find the right-most nonzero 32-bit "digits" in p_vli.
Find the right - most nonzero 32 - bit " digits " in p_vli .