← Prev in month ← Prev in thread
Next in thread → Next in month →

Inconsistent/missing/unknown definitions in draft headers

From
Stef Walter <>
Date
2014-09-15T10:44:45+00:00
ID
Thread
Inconsistent/missing/unknown definitions in draft headers
I looked over the draft headers [0]. I noticed that at least the
following inconsistencies that are present.

In the process, I produced a diff of the headers, I noticed that many of
the comments in the headers about which version of PKCS#11 introduced
which comments were removed. If these were accidentally removed, then
the attached diff restores them.

Defined but not present in spec:
 * CKM_CMS_SIG_PARAMS
 * CKM_ECDSA_SHA224
 * CKM_ECDSA_SHA256
 * CKM_ECDSA_SHA384
 * CKM_ECDSA_SHA512
 * CK_DSA_PARAMETER_GEN_PARAMS

Missing definitions from spec:
 * CKA_COPYABLE
 * CK_CERTIFICATE_CATEGORY
 * CKM_X9_42_DH_PKCS_PARAMETER_GEN
 * CK_DSA_PARAMETER_GEN_PARAM
 * CKM_SHA512_T
 * CKM_SHA512_T_HMAC
 * CKM_SHA512_T_HMAC_GENERAL

The spec contains different definitions for:
 * CKK_SHA512_224_HMAC
 * CKK_SHA512_256_HMAC
 * CKK_SHA512_T_HMAC
 * CKM_DSA_SHA224
 * CKM_DSA_SHA256
 * CKM_DSA_SHA384
 * CKM_DSA_SHA512
 * CKM_DSA_FIPS_G_GEN
 * CKM_DSA_PROBABLISTIC_PARAMETER_GEN
 * CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN
 * CKM_SHA512_224
 * CKM_SHA512_224_HMAC
 * CKM_SHA512_224_HMAC_GENERAL
 * CKM_SHA512_256
 * CKM_SHA512_256_HMAC
 * CKM_SHA512_256_HMAC_GENERAL
 * CKM_SHA512_224_KEY_DERIVATION
 * CKM_SHA512_256_KEY_DERIVATION
 * CKM_SHA512_T_KEY_DERIVATION
 * CKM_TLS10_MAC_SERVER
 * CKM_TLS10_MAC_CLIENT
 * CKM_TLS12_MAC
 * CKM_RSA_AES_KEY_WRAP
 * CKR_EXCEEDED_MAX_ITERATIONS
 * CKR_FIPS_SELF_TEST_FAILED
 * CKR_LIBRARY_LOAD_FAILED
 * CKR_PIN_TOO_WEAK
 * CKR_PUBLIC_KEY_INVALID
 * CKM_AES_CMAC_GENERAL
 * CKM_AES_CTS

Stef

[0]
https://www.oasis-open.org/apps/org/workgroup/pkcs11/download.php/54082/pkcs11t.h
← Prev in month ← Prev in thread
Next in thread → Next in month →