Removed OpenSSL dependency

Removed OpenSSL dependency
Code update for OpenSSL removal

Code update for OpenSSL removal