aboutsummaryrefslogtreecommitdiff
path: root/javascript/olm_sas.js
AgeCommit message (Collapse)Author
2020-09-23SAS: add olm_sas_is_their_key_setSaúl Ibarra Corretgé
Also make olm_sas_generate_bytes fail if their key wasn't set.
2019-04-08re-add null termination in javascriptHubert Chathi
because older versions of emscripten don't support the length argument to UTF8ToString.
2019-04-08javascript: Switch from deprecated Pointer_stringify() to UTF8toString().Damir Jelić
The Pointer_stringify() function is deprecated and has a couple of issues because it tries to guess the encoding of the buffer. In some cases it can ignore the length parameter which could end up in inconsistencies. Switch to UTF8toString() that takes a length parameter and respects, that way we don't need to allocate an additional byte for a NULL byte.
2019-04-02add support for an incorrect KDF that snuck into Riot 1.0Hubert Chathi
2019-01-21initial implementation of short authentication string generationHubert Chathi