Open sctarget opened 1 year ago
I think this is caused by https://github.com/homenc/HElib/blob/3e337a66a91a92d49de6a9505340826b0eb71081/src/keys.cpp#L1333
There's a comment that asks "Why are we comparing contexts rather than addresses", and the answer is "because of serialization, the context in the ciphertext may be different from the context in the secret key".
When I read context from a serialized string and use the context, my program crashed. The reason is "Context mismatch" or "inconsistent contexts". So I wonder why compare the address of context?