diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-05-17 11:52:06 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-05-24 13:39:34 +0100 |
commit | caaed796ad54de3f8ee1e56123973ae9ace346b9 (patch) | |
tree | 868178a8cf11c5f5c6b33e47a1e973ae26cd87ea /include/olm/megolm.h | |
parent | 68d3c7bfa9d0d2f8a44edcd2d277c4a516ed6ed5 (diff) |
Implementation of an outbound group session
Diffstat (limited to 'include/olm/megolm.h')
-rw-r--r-- | include/olm/megolm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/olm/megolm.h b/include/olm/megolm.h index 784597e..5cae353 100644 --- a/include/olm/megolm.h +++ b/include/olm/megolm.h @@ -47,6 +47,14 @@ typedef struct Megolm { uint32_t counter; } Megolm; + +/** + * Get the cipher used in megolm-backed conversations + * + * (AES256 + SHA256, with keys based on an HKDF with info of MEGOLM_KEYS) + */ +const struct _olm_cipher *megolm_cipher(); + /** * initialize the megolm ratchet. random_data should be at least * MEGOLM_RATCHET_LENGTH bytes of randomness. |