Merge pull request #1993 from alex/ec-bindings

Fixed #1969 -- added bindings for some more OpenSSL functions