Lines Matching refs:rv
46 CK_RV rv;
64 HANDLE2SESSION(hSession, sessp, rv);
66 if (rv != CKR_OK) {
67 return (rv);
78 rv = FUNCLIST(slotid)->C_DigestInit(sessp->se_handle,
82 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
86 return (rv);
98 CK_RV rv;
112 HANDLE2SESSION(hSession, sessp, rv);
114 if (rv != CKR_OK) {
115 return (rv);
119 rv = FUNCLIST(sessp->se_slotid)->C_Digest(sessp->se_handle, pData,
123 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
127 return (rv);
139 CK_RV rv;
153 HANDLE2SESSION(hSession, sessp, rv);
155 if (rv != CKR_OK) {
156 return (rv);
160 rv = FUNCLIST(sessp->se_slotid)->C_DigestUpdate(sessp->se_handle,
164 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
168 return (rv);
178 CK_RV rv;
191 HANDLE2SESSION(hSession, sessp, rv);
193 if (rv != CKR_OK) {
194 return (rv);
198 rv = FUNCLIST(sessp->se_slotid)->C_DigestKey(sessp->se_handle, hKey);
201 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
205 return (rv);
216 CK_RV rv;
230 HANDLE2SESSION(hSession, sessp, rv);
232 if (rv != CKR_OK) {
233 return (rv);
237 rv = FUNCLIST(sessp->se_slotid)->C_DigestFinal(sessp->se_handle,
241 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
245 return (rv);