diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-15 18:47:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-15 18:47:50 +0300 |
commit | cda15a795d5f834fac2a239c772e538ab5a03803 (patch) | |
tree | 3163e6fa0f2e13341fdd510876ca642b2877ac36 /libs/libsignal/src/curve.h | |
parent | e94f8e5422f0f3ef013ac4d5a0e15e640bf45c07 (diff) |
libsignal updated to 2.3.3
Diffstat (limited to 'libs/libsignal/src/curve.h')
-rw-r--r-- | libs/libsignal/src/curve.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/libsignal/src/curve.h b/libs/libsignal/src/curve.h index a55e198c8c..ae6cc670da 100644 --- a/libs/libsignal/src/curve.h +++ b/libs/libsignal/src/curve.h @@ -12,6 +12,8 @@ extern "C" { #define CURVE_SIGNATURE_LEN 64 #define VRF_SIGNATURE_LEN 96 +int curve_internal_fast_tests(int silent); + int curve_decode_point(ec_public_key **public_key, const uint8_t *key_data, size_t key_len, signal_context *global_context); int ec_public_key_compare(const ec_public_key *key1, const ec_public_key *key2); int ec_public_key_memcmp(const ec_public_key *key1, const ec_public_key *key2); @@ -52,7 +54,7 @@ void ec_private_key_destroy(signal_type_base *type); int ec_key_pair_create(ec_key_pair **key_pair, ec_public_key *public_key, ec_private_key *private_key); ec_public_key *ec_key_pair_get_public(const ec_key_pair *key_pair); ec_private_key *ec_key_pair_get_private(const ec_key_pair *key_pair); -void ec_key_pair_destroy(ec_key_pair *type); +void ec_key_pair_destroy(signal_type_base *type); int curve_generate_private_key(signal_context *context, ec_private_key **private_key); int curve_generate_public_key(ec_public_key **public_key, const ec_private_key *private_key); |