Add LMS implementation

Also an LM-OTS implementation as one is required for LMS.

Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
Raef Coles 2021-07-21 12:42:15 +01:00
parent 0fe6631486
commit 8ff6df538c
No known key found for this signature in database
GPG key ID: 1AAF1B43DF2086F4
15 changed files with 2259 additions and 1 deletions

View file

@ -2461,6 +2461,34 @@
*/
#define MBEDTLS_HMAC_DRBG_C
/**
* \def MBEDTLS_LMOTS_C
*
* Enable the LMOTS one-time asymmetric hash signature algorithm.
*
* Module: library/lm_ots.c
* Caller:
*
* Requires: MBEDTLS_SHA256_C
*
* Uncomment to enable the LMOTS signature algorithm.
*/
#define MBEDTLS_LMOTS_C
/**
* \def MBEDTLS_LMS_C
*
* Enable the LMS stateful-hash asymmetric signature algorithm.
*
* Module: library/lms.c
* Caller:
*
* Requires: MBEDTLS_LMS_C
*
* Uncomment to enable the LMS signature algorithm.
*/
#define MBEDTLS_LMS_C
/**
* \def MBEDTLS_NIST_KW_C
*