Merge pull request #1913 from reaperhulk/secp256k1-support

add support for secp256k1