Red Hat Bugzilla – Bug 1191209
Missing structure declaration CK_RSA_PKCS_OAEP_PARAMS
Last modified: 2017-08-01 12:52:09 EDT
Description of problem: Structure CK_RSA_PKCS_OAEP_PARAMS is missing in pkcs11.h Actual results: Missing structure Expected results: Expected structure CK_RSA_PKCS_OAEP_PARAMS in pkcs11.h Additional info: Example from softhsm package struct ck_rsa_pkcs_oaep_params { ck_mechanism_type_t hash_alg; unsigned long mgf; unsigned long source; void *source_data; unsigned long source_data_len; }; typedef struct ck_rsa_pkcs_oaep_params CK_RSA_PKCS_OAEP_PARAMS; typedef struct ck_rsa_pkcs_oaep_params *CK_RSA_PKCS_OAEP_PARAMS_PTR;
And following constants required for CK_RSA_PKCS_OAEP_PARAMS are missing too: #define CKG_MGF1_SHA1 (0x00000001) #define CKG_MGF1_SHA256 (0x00000002) #define CKG_MGF1_SHA384 (0x00000003) #define CKG_MGF1_SHA512 (0x00000004) #define CKG_MGF1_SHA224 (0x00000005) #define CKZ_DATA_SPECIFIED (0x00000001)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1981