Searched refs:CKR_OK (Results 1 – 2 of 2) sorted by relevance
104 p->slotinfo[i].session)) != CKR_OK) in pkcs11_provider_finalize()107 if ((rv = p->function_list->C_Finalize(NULL)) != CKR_OK) in pkcs11_provider_finalize()204 if ((rv = f->C_FindObjectsInit(session, attr, nattr)) != CKR_OK) { in pkcs11_find()208 if ((rv = f->C_FindObjects(session, obj, 1, &nfound)) != CKR_OK || in pkcs11_find()214 if ((rv = f->C_FindObjectsFinal(session)) != CKR_OK) in pkcs11_find()278 if (rv != CKR_OK && rv != CKR_USER_ALREADY_LOGGED_IN) { in pkcs11_rsa_private_encrypt()290 } else if ((rv = f->C_SignInit(si->session, &mech, obj)) != CKR_OK) { in pkcs11_rsa_private_encrypt()296 if (rv == CKR_OK) in pkcs11_rsa_private_encrypt()375 != CKR_OK) { in pkcs11_open_session()382 if (rv != CKR_OK && rv != CKR_USER_ALREADY_LOGGED_IN) { in pkcs11_open_session()[all …]
1097 #define CKR_OK (0) macro