Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
7f53dedc
Commit
7f53dedc
authored
Apr 26, 2021
by
Lukas Lihotzki
Committed by
Hubert Chathi
Apr 27, 2021
Browse files
Declare olm_sas_calculate_mac_fixed_base64 in header
Signed-off-by:
Lukas Lihotzki
<
lukas@lihotzki.de
>
parent
3b3f2c71
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/olm/sas.h
View file @
7f53dedc
...
...
@@ -161,6 +161,15 @@ size_t olm_sas_calculate_mac(
void
*
mac
,
size_t
mac_length
);
// A version of the calculate mac function that produces base64 strings that are
// compatible with other base64 implementations.
size_t
olm_sas_calculate_mac_fixed_base64
(
OlmSAS
*
sas
,
const
void
*
input
,
size_t
input_length
,
const
void
*
info
,
size_t
info_length
,
void
*
mac
,
size_t
mac_length
);
// for compatibility with an old version of Riot
size_t
olm_sas_calculate_mac_long_kdf
(
OlmSAS
*
sas
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment