Lines Matching refs:rv
44 CK_RV rv;
51 rv = meta_handle2session(hSession, &session);
52 if (rv != CKR_OK)
53 return (rv);
55 rv = meta_handle2object(hKey, &key);
56 if (rv != CKR_OK) {
58 return (rv);
61 rv = meta_operation_init(CKF_VERIFY, session, pMechanism, key);
66 return (rv);
78 CK_RV rv;
81 rv = meta_handle2session(hSession, &session);
82 if (rv != CKR_OK)
83 return (rv);
92 rv = meta_do_operation(CKF_VERIFY, MODE_SINGLE, session, NULL,
97 return (rv);
109 CK_RV rv;
112 rv = meta_handle2session(hSession, &session);
113 if (rv != CKR_OK)
114 return (rv);
122 rv = meta_do_operation(CKF_VERIFY, MODE_UPDATE, session, NULL,
127 return (rv);
139 CK_RV rv;
142 rv = meta_handle2session(hSession, &session);
143 if (rv != CKR_OK)
144 return (rv);
156 rv = meta_do_operation(CKF_VERIFY, MODE_FINAL, session, NULL,
161 return (rv);
173 CK_RV rv;
180 rv = meta_handle2session(hSession, &session);
181 if (rv != CKR_OK)
182 return (rv);
184 rv = meta_handle2object(hKey, &key);
185 if (rv != CKR_OK) {
187 return (rv);
190 rv = meta_operation_init(CKF_VERIFY_RECOVER, session, pMechanism, key);
195 return (rv);
207 CK_RV rv;
210 rv = meta_handle2session(hSession, &session);
211 if (rv != CKR_OK)
212 return (rv);
220 rv = meta_do_operation(CKF_VERIFY_RECOVER, MODE_SINGLE, session, NULL,
225 return (rv);