/* @key: Key containing modulus to subtract @num: Number to subtract modulus from, as little endian word array  */
static void subtract_modulus(const struct rsa_public_key *key, uint32_t num[])
/* @key: Key containing modulus to subtract @num: Number to subtract modulus from, as little endian word array  */
static void subtract_modulus(const struct rsa_public_key *key, uint32_t num[])
{
	int64_t acc = 0;
	uint i;
	for (i = 0; i < key->len; i++) {
		acc += (uint64_t)num[i] - key->modulus[i];
		num[i] = (uint32_t)acc;
		acc >>= 32;
	}
}