Gabor Mezei
|
2c8e144ef6
|
Fix tests for 32bit
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-16 10:25:08 +01:00 |
|
Gabor Mezei
|
cf228706cd
|
Restrict input parameter size for ecp_mod_p521_raw
The imput mpi parameter must have twice as many limbs as the modulus.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-15 18:19:08 +01:00 |
|
Janos Follath
|
755ff0e685
|
Add corner case to mod_p521 tests
Signed-off-by: Janos Follath <janos.follath@arm.com>
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-15 18:13:50 +01:00 |
|
Gabor Mezei
|
b50aeb8f05
|
Fix 32-bit issues
The 521 bit needs different limb alignment for different word sizes.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-15 18:13:49 +01:00 |
|
Gabor Mezei
|
05c138e172
|
Fix pylint issues
Create a new function for calculating the number of hex digits needed
for a certain amount of limbs.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-15 18:13:49 +01:00 |
|
Gabor Mezei
|
d8f67b975b
|
Add test generation for ecp_mod_p521_raw
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-15 18:13:48 +01:00 |
|
Gabor Mezei
|
5c9f401e47
|
Add more test cases
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-13 14:15:08 +01:00 |
|
Gabor Mezei
|
b6875086e6
|
Fix pylint issues
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-01-31 14:40:05 +01:00 |
|
Gabor Mezei
|
bd23f3b2b8
|
Add test generation for ecp_mod_p192_raw
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-01-31 14:40:05 +01:00 |
|
Gabor Mezei
|
95ecaaf56d
|
Add test generation support for the ecp module
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-01-31 14:40:05 +01:00 |
|