Lines Matching refs:mechanism
63 CK_MECHANISM mechanism;
68 mechanism.mechanism = CKM_MD5_HMAC;
69 mechanism.pParameter = 0;
70 mechanism.ulParameterLen = 0;
71 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
76 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
84 rv = C_SignInit(hSession, &mechanism, hKey);
116 CK_MECHANISM mechanism;
136 * the mechanism we plan on using.
138 mechanism.mechanism = CKM_DES_ECB;
139 mechanism.pParameter = NULL;
140 mechanism.ulParameterLen = 0;
141 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
148 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
155 rv = C_EncryptInit(hSession, &mechanism, hKey);