Skip to main content

C_EncryptInit

Type Alias C_EncryptInit 

Source
pub type C_EncryptInit = extern "C" fn(hSession: CK_SESSION_HANDLE, pMechanism: CK_MECHANISM_PTR, hKey: CK_OBJECT_HANDLE) -> CK_RV;
Expand description

C_EncryptInit initializes an encryption operation.

§Function Parameters

  • hSession: the session’s handle
  • pMechanism: the encryption mechanism
  • hKey: handle of encryption key