Commit Graph

  • e1fb4af90b Add 64-bit integer utilities Greg Maxwell 2015-08-05 16:17:50 +02:00
  • e541a90ef6
    Merge #629: Avoid calling _is_zero when _set_b32 fails. Gregory Maxwell 2019-05-29 21:46:31 +00:00
  • f34b0c3f35
    Merge #630: Note intention of timing sidechannel freeness. Gregory Maxwell 2019-05-29 20:30:27 +00:00
  • 8d1563b0ff Note intention of timing sidechannel freeness. Gregory Maxwell 2019-05-29 12:23:20 +00:00
  • 1669bb2865
    Merge #628: Fix ability to compile tests without -DVERIFY. Gregory Maxwell 2019-05-29 14:24:22 +00:00
  • ecc94abcc8
    Merge #627: Guard memcmp in tests against mixed size inputs. Gregory Maxwell 2019-05-29 14:23:45 +00:00
  • 544435fc90
    Merge #578: Avoid implementation-defined and undefined behavior when dealing with sizes Gregory Maxwell 2019-05-29 10:35:10 +00:00
  • 143dc6e9ee
    Merge #595: Allow to use external default callbacks Gregory Maxwell 2019-05-27 07:30:33 +00:00
  • e49f7991c2 Add missing #(un)defines to base-config.h Tim Ruffing 2019-03-18 16:20:07 +01:00
  • 77defd2c3b Add secp256k1_ prefix to default callback functions Tim Ruffing 2019-03-09 11:41:21 +01:00
  • 908bdce64e Include stdio.h and stdlib.h explicitly in secp256k1.c Tim Ruffing 2019-03-04 16:11:35 +01:00
  • 5db782e655 Allow usage of external default callbacks Tim Ruffing 2019-03-04 15:36:35 +01:00
  • 6095a863fa Replace CHECKs for no_precomp ctx by ARG_CHECKs without a return Tim Ruffing 2019-03-04 13:09:45 +01:00
  • cd473e02c3 Avoid calling secp256k1_*_is_zero when secp256k1_*_set_b32 fails. Gregory Maxwell 2019-05-26 10:22:38 +00:00
  • 6c36de7a33
    Merge #600: scratch space: use single allocation Gregory Maxwell 2019-05-26 07:37:54 +00:00
  • 98836b11f0 scratch: replace frames with "checkpoint" system Andrew Poelstra 2019-05-25 14:15:38 +00:00
  • 7623cf2b97 scratch: save a couple bytes of unnecessarily-allocated memory Andrew Poelstra 2019-03-15 15:41:09 +00:00
  • a7a164f2c6 scratch: rename max_size to size, document that extra will actually be allocated Andrew Poelstra 2019-03-14 14:41:03 +00:00
  • 5a4bc0bb95 scratch: unify allocations Andrew Poelstra 2019-03-14 14:37:53 +00:00
  • c2b028a281 scratch space: thread error_callback into all scratch space functions Andrew Poelstra 2019-03-13 23:30:51 +00:00
  • 0be1a4ae62 scratch: add magic bytes to beginning of structure Andrew Poelstra 2019-03-13 22:35:08 +00:00
  • 92a48a764d scratch space: use single allocation Andrew Poelstra 2019-03-13 22:19:41 +00:00
  • 40839e21b9
    Merge #592: Use trivial algorithm in ecmult_multi if scratch space is small Gregory Maxwell 2019-05-25 22:34:47 +00:00
  • dcf392027b Fix ability to compile tests without -DVERIFY. Gregory Maxwell 2019-05-25 21:49:45 +00:00
  • a484e0008b
    Merge #566: Enable context creation in preallocated memory Gregory Maxwell 2019-05-25 21:16:07 +00:00
  • 0522caac8f Explain caller's obligations for preallocated memory Tim Ruffing 2019-03-29 22:27:01 +01:00
  • 238305fdbb Move _preallocated functions to separate header Tim Ruffing 2018-11-27 16:48:57 +01:00
  • 695feb6fbd Export _preallocated functions Tim Ruffing 2018-11-27 16:47:46 +01:00
  • 814cc78d71 Add tests for contexts in preallocated memory Tim Ruffing 2018-10-25 20:32:38 +02:00
  • ba12dd08da Check arguments of _preallocated functions Tim Ruffing 2018-10-25 18:08:14 +02:00
  • 5feadde462 Support cloning a context into preallocated memory Tim Ruffing 2018-10-25 17:14:10 +02:00
  • c4fd5dab45 Switch to a single malloc call Tim Ruffing 2018-10-22 16:25:26 +02:00
  • ef020de16f Add size constants for preallocated memory Tim Ruffing 2018-10-22 16:23:09 +02:00
  • 1bf7c056ba Prepare for manual memory management in preallocated memory Tim Ruffing 2018-10-18 19:09:51 +02:00
  • 248bffb052 Guard memcmp in tests against mixed size inputs. Gregory Maxwell 2019-05-25 11:54:08 +00:00
  • 36698dcfee
    Merge #596: Make WINDOW_G configurable Gregory Maxwell 2019-05-25 10:15:59 +00:00
  • 9ecd8bf38a
    Merge pull request #63 from real-or-random/zkp-cflags-for-build secp256k1-zkp-2019-05-30 2019-05-rebase-previous-head Jonas Nick 2019-05-24 20:41:52 +00:00
  • acc62885b5
    Merge pull request #56 from romanz/arm-assembly Jonas Nick 2019-05-24 20:39:25 +00:00
  • 57e6539a7b
    Merge pull request #60 from romanz/ignore-benches Jonas Nick 2019-05-24 20:35:44 +00:00
  • 6395289e32
    Merge pull request #64 from real-or-random/zkp-arm-asm-exhaustive Jonas Nick 2019-05-24 20:33:28 +00:00
  • a61a93ff50 Clean up ./configure help strings Tim Ruffing 2019-03-06 14:10:38 +01:00
  • 2842dc523e Make WINDOW_G configurable Tim Ruffing 2019-03-06 13:12:33 +01:00
  • 24819987d3 Add $(COMMON_LIB) to exhaustive tests to fix ARM asm build Gregory Maxwell 2019-03-09 06:17:27 +00:00
  • 3955e62209 Actually pass CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD to linker Tim Ruffing 2019-02-10 11:58:52 +01:00
  • 5a9347a721 configure: Use CFLAGS_FOR_BUILD when checking native compiler Tim Ruffing 2019-01-16 17:12:38 +01:00
  • 1a02d6ce51
    Merge #626: Revert "Merge #620: Install headers automatically" Gregory Maxwell 2019-05-24 01:00:58 +00:00
  • 662918cb29 Revert "Merge #620: Install headers automatically" ian 2019-05-24 08:34:54 +08:00
  • 14c7dbd444 Simplify control flow in DER parsing Tim Ruffing 2018-11-07 16:13:27 +01:00
  • ec8f20babd Avoid out-of-bound pointers and integer overflows in size comparisons Tim Ruffing 2018-11-07 16:17:57 +01:00
  • 01ee1b3b3c Parse DER-enconded length into a size_t instead of an int Tim Ruffing 2018-11-07 16:07:33 +01:00
  • 912680ed86
    Merge #561: Respect LDFLAGS and #undef STATIC_PRECOMPUTATION if using basic config Gregory Maxwell 2019-05-23 00:36:27 +00:00
  • 91fae3ace0
    Merge #620: Install headers automatically Gregory Maxwell 2019-05-23 00:00:49 +00:00
  • 5df77a0eda
    Merge #533: Make sure we're not using an uninitialized variable in secp256k1_wnaf_const(...) Gregory Maxwell 2019-05-22 04:43:53 +00:00
  • 975e51e0d9
    Merge #617: Pass scalar by reference in secp256k1_wnaf_const() Gregory Maxwell 2019-05-22 04:38:27 +00:00
  • 12aa65a379
    Merge pull request #62 from HoOngEe/master Jonas Nick 2019-05-20 10:13:05 +00:00
  • 735fbde04e
    Merge #619: Clear a copied secret key after negation Gregory Maxwell 2019-05-16 08:37:20 +00:00
  • 51c21f6b9d Clear a copied secret key after negation Seonpyo Kim 2019-05-15 19:08:43 +09:00
  • 16e86150d0 Install headers automatically Víctor Mayoral Vilches 2019-05-15 09:54:35 +02:00
  • 069870d92a Clear a copied secret key after negation Seonpyo Kim 2019-05-15 15:55:01 +09:00
  • 51a010e6ad Add bench_generator and bench_rangeproof to .gitignore Roman Zeyde 2019-05-14 22:04:23 +03:00
  • 8979ec0d9a Pass scalar by reference in secp256k1_wnaf_const() Tim Ruffing 2019-05-14 11:43:54 +02:00
  • 84a808598b
    Merge #612: Allow field_10x26_arm.s to compile for ARMv7 architecture Gregory Maxwell 2019-05-09 22:23:41 +00:00
  • d4d270a59c
    Allow field_10x26_arm.s to compile for ARMv7 architecture Roman Zeyde 2019-04-21 20:11:58 +03:00
  • 741f886bcc Allow field_10x26_arm.s to compile for ARMv7 architecture Roman Zeyde 2019-04-21 20:11:58 +03:00
  • 1c830b4c9a
    Merge pull request #53 from romanz/zkp-trezor Andrew Poelstra 2019-04-12 16:42:45 +00:00
  • cd364a0719 Add missing #(un)defines to base-config.h Tim Ruffing 2019-03-18 16:20:07 +01:00
  • 767317cbf5 Make sure we're not using an uninitialized variable in secp256k1_wnaf_const(...) practicalswift 2018-05-06 09:28:54 +02:00
  • edd941c94b Make randomization of a non-signing context a noop Tim Ruffing 2019-01-27 13:17:37 +01:00
  • b8c1bc517e Clean up ./configure help strings (zkp extensions) Tim Ruffing 2019-04-05 21:26:19 +02:00
  • 39fbe8ad3f Clean up ./configure help strings Tim Ruffing 2019-03-06 14:10:38 +01:00
  • a364c95419 Make WINDOW_G configurable Tim Ruffing 2019-03-06 13:12:33 +01:00
  • f4f374700b
    Merge pull request #54 from romanz/fix-typo Jonas Nick 2019-04-11 15:59:22 +00:00
  • 383389a0eb Fix a small typo in the generator parameter name Roman Zeyde 2019-04-11 17:59:58 +03:00
  • 7bc3f29348
    Merge pull request #50 from apoelstra/2019-generator-fix Jonas Nick 2019-04-02 20:29:18 +00:00
  • 2def4ace2c generator: remove CHECK abort calls exposed by public API Andrew Poelstra 2019-03-27 20:07:15 +00:00
  • 9c1dda828f Add secp256k1_ prefix to default callback functions Tim Ruffing 2019-03-09 11:41:21 +01:00
  • 08e2e19f24 Include stdio.h and stdlib.h explicitly in secp256k1.c Tim Ruffing 2019-03-04 16:11:35 +01:00
  • 9a949e5f2b Allow usage of external default callbacks Tim Ruffing 2019-03-04 15:36:35 +01:00
  • b7fca7590a Replace CHECKs for no_precomp ctx by ARG_CHECKs without a return Tim Ruffing 2019-03-04 13:09:45 +01:00
  • af2569b8a7 Explain caller's obligations for preallocated memory Tim Ruffing 2019-03-29 22:27:01 +01:00
  • b19c000063
    Merge #607: Use size_t shifts when computing a size_t Gregory Maxwell 2019-03-31 09:36:08 +00:00
  • 4d01bc2d9c
    Merge #606: travis: Remove unused sudo:false Gregory Maxwell 2019-03-31 00:41:44 +00:00
  • e6d01e9347 Use size_t shifts when computing a size_t Pieter Wuille 2019-03-30 12:54:44 -07:00
  • 7667532bd7 travis: Remove unused sudo:false MarcoFalke 2019-03-30 12:35:32 -04:00
  • 248f046611 Make sure we're not using an uninitialized variable in secp256k1_wnaf_const(...) practicalswift 2018-05-06 09:28:54 +02:00
  • 9ab96f7b12 Use trivial algorithm in ecmult_multi if scratch space is small Jonas Nick 2019-02-27 10:46:42 +00:00
  • ee99f12f3d
    Merge #599: Switch x86_64 asm to use "i" instead of "n" for immediate values. Gregory Maxwell 2019-03-11 18:30:34 +00:00
  • d58bc93f2c Switch x86_64 asm to use "i" instead of "n" for immediate values. Gregory Maxwell 2019-03-10 22:52:12 +00:00
  • 05362ee042
    Merge #597: Add $(COMMON_LIB) to exhaustive tests to fix ARM asm build Gregory Maxwell 2019-03-10 22:44:37 +00:00
  • 83483869ac Add $(COMMON_LIB) to exhaustive tests to fix ARM asm build Gregory Maxwell 2019-03-09 06:17:27 +00:00
  • e4a2f8e500 Move _preallocated functions to separate header Tim Ruffing 2018-11-27 16:48:57 +01:00
  • 7366ab7f8c Export _preallocated functions Tim Ruffing 2018-11-27 16:47:46 +01:00
  • 7a848d25cc Add tests for contexts in preallocated memory Tim Ruffing 2018-10-25 20:32:38 +02:00
  • 1a1febfd86 Check arguments of _preallocated functions Tim Ruffing 2018-10-25 18:08:14 +02:00
  • 19debda326 Support cloning a context into preallocated memory Tim Ruffing 2018-10-25 17:14:10 +02:00
  • 1738dd0eb5 Switch to a single malloc call Tim Ruffing 2018-10-22 16:25:26 +02:00
  • 16d4a0a251 Add size constants for preallocated memory Tim Ruffing 2018-10-22 16:23:09 +02:00
  • 3f1a8580a2 Prepare for manual memory management in preallocated memory Tim Ruffing 2018-10-18 19:09:51 +02:00
  • aa15154a48
    Merge #568: Fix integer overflow in ecmult_multi_var when n is large Gregory Maxwell 2019-02-25 21:00:08 +00:00
  • 2277af5ff0 Fix integer overflow in ecmult_multi_var when n is large Jonas Nick 2018-10-24 17:58:24 +00:00