diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-04-02 23:39:05 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-04-02 23:39:05 -0400 |
commit | 3148157ea4262082d957f45b36016c44f8e1415a (patch) | |
tree | 81f07c4df2935dec84ff1e8660cfdee8d9ce380a /include/olm/sas.h | |
parent | d5c0eb9d20a17ec596784f53f3c9ffab0e9ad772 (diff) |
add support for an incorrect KDF that snuck into Riot 1.0
Diffstat (limited to 'include/olm/sas.h')
-rw-r--r-- | include/olm/sas.h | 8 |
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 |