boringssl/crypto/ec
David Benjamin bfe5f08170 Rewrite EC_window_bits_for_scalar_size into a function.
The compiler should be plenty smart enough to decide whether to inline a
static function called only once. We don't need to resort to so
unreadable a ternary chain.

Change-Id: Iacc8e0c4147fc69008806a0cc36d9e632169601a
Reviewed-on: https://boringssl-review.googlesource.com/12466
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-11-29 01:01:28 +00:00
..
asm ec/ecp_nistz256: harmonize is_infinity with ec_GFp_simple_is_at_infinity. 2016-11-16 18:16:54 +00:00
CMakeLists.txt Depend all_tests on p256-x86_64_test. 2016-11-17 02:56:51 +00:00
ec_asn1.c Decouple crypto/ec from the OID table. 2016-03-31 22:12:09 +00:00
ec_key.c Add BN_rand_range_ex and use internally. 2016-07-29 16:09:26 +00:00
ec_montgomery.c Be -Wnewline-eof clean. 2016-08-29 19:15:19 +00:00
ec_test.cc ec/ecp_nistz256: harmonize is_infinity with ec_GFp_simple_is_at_infinity. 2016-11-16 18:16:54 +00:00
ec.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
example_mul.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
internal.h Don't use function wrappers for EC_METHOD. 2016-08-16 19:27:52 +00:00
oct.c Fix error code for unreduced x. 2016-11-29 00:55:04 +00:00
p224-64.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
p256-64.c Fix up macros. 2016-10-18 18:28:23 +00:00
p256-x86_64_test.cc Remove unnecessary BN_is_negative check in p256-x86_64_test. 2016-11-16 19:19:38 +00:00
p256-x86_64_tests.txt ec/ecp_nistz256: harmonize is_infinity with ec_GFp_simple_is_at_infinity. 2016-11-16 18:16:54 +00:00
p256-x86_64-table.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
p256-x86_64.c ec/ecp_nistz256: harmonize is_infinity with ec_GFp_simple_is_at_infinity. 2016-11-16 18:16:54 +00:00
p256-x86_64.h Add low-level p256-x86_64 tests. 2016-11-15 17:05:01 +00:00
simple.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
util-64.c Remove unused code for multiple-point ECC multiplication. 2016-03-09 19:47:19 +00:00
wnaf.c Rewrite EC_window_bits_for_scalar_size into a function. 2016-11-29 01:01:28 +00:00