File tree 2 files changed +20
-14
lines changed
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
2
7
< SECP256K1_API secp256k1_context *secp256k1_context_create(
3
8
< unsigned int flags
4
9
< ) SECP256K1_WARN_UNUSED_RESULT;
5
- 295,297d291
10
+ <
11
+ 302,305d294
6
12
< SECP256K1_API secp256k1_context *secp256k1_context_clone(
7
13
< const secp256k1_context *ctx
8
14
< ) SECP256K1_ARG_NONNULL(1) SECP256K1_WARN_UNUSED_RESULT;
9
- 313,315d306
15
+ <
16
+ 320,323d308
10
17
< SECP256K1_API void secp256k1_context_destroy(
11
18
< secp256k1_context *ctx
12
19
< ) SECP256K1_ARG_NONNULL(1);
13
- 395,398d385
20
+ <
21
+ 402,406d386
14
22
< SECP256K1_API SECP256K1_WARN_UNUSED_RESULT secp256k1_scratch_space *secp256k1_scratch_space_create(
15
23
< const secp256k1_context *ctx,
16
24
< size_t size
17
25
< ) SECP256K1_ARG_NONNULL(1);
18
- 406,409d392
26
+ <
27
+ 413,417d392
19
28
< SECP256K1_API void secp256k1_scratch_space_destroy(
20
29
< const secp256k1_context *ctx,
21
30
< secp256k1_scratch_space *scratch
22
31
< ) 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
2
2
< static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_t size) {
3
3
< void *ret = malloc(size);
4
4
< if (ret == NULL) {
7
7
< return ret;
8
8
< }
9
9
<
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