Crate wedpr_l_macros[][src]

Library of shared macros.

Macros

bytes_to_point

Macros to handle errors and return bool type instead of Result type, which are mainly used to simplify type conversions for Rust FFI. Converts a string to a point if succeeded, otherwise returns false.

bytes_to_scalar

Converts a string to a scalar if succeeded, otherwise returns false.

wedpr_println

Prints debug output that can be disabled by setting a global flag.

Constants

ENABLE_DEBUG_OUTPUT

Global flag of enabling debug output.