/* @key: Key containing modulus to check @num: Number to check against modulus, as little endian word array  */
static int greater_equal_modulus(const struct rsa_public_key *key, uint32_t num[])
/* @key: Key containing modulus to check @num: Number to check against modulus, as little endian word array  */
static int greater_equal_modulus(const struct rsa_public_key *key, uint32_t num[])
{
	int i;
	for (i = (int)key->len - 1; i >= 0; i--) {
		if (num[i] < key->modulus[i])
			return 0;
		if (num[i] > key->modulus[i])
			return 1;
	}
	return 1;
}