Commit graph

4 commits

Author SHA1 Message Date
lilia
69ce5917f6 Allocate 64 bytes for curve25519 sigs
Closes #145
2015-02-10 13:10:54 -08:00
lilia
256dd5198c Free allocated memory
Closes #146
2015-02-10 13:10:34 -08:00
lilia
2f58ea5f3a Fixup curve25519 module
Rename methods on the curve25519 interface to be a bit more high level.
Cleanup emscripten wrapper class, wrap long lines and such. Also add a
grunt task alias for building the emscripten compiled curve
implementation.
2014-11-09 15:30:37 -08:00
lilia
b4f4f87a7c Add emscripten-compiled curve25519 module
Build with `grunt compile && grunt concat:curve25519` after installing
emscripten.

Enable by either (a) not loading nativeclient.js or (b) setting
`textsecure.NATIVE_CLIENT = false` before loading nativeclient.js.
2014-11-08 10:56:30 -08:00