Use named curve parameter encoding by default.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 19 Feb 2015 14:32:44 +0000 (14:32 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 19 Feb 2015 14:44:46 +0000 (14:44 +0000)
commit86f300d38540ead85543aee0cb30c32145931744
tree8d88f3e13382556dfc8f169d5cc509e4cc448452
parentf37879d07783a78cda66fd80eaae687dadc7269f
Use named curve parameter encoding by default.

Many applications require named curve parameter encoding instead of explicit
parameter encoding (including the TLS library in OpenSSL itself). Set this
encoding by default instead of requiring an explicit call to set it.

Add OPENSSL_EC_EXPLICT_CURVE define.
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/ec/ec.h
crypto/ec/ec_lib.c