[−][src]Function indy_crypto::ffi::bls::indy_crypto_bls_generator_new
#[no_mangle]pub extern "C" fn indy_crypto_bls_generator_new(
gen_p: *mut *const c_void
) -> ErrorCode
Creates and returns random generator point that satisfy BLS algorithm requirements.
BLS algorithm requires choosing of generator point that must be known to all parties. The most of BLS methods require generator to be provided.
Note: Generator instance deallocation must be performed by calling indy_crypto_bls_generator_free
Arguments
gen_p
- Reference that will contain generator instance pointer