boringssl/crypto/ec
Adam Langley ce9d85eedd Tweaks for node.js
node.js is, effectively, another bindings library. However, it's better
written than most and, with these changes, only a couple of tiny fixes
are needed in node.js. Some of these changes are a little depressing
however so we'll need to push node.js to use APIs where possible.

Changes:
  ∙ Support verify_recover. This is very obscure and the motivation
    appears to be https://github.com/nodejs/node/issues/477 – where it's
    not clear that anyone understands what it means :(
  ∙ Add a few, no-op #defines
  ∙ Add some members to |SSL_CTX| and |SSL| – node.js needs to not
    reach into these structs in the future.
  ∙ Add EC_get_builtin_curves.
  ∙ Add EVP_[CIPHER|MD]_do_all_sorted – these functions are limited to
    decrepit.

Change-Id: I9a3566054260d6c4db9d430beb7c46cc970a9d46
Reviewed-on: https://boringssl-review.googlesource.com/6952
Reviewed-by: Adam Langley <agl@google.com>
2016-01-26 23:23:42 +00:00
..
asm Remove dead code in p256-x86_64. 2015-11-20 23:45:43 +00:00
CMakeLists.txt Add Intel's P-256 2015-11-03 22:08:47 +00:00
ec_asn1.c Enforce that |EC_KEY| private key is in [0, group->order). 2015-12-15 18:45:03 +00:00
ec_key.c Remove the CRYPTO_EX_new callback. 2015-12-15 21:29:46 +00:00
ec_montgomery.c Add |EC_METHOD| method for verifying public key order. 2015-12-15 18:39:07 +00:00
ec_test.cc Remove calls to ERR_load_crypto_strings. 2016-01-25 23:09:08 +00:00
ec.c Tweaks for node.js 2016-01-26 23:23:42 +00:00
example_mul.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
internal.h Add |EC_METHOD| method for verifying public key order. 2015-12-15 18:39:07 +00:00
oct.c Don't encode or decode ∞. 2015-11-12 23:52:37 +00:00
p224-64.c Slightly tweak some array allocations. 2015-12-16 21:19:32 +00:00
p256-64.c Fix trivial -Wcast-qual violations. 2016-01-21 21:06:02 +00:00
p256-x86_64-table.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
p256-x86_64.c Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
simple.c Remove EC_GFp_simple_method (dead code). 2015-11-12 20:07:51 +00:00
util-64.c Add 64-bit, P-256 implementation. 2015-04-16 13:53:05 -07:00
wnaf.c Remove |EC_POINTs_mul| & simplify p256-x86_64. 2015-11-19 01:08:46 +00:00