Changed curve name detection algorithm
Changed curve name detection algorithm

Old one used KeyGenerator to generate KeyPair and then extracts curve
parameters from public key which is very inefficient (in particular it
causes KeyGenerator to use SecureRandom generator which can block while
waiting for entropy). New approach uses java.security interfaces and
providers to get initialized curve from security provider without
actually generating any keys

funcool/buddy-core,funcool/buddy-core