Initialize chacha and poly1305 libraries.