Vastly improve performance for CEKs.

Store the precomputed shared information in the KEK structure.