Replace another two malloc(X * Y) with reallocarray, and
make ChaCha20-Poly1305 the prefered symmetric cipher.