Lines Matching defs:mechanism
59 CK_MECHANISM mechanism;
79 * the mechanism we plan on using.
81 mechanism.mechanism = CKM_DES_ECB;
82 mechanism.pParameter = NULL;
83 mechanism.ulParameterLen = 0;
84 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
91 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
98 rv = C_EncryptInit(hSession, &mechanism, hKey);