Janos Follath b62bad442e Bidnum Mod: fix check in setup
We want to make sure that the value has at least as many limbs allocated
as the modulus as we need this to be able to do any operations in
constant time.

An invariant of the API is that the residue values are canonical, make
sure that the residue is compared to the entire modulus.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2022-11-25 17:55:00 +00:00
..
2022-10-19 08:35:08 -04:00
2021-06-28 09:24:07 +01:00
2022-11-25 17:55:00 +00:00
2022-11-25 13:34:59 +01:00
2022-10-07 14:08:42 +01:00
2022-09-16 12:02:48 +02:00
2022-10-13 14:30:03 +01:00
2022-10-13 14:29:38 +01:00
2022-10-13 16:47:13 +01:00
2021-06-28 09:24:07 +01:00
2021-06-28 09:24:07 +01:00
2022-08-31 10:14:25 +01:00
2022-10-31 09:38:42 -05:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2022-11-09 22:43:31 +08:00
2022-10-19 08:35:09 -04:00
2022-11-22 14:08:03 +08:00
2022-03-29 17:43:56 +02:00
2022-10-28 12:51:35 -04:00
2022-10-28 12:51:35 -04:00
2022-10-28 12:51:35 -04:00