diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-12-28 13:41:25 -0500 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-12-28 13:41:25 -0500 |
commit | 17a989db6c4d42828f68afed20bafcb377c65cfb (patch) | |
tree | de29380ff1ecd0ad17e7134caab8c1054fbb9667 /include/olm/sas.h | |
parent | ded55f50536d852b544c7255551fc3b8c1e7b044 (diff) |
allow specifying the info parameter for the HKDF
Diffstat (limited to 'include/olm/sas.h')
-rw-r--r-- | include/olm/sas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/olm/sas.h b/include/olm/sas.h index 688b587..480c3e1 100644 --- a/include/olm/sas.h +++ b/include/olm/sas.h @@ -62,6 +62,7 @@ size_t olm_sas_set_their_key( size_t olm_sas_generate_bytes( OlmSAS * sas, + const void * info, size_t info_length, void * output, size_t output_length ); @@ -72,6 +73,7 @@ size_t olm_sas_mac_length( size_t olm_sas_calculate_mac( OlmSAS * sas, void * input, size_t input_length, + const void * info, size_t info_length, void * mac, size_t mac_length ); |