Lines Matching refs:mechanism
62 CK_MECHANISM mechanism;
90 * the mechanism we plan on using.
92 mechanism.mechanism = CKM_DES_ECB;
93 mechanism.pParameter = NULL;
94 mechanism.ulParameterLen = 0;
95 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
105 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
112 rv = C_EncryptInit(hSession, &mechanism, hKey);
172 CK_MECHANISM mechanism;
181 * the mechanism we plan on using.
183 mechanism.mechanism = CKM_RC4;
184 mechanism.pParameter = NULL;
185 mechanism.ulParameterLen = 0;
186 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
191 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
197 rv = C_EncryptInit(hSession, &mechanism, hKey);