Searched refs:CKR_OK (Results 1 – 3 of 3) 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
10 if (ret != CKR_OK) { in main()17 if (ret != CKR_OK) { in main()29 if (ret != CKR_OK) { in main()40 if (ret != CKR_OK) { in main()52 if (ret != CKR_OK) { in main()