Have you considered switching from OpenSSL? This could add interesting encryption techniques too.