From 36671df676d073023d0f2483cdc9eaacc9258a3d Mon Sep 17 00:00:00 2001 From: Krzysztof Jackiewicz Date: Wed, 20 Sep 2023 11:52:25 +0200 Subject: [PATCH] Specify the RSA OAEP encryption padding Change-Id: I88abe53b11230121f594728abf64c0cf1c38895f --- src/include/ckmc/ckmc-type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/ckmc/ckmc-type.h b/src/include/ckmc/ckmc-type.h index c3240e8..1602f62 100644 --- a/src/include/ckmc/ckmc-type.h +++ b/src/include/ckmc/ckmc-type.h @@ -434,11 +434,11 @@ typedef enum __ckmc_algo_type { - #CKMC_PARAM_ALGO_TYPE = #CKMC_ALGO_AES_CFB (mandatory), - #CKMC_PARAM_ED_IV = 16-byte initialization vector (mandatory) */ - CKMC_ALGO_RSA_OAEP, /**< RSA-OAEP algorithm + CKMC_ALGO_RSA_OAEP, /**< RSA-OAEP algorithm (EME-OAEP as defined in PKCS #1 with SHA-1 and MGF1) Supported parameters: - #CKMC_PARAM_ALGO_TYPE = #CKMC_ALGO_RSA_OAEP (mandatory), - - #CKMC_PARAM_ED_LABEL = label to be associated with the message - (optional, not supported at the moment) */ + - #CKMC_PARAM_ED_LABEL = label (encoding parameter) to be associated with + the message (optional, not supported at the moment) */ CKMC_ALGO_KBKDF, /**< Key based key derivation algorithm Supported parameters: -- 2.7.4