Custom secp256k1

BouncyCastle added a custom secp256k1 curve in 1.51 that significantly
improves ECDSA performance