|
libtc
20160415
Threshold Cryptography functions library
|
#include <stdio.h>#include <assert.h>#include <gmp.h>#include <stdlib.h>#include "tc.h"#include "tc_internal.h"Go to the source code of this file.
Functions | |
| void | lagrange_interpolation (mpz_t out, int j, int k, const signature_share_t **S, const mpz_t delta) |
| bytes_t * | tc_join_signatures (const signature_share_t **signatures, const bytes_t *document, const key_metainfo_t *info) |
| void lagrange_interpolation | ( | mpz_t | out, |
| int | j, | ||
| int | k, | ||
| const signature_share_t ** | S, | ||
| const mpz_t | delta | ||
| ) |
Definition at line 103 of file algorithms_join_signatures.c.
| bytes_t* tc_join_signatures | ( | const signature_share_t ** | signatures, |
| const bytes_t * | document, | ||
| const key_metainfo_t * | info | ||
| ) |
| out | the result of the algorithm. |
| document | the document that has been signed. |
| signatures | the array of pointers to si shares, that are received. |
| k | the number of si shares received. |
| pk | a pointer to the public key of this process |
| info | a pointer to the meta info of the key set |
Definition at line 25 of file algorithms_join_signatures.c.
1.8.11