Specify the RSA OAEP encryption padding 49/299349/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 20 Sep 2023 09:52:25 +0000 (11:52 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 26 Sep 2023 08:37:20 +0000 (10:37 +0200)
Change-Id: I88abe53b11230121f594728abf64c0cf1c38895f

src/include/ckmc/ckmc-type.h

index c3240e8..1602f62 100644 (file)
@@ -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: