Lines Matching defs:rv
61 CK_RV rv;
95 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
96 if (rv != CKR_OK) {
105 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
107 if (rv != CKR_OK) {
112 rv = C_EncryptInit(hSession, &mechanism, hKey);
113 if (rv != CKR_OK) {
120 rv = C_EncryptUpdate(hSession,
124 if (rv != CKR_OK) {
171 CK_RV rv;
186 rv = SUNW_C_GetMechSession(mechanism.mechanism, &hSession);
187 if (rv != CKR_OK) {
191 rv = SUNW_C_KeyToObject(hSession, mechanism.mechanism,
193 if (rv != CKR_OK)
197 rv = C_EncryptInit(hSession, &mechanism, hKey);
198 if (rv != CKR_OK)
202 rv = C_EncryptUpdate(hSession,
205 if (rv == CKR_OK)