Paul Sheer optimised the OpenSSL to/from libGMP conversions for the case