summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-10-31 01:28:22 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-10-31 01:28:22 +0100
commit58ec26f6b7a0400c8fa05263be9b19bb179495fd (patch)
treeb424d715e38e29c3579e0e52cfa7f22dfa242b1e /src/fastd.h
parent763401c89d4f1dd328a5b4b3efae91f076043549 (diff)
downloadfastd-58ec26f6b7a0400c8fa05263be9b19bb179495fd.tar
fastd-58ec26f6b7a0400c8fa05263be9b19bb179495fd.zip
Rename session_init to session_init_compat to prepare for the upcoming new key derivation scheme
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h
index f3d67ca..c24781f 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -87,7 +87,7 @@ struct fastd_method {
size_t (*min_encrypt_tail_space)(fastd_context_t *ctx);
size_t (*min_decrypt_tail_space)(fastd_context_t *ctx);
- fastd_method_session_state_t* (*session_init)(fastd_context_t *ctx, uint8_t *secret, size_t length, bool initiator);
+ fastd_method_session_state_t* (*session_init_compat)(fastd_context_t *ctx, uint8_t *secret, size_t length, bool initiator);
bool (*session_is_valid)(fastd_context_t *ctx, fastd_method_session_state_t *session);
bool (*session_is_initiator)(fastd_context_t *ctx, fastd_method_session_state_t *session);
bool (*session_want_refresh)(fastd_context_t *ctx, fastd_method_session_state_t *session);