Lines Matching defs:rv
45 CK_RV rv;
64 HANDLE2SESSION(hSession, sessp, rv);
66 if (rv != CKR_OK) {
67 return (rv);
78 rv = FUNCLIST(slotid)->C_GenerateKey(sessp->se_handle,
82 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
86 return (rv);
102 CK_RV rv;
124 HANDLE2SESSION(hSession, sessp, rv);
126 if (rv != CKR_OK) {
127 return (rv);
138 rv = FUNCLIST(slotid)->C_GenerateKeyPair(sessp->se_handle,
144 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
148 return (rv);
162 CK_RV rv;
182 HANDLE2SESSION(hSession, sessp, rv);
184 if (rv != CKR_OK) {
185 return (rv);
196 rv = FUNCLIST(slotid)->C_WrapKey(sessp->se_handle,
200 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
204 return (rv);
219 CK_RV rv;
239 HANDLE2SESSION(hSession, sessp, rv);
241 if (rv != CKR_OK) {
242 return (rv);
253 rv = FUNCLIST(slotid)->C_UnwrapKey(sessp->se_handle,
258 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
262 return (rv);
276 CK_RV rv;
295 HANDLE2SESSION(hSession, sessp, rv);
297 if (rv != CKR_OK) {
298 return (rv);
309 rv = FUNCLIST(slotid)->C_DeriveKey(sessp->se_handle,
313 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
317 return (rv);