Lines Matching refs:prov_rv
251 CK_RV prov_rv; /* Provider's return code */ in pkcs11_slot_mapping() local
373 prov_rv = Tmp_C_GetFunctionList(&prov_funcs); in pkcs11_slot_mapping()
379 if (prov_rv != CKR_OK) { in pkcs11_slot_mapping()
383 fullpath, conf_err, pkcs11_strerror(prov_rv)); in pkcs11_slot_mapping()
389 prov_rv = prov_funcs->C_Initialize(pInitArgs); in pkcs11_slot_mapping()
395 if ((prov_rv != CKR_OK) && in pkcs11_slot_mapping()
396 (prov_rv != CKR_CRYPTOKI_ALREADY_INITIALIZED)) { in pkcs11_slot_mapping()
400 fullpath, conf_err, pkcs11_strerror(prov_rv)); in pkcs11_slot_mapping()
410 prov_rv = prov_funcs->C_GetInfo(&prov_info); in pkcs11_slot_mapping()
417 if ((prov_rv != CKR_OK) || in pkcs11_slot_mapping()
420 if (prov_rv != CKR_OK) { in pkcs11_slot_mapping()
424 conf_err, pkcs11_strerror(prov_rv)); in pkcs11_slot_mapping()
461 prov_rv = prov_funcs->C_GetSlotList(FALSE, in pkcs11_slot_mapping()
468 if (prov_rv != CKR_OK) { in pkcs11_slot_mapping()
472 fullpath, conf_err, pkcs11_strerror(prov_rv)); in pkcs11_slot_mapping()
500 prov_rv = prov_funcs->C_GetSlotList(FALSE, in pkcs11_slot_mapping()
504 if (prov_rv != CKR_OK) { in pkcs11_slot_mapping()
508 fullpath, conf_err, pkcs11_strerror(prov_rv)); in pkcs11_slot_mapping()