summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/sender_key.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-02-13 07:56:33 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-02-13 09:09:08 +0300
commit193f645f65ad4ffdec3186e4176b23af10861199 (patch)
treee1b16b48ac74c5f03f99a98798e849f6dd9752cc /libs/libaxolotl/src/sender_key.h
parent36c32a13878d3bd94e88bd9c764f1eadb05ea1ed (diff)
libs:
libaxolotl: updated libaxolotl (libsignal-c) from (https://github.com/WhisperSystems/libsignal-protocol-c)
Diffstat (limited to 'libs/libaxolotl/src/sender_key.h')
-rw-r--r--libs/libaxolotl/src/sender_key.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/libaxolotl/src/sender_key.h b/libs/libaxolotl/src/sender_key.h
index 61bd7ef553..113bb5daa8 100644
--- a/libs/libaxolotl/src/sender_key.h
+++ b/libs/libaxolotl/src/sender_key.h
@@ -3,29 +3,29 @@
#include <stdint.h>
#include <stddef.h>
-#include "axolotl_types.h"
+#include "signal_protocol_types.h"
#ifdef __cplusplus
extern "C" {
#endif
int sender_message_key_create(sender_message_key **key,
- uint32_t iteration, axolotl_buffer *seed,
- axolotl_context *global_context);
+ uint32_t iteration, signal_buffer *seed,
+ signal_context *global_context);
uint32_t sender_message_key_get_iteration(sender_message_key *key);
-axolotl_buffer *sender_message_key_get_iv(sender_message_key *key);
-axolotl_buffer *sender_message_key_get_cipher_key(sender_message_key *key);
-axolotl_buffer *sender_message_key_get_seed(sender_message_key *key);
-void sender_message_key_destroy(axolotl_type_base *type);
+signal_buffer *sender_message_key_get_iv(sender_message_key *key);
+signal_buffer *sender_message_key_get_cipher_key(sender_message_key *key);
+signal_buffer *sender_message_key_get_seed(sender_message_key *key);
+void sender_message_key_destroy(signal_type_base *type);
int sender_chain_key_create(sender_chain_key **key,
- uint32_t iteration, axolotl_buffer *chain_key,
- axolotl_context *global_context);
+ uint32_t iteration, signal_buffer *chain_key,
+ signal_context *global_context);
uint32_t sender_chain_key_get_iteration(sender_chain_key *key);
int sender_chain_key_create_message_key(sender_chain_key *key, sender_message_key **message_key);
int sender_chain_key_create_next(sender_chain_key *key, sender_chain_key **next_key);
-axolotl_buffer *sender_chain_key_get_seed(sender_chain_key *key);
-void sender_chain_key_destroy(axolotl_type_base *type);
+signal_buffer *sender_chain_key_get_seed(sender_chain_key *key);
+void sender_chain_key_destroy(signal_type_base *type);
#ifdef __cplusplus
}