libtc  20160415
Threshold Cryptography functions library
Functions
algorithms_join_signatures.c File Reference
#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_ttc_join_signatures (const signature_share_t **signatures, const bytes_t *document, const key_metainfo_t *info)
 

Function Documentation

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 
)
Parameters
outthe result of the algorithm.
documentthe document that has been signed.
signaturesthe array of pointers to si shares, that are received.
kthe number of si shares received.
pka pointer to the public key of this process
infoa pointer to the meta info of the key set

Definition at line 25 of file algorithms_join_signatures.c.