I've looked at the paper Ciphertext-Policy Attribute-Based Encryption by Bethencourt, Sahai, Waters and see this an answer here for the explanation of DecrypNode
for a leaf node.
I could understand the derivation of this $f_n$ for a leaf node but not for a non-leaf node in the $s$.
I could not understand the move from step 4 to 5 ( the last move).
I will be very grateful if somebody can help me in understanding the last move here?
How is $q_x(0) = q_x(1) \cdot \Delta_{1, S_x'}(0) + q_x(2) \cdot \Delta_{2, S_x'}(0) + q_x(3) \cdot \Delta_{3, S_x'}(0)\ \dots $ ?
I don't think Lagrange interpolation says this. I think I am missing something here. Please help me in understanding this.
Thanks and Regards