Skip to content

Instantly share code, notes, and snippets.

@mrtarkhan
Created April 1, 2024 07:08
Show Gist options
  • Save mrtarkhan/b997c9eabc1c2029ecf11c796ec73200 to your computer and use it in GitHub Desktop.
Save mrtarkhan/b997c9eabc1c2029ecf11c796ec73200 to your computer and use it in GitHub Desktop.
PKCS prefixes
Prefix Description
C_ Function
CK_ Data type or general constant
CKA_ Attribute
CKC_ Certificate type
CKD_ Key derivation function
CKF_ Bit flag
CKG_ Mask generation function
CKH_ Hardware feature type
CKK_ Key type
CKM_ Mechanism type
CKN_ Notification
CKO_ Object class
CKP_ Pseudo-random function
CKS_ Session state
CKR_ Return value
CKU_ User type
CKZ_ Salt/Encoding parameter source
h a handle
ul a CK_ULONG
p a pointer
pb a pointer to a CK_BYTE
ph a pointer to a handle
pul a pointer to a CK_ULONG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment