I realized case when we have only ecrypted Ki. first we need to decrypt Ki by K4, after that we can calculate OPC. I can create pull request with this case