I am implementing the CPABE scheme proposed in the attached paper using Charm Crypto Library. I have written the setup function correctly but I am having a problem in KeyGen, Encrytp and Decrypt functions where different polynomials are being generated. Can some expert please help me in solving it? It is urgent and I would really appreciate your help.