Found 11 other functions taking a
bignum
argument:
bignum_deinit - Free bignum @n: Bignum from bignum_init()
bignum_set_unsigned_bin - Set bignum based on unsigned binary buffer @n: Bignum from bignum_init(); to be set to the given value @buf: Buffer with unsigned binary value @len: Length of buf in octets Returns: 0 on success, -1 on failure
bignum_get_unsigned_bin - Get length of bignum as an unsigned binary buffer @n: Bignum from bignum_init() Returns: Length of n if written to a binary buffer
bignum_exptmod - Modular exponentiation: d = a^b (mod c) @a: Bignum from bignum_init(); base @b: Bignum from bignum_init(); exponent @c: Bignum from bignum_init(); modulus @d: Bignum from bignum_init(); used to store the result of a^b (mod c) Returns: 0 on success, -1 on failure
bignum_cmp_d - Compare bignum to standard integer @a: Bignum from bignum_init() @b: Small integer Returns: -1 if a b
bignum_get_unsigned_bin - Set binary buffer to unsigned bignum @n: Bignum from bignum_init() @buf: Buffer for the binary number @len: Length of the buffer, can be %NULL if buffer is known to be long enough. Set to used buffer length on success if not %NULL. Returns: 0 on success, -1 on failure
bignum_add - c = a + b @a: Bignum from bignum_init() @b: Bignum from bignum_init() @c: Bignum from bignum_init(); used to store the result of a + b Returns: 0 on success, -1 on failure
bignum_sub - c = a - b @a: Bignum from bignum_init() @b: Bignum from bignum_init() @c: Bignum from bignum_init(); used to store the result of a - b Returns: 0 on success, -1 on failure
bignum_mul - c = a * b @a: Bignum from bignum_init() @b: Bignum from bignum_init() @c: Bignum from bignum_init(); used to store the result of a * b Returns: 0 on success, -1 on failure
bignum_mulmod - d = a * b (mod c) @a: Bignum from bignum_init() @b: Bignum from bignum_init() @c: Bignum from bignum_init(); modulus @d: Bignum from bignum_init(); used to store the result of a * b (mod c) Returns: 0 on success, -1 on failure