aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-04-02 23:39:05 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-04-02 23:39:05 -0400
commit3148157ea4262082d957f45b36016c44f8e1415a (patch)
tree81f07c4df2935dec84ff1e8660cfdee8d9ce380a /include
parentd5c0eb9d20a17ec596784f53f3c9ffab0e9ad772 (diff)
add support for an incorrect KDF that snuck into Riot 1.0
Diffstat (limited to 'include')
-rw-r--r--include/olm/sas.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/olm/sas.h b/include/olm/sas.h
index 46d4176..ec90ae7 100644
--- a/include/olm/sas.h
+++ b/include/olm/sas.h
@@ -147,6 +147,14 @@ size_t olm_sas_calculate_mac(
void * mac, size_t mac_length
);
+// for compatibility with an old version of Riot
+size_t olm_sas_calculate_mac_long_kdf(
+ OlmSAS * sas,
+ void * input, size_t input_length,
+ const void * info, size_t info_length,
+ void * mac, size_t mac_length
+);
+
/** @} */ // end of SAS group
#ifdef __cplusplus