crypto: use BoringSSL compatible errors
This PR migrates OpenSSL-specific error messages (BNerr
& Dherr
) to the underlying error calls, which BoringSSL is also capable of invoking. Electron is currently patching these out, and we'd prefer not to.
Another consideration we might perhaps make, however, is instead just throwing more prototypical Node.js errors - curious what y'all think.