diff options
author | Marvin W <git@larma.de> | 2019-02-12 15:27:58 -0600 |
---|---|---|
committer | Marvin W <git@larma.de> | 2019-02-12 15:27:58 -0600 |
commit | 4a8d628924bcf9fd4af2f39ca8477b33a9599196 (patch) | |
tree | dd28ed38b1b18f6e16a7420f0db48c6f8f71e490 /plugins/signal-protocol/src/signal_helper.h | |
parent | 864196d2acef3db047160b9da5803805067276c3 (diff) | |
download | dino-4a8d628924bcf9fd4af2f39ca8477b33a9599196.tar.gz dino-4a8d628924bcf9fd4af2f39ca8477b33a9599196.zip |
Do not use signal_protocol_internal.h
Diffstat (limited to 'plugins/signal-protocol/src/signal_helper.h')
-rw-r--r-- | plugins/signal-protocol/src/signal_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/signal-protocol/src/signal_helper.h b/plugins/signal-protocol/src/signal_helper.h index 819b399b..2c2c983f 100644 --- a/plugins/signal-protocol/src/signal_helper.h +++ b/plugins/signal-protocol/src/signal_helper.h @@ -20,6 +20,7 @@ int32_t signal_protocol_address_get_device_id(signal_protocol_address* self); session_pre_key* session_pre_key_new(uint32_t pre_key_id, ec_key_pair* pair, int* err); session_signed_pre_key* session_signed_pre_key_new(uint32_t id, uint64_t timestamp, ec_key_pair* pair, uint8_t* key, int key_len, int* err); +int signal_vala_randomize(uint8_t *data, size_t len); int signal_vala_random_generator(uint8_t *data, size_t len, void *user_data); int signal_vala_hmac_sha256_init(void **hmac_context, const uint8_t *key, size_t key_len, void *user_data); int signal_vala_hmac_sha256_update(void *hmac_context, const uint8_t *data, size_t data_len, void *user_data); |