Gabor Mezei
|
54ad647e8d
|
Add test cases for P384 fast reduction testing
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-28 15:30:32 +02:00 |
|
Gabor Mezei
|
fede276392
|
Typo: reformat numbers
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-28 15:29:40 +02:00 |
|
Gabor Mezei
|
a9a68728b3
|
Add test cases for P521 fast reduction testing
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-28 15:09:35 +02:00 |
|
Gabor Mezei
|
64a229f6ac
|
Add test cases for P224 fast reduction testing
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-28 15:09:35 +02:00 |
|
Gabor Mezei
|
62adc726d0
|
Add test cases for P192 fast reduction testing
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-28 15:09:35 +02:00 |
|
Minos Galanakis
|
4af90bbcda
|
EcpP384R1Raw: Added test case for 2nd round of carry reduction.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
|
2023-03-21 15:46:51 +00:00 |
|
Minos Galanakis
|
37f4cb6d0e
|
ecp_curves: Minor rework for p384
This patch adjusts formatting, documentation and testing.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
|
2023-03-21 15:46:50 +00:00 |
|
Minos Galanakis
|
f359c91f9b
|
ecp test generator: Added EcpPp384R1Raw().
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
|
2023-03-21 15:45:18 +00:00 |
|
Gabor Mezei
|
fffd6d9ded
|
Fix maximum cannonical value
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-09 13:43:15 +01:00 |
|
Gabor Mezei
|
e4710ae9ed
|
Add and fix comments
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-09 13:43:02 +01:00 |
|
Gabor Mezei
|
eb591ff94d
|
Add test generation for ecp_mod_p256_raw
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-08 14:12:20 +01:00 |
|
Gabor Mezei
|
a2ef6a8e38
|
The is_valid() function is needed to not filter out test cases
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-06 16:57:25 +01:00 |
|
Gabor Mezei
|
61ef3603eb
|
Correct the maximum canonical value in tests
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-06 16:32:16 +01:00 |
|
Gabor Mezei
|
d034b3d0d2
|
Code style: have two empty lines before and after class definitions
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-06 16:32:15 +01:00 |
|
Gabor Mezei
|
5e33e6f5d4
|
Remove unnecessary function override
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-06 16:32:12 +01:00 |
|
Gabor Mezei
|
931fd646ff
|
Use lower case hex number
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-03-01 16:50:00 +01:00 |
|
Gabor Mezei
|
98791e7781
|
Add more test cases for P224 testing
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-27 15:59:34 +01:00 |
|
Gabor Mezei
|
f65a059a64
|
Add test generation for ecp_mod_p224_raw
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2023-02-21 11:40:27 +01:00 |
|
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 |
|