clean up symmetric en- and decryption
minor coding style fixes
gka: improve point serialization
code dedup and improvements for msg packing/parsing