File tree Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 1- 279,281d278
1+ 236d235
2+ < SECP256K1_API const secp256k1_context *secp256k1_context_static;
3+ 239,240d237
4+ < SECP256K1_API const secp256k1_context *secp256k1_context_no_precomp
5+ < SECP256K1_DEPRECATED("Use secp256k1_context_static instead");
6+ 286,289d282
27< SECP256K1_API secp256k1_context *secp256k1_context_create(
38< unsigned int flags
49< ) SECP256K1_WARN_UNUSED_RESULT;
5- 295,297d291
10+ <
11+ 302,305d294
612< SECP256K1_API secp256k1_context *secp256k1_context_clone(
713< const secp256k1_context *ctx
814< ) SECP256K1_ARG_NONNULL(1) SECP256K1_WARN_UNUSED_RESULT;
9- 313,315d306
15+ <
16+ 320,323d308
1017< SECP256K1_API void secp256k1_context_destroy(
1118< secp256k1_context *ctx
1219< ) SECP256K1_ARG_NONNULL(1);
13- 395,398d385
20+ <
21+ 402,406d386
1422< SECP256K1_API SECP256K1_WARN_UNUSED_RESULT secp256k1_scratch_space *secp256k1_scratch_space_create(
1523< const secp256k1_context *ctx,
1624< size_t size
1725< ) SECP256K1_ARG_NONNULL(1);
18- 406,409d392
26+ <
27+ 413,417d392
1928< SECP256K1_API void secp256k1_scratch_space_destroy(
2029< const secp256k1_context *ctx,
2130< secp256k1_scratch_space *scratch
2231< ) SECP256K1_ARG_NONNULL(1);
32+ <
33+ 636d610
34+ < SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_rfc6979;
35+ 639d612
36+ < SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_default;
Original file line number Diff line number Diff line change 1- 134,149d133
1+ 147,154d146
22< static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_t size) {
33< void *ret = malloc(size);
44< if (ret == NULL) {
77< return ret;
88< }
99<
10- < static SECP256K1_INLINE void *checked_realloc(const secp256k1_callback* cb, void *ptr, size_t size) {
11- < void *ret = realloc(ptr, size);
12- < if (ret == NULL) {
13- < secp256k1_callback_call(cb, "Out of memory");
14- < }
15- < return ret;
16- < }
17- <
You can’t perform that action at this time.
0 commit comments