Skip to content

Updated bsspeke.c and bsspeke.h for Emscripten JS compilation

Varun Kalappa requested to merge varun_emscripten_rng_to_js_compilation into master

Update bsspeke.c with ifdef EMSCRIPTEN Macros above functions for compilation, added working generate_random_bytes function for JS, created new generate_client function to return a new struct bsspeke_client_ctx*, added ifdef parameters to bsspeke_client_generate_P_and_V and conditional return on bsspeke_client_generate_blind, additionally added compilation instructions for JS at the top of the file. Updated bsspeke.h with proper function declarations for bsspeke_client_generate_blind and bsspeke_client_generate_P_and_V to include ifdef EMSCRIPTEN macro for conditional compilation.

Merge request reports

Loading