Add MBEDTLS_LMS_PRIVATE define

To enable private key operations

Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
Raef Coles 2022-09-01 12:24:31 +01:00
parent ebd35b5b80
commit ab4f87413a
No known key found for this signature in database
GPG key ID: 1AAF1B43DF2086F4
8 changed files with 104 additions and 72 deletions

View file

@ -2469,12 +2469,24 @@
* Module: library/lms.c
* Caller:
*
* Requires: MBEDTLS_MD_C
* Requires: MBEDTLS_PSA_CRYPTO_C
*
* Uncomment to enable the LMS signature algorithm.
* Uncomment to enable the LMS verification algorithm and public key operations.
*/
#define MBEDTLS_LMS_C
/**
* \def MBEDTLS_LMS_PRIVATE
*
* Enable LMS private-key operations and signing code. Functions enabled by this
* option are experimental, and should not be used in production.
*
* Requires: MBEDTLS_LMS_C
*
* Uncomment to enable the LMS signature algorithm and private key operations.
*/
// #define MBEDTLS_LMS_PRIVATE
/**
* \def MBEDTLS_NIST_KW_C
*