Added functions to initialize and cleanup the OpenSSL crypto library