Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include "secp256k1.h"
Go to the source code of this file.
Classes | |
struct | secp256k1_multiset |
Opaque multiset; this is actually a group element. More... | |
SECP256K1_API int secp256k1_multiset_add | ( | const secp256k1_context * | ctx, |
secp256k1_multiset * | multiset, | ||
const unsigned char * | input, | ||
size_t | inputLen | ||
) |
Adds an element to a multiset from single data element.
Returns: 1: success 0: invalid parameter Args: ctx: pointer to a context object (cannot be NULL) Out: multiset: the multiset to update In: input: the data to add inputLen: the size of the data to add
Adds an element to a multiset from single data element.
Definition at line 127 of file main_impl.h.
SECP256K1_API int secp256k1_multiset_combine | ( | const secp256k1_context * | ctx, |
secp256k1_multiset * | multiset, | ||
const secp256k1_multiset * | input | ||
) |
Combines two multisets.
Returns: 1: success 0: invalid parameter Args: ctx: pointer to a context object (cannot be NULL) In/Out: multiset: the multiset to which the input must be added In: input: the multiset to add
Combines two multisets.
Definition at line 137 of file main_impl.h.
SECP256K1_API int secp256k1_multiset_finalize | ( | const secp256k1_context * | ctx, |
unsigned char * | resultHash, | ||
const secp256k1_multiset * | multiset | ||
) |
Converts a multiset to a hash.
Returns: 1: success 0: invalid parameter Args: ctx: pointer to a context object (cannot be NULL) Out: hash: the resulting 32-byte hash In: multiset: the multiset to hash
Converts a multiset to a hash.
Definition at line 165 of file main_impl.h.
SECP256K1_API int secp256k1_multiset_init | ( | const secp256k1_context * | ctx, |
secp256k1_multiset * | multiset | ||
) |
Initialize a multiset The resulting multiset the multiset for no data elements.
Returns: 1: success 0: invalid parameter Args: ctx: pointer to a context object (cannot be NULL) Out: multiset: the resulting multiset
Initialize a multiset The resulting multiset the multiset for no data elements.
Definition at line 200 of file main_impl.h.
SECP256K1_API int secp256k1_multiset_remove | ( | const secp256k1_context * | ctx, |
secp256k1_multiset * | multiset, | ||
const unsigned char * | input, | ||
size_t | inputLen | ||
) |
Removes an element from a multiset.
Returns: 1: success 0: invalid parameter Args: ctx: pointer to a context object (cannot be NULL) Out: multiset: the multiset to update In: input: the data to remove inputLen: the size of the data to remove
Removes an element from a multiset.
Definition at line 132 of file main_impl.h.