Raef Coles
|
57d5328ad5
|
Remove MBEDTLS_LM(OT)S prefix from internal macros
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:29:00 +01:00 |
|
Raef Coles
|
ad05425ab7
|
Update naming of internal LMS functions
To comply with the mbedtls_ requirement
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:59 +01:00 |
|
Raef Coles
|
98d6e22050
|
Remove doxygen markup from internal LMS functions
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:54 +01:00 |
|
Raef Coles
|
9c9027b1a4
|
Add extra LMS and LMOTS tests
NULL-message and LMOTS signature leak tests
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:50 +01:00 |
|
Raef Coles
|
fa24f9d6ea
|
Minor fixes to LMS and LMOTS macros
Update some names, use the correct macro in certain places.
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:48 +01:00 |
|
Raef Coles
|
0a967ccf9a
|
Document LMS and LMOTS internal functions
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:47 +01:00 |
|
Raef Coles
|
8738a49d0c
|
Fix iterator types in LMOTS
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:45 +01:00 |
|
Raef Coles
|
e0a17610d1
|
Fix LMS/LMOTS if-statement style
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:41 +01:00 |
|
Raef Coles
|
9b88ee5d5d
|
Fix LMS and LMOTS coding style violations
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:40 +01:00 |
|
Raef Coles
|
366d67d9af
|
Shorted LMS and LMOTS line-lengths
To attempt to comply with the 80-char suggestion
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:38 +01:00 |
|
Raef Coles
|
e9479a0264
|
Update LMS API to support multiple parameter sets
Parameterise macros to allow variation of sizes
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:36 +01:00 |
|
Raef Coles
|
ab4f87413a
|
Add MBEDTLS_LMS_PRIVATE define
To enable private key operations
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:35 +01:00 |
|
Raef Coles
|
ebd35b5b80
|
Rename LMS internal tree-manipulation functions
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:31 +01:00 |
|
Raef Coles
|
891c613f31
|
Update LMOTS signature use of temporary variables
Document them properly, and move random value to a temporary variable
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:29 +01:00 |
|
Raef Coles
|
0c88d4e447
|
Remove superfluous casts in LMS and LMOTS
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:28 +01:00 |
|
Raef Coles
|
f5632d3efc
|
Remove MBEDTLS_PRIVATE usage from LMS and LMOTS
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:27 +01:00 |
|
Raef Coles
|
01c71a17b3
|
Update LMS and LMOTS api
Fix function names and parameters. Move macros to be more private.
Update implementation.
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:25 +01:00 |
|
Raef Coles
|
c8f9604d7b
|
Use PSA hashing for LMS and LMOTS
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:23 +01:00 |
|
Raef Coles
|
7dce69a27a
|
Make LMOTS a private api
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:22 +01:00 |
|
Raef Coles
|
8ff6df538c
|
Add LMS implementation
Also an LM-OTS implementation as one is required for LMS.
Signed-off-by: Raef Coles <raef.coles@arm.com>
|
2022-10-13 14:28:15 +01:00 |
|