Commit Graph

4 Commits (7af42a27c5c6061c1017ab2133b8b7745d2a1450)

Author SHA1 Message Date
lilia 69ce5917f6 Allocate 64 bytes for curve25519 sigs
Closes #145
10 years ago
lilia 256dd5198c Free allocated memory
Closes #146
10 years ago
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.
11 years ago
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.
11 years ago