#include <gmp.h>
#include <mhash.h>
#include "tc.h"
#include "tc_internal.h"
Go to the source code of this file.
Function that verifies that a signature share was generated by any key shares that shares the same key metainfo. That means, any key shares that came from the same key_share array.
- Parameters
-
signature | the signature to be verified. |
doc | the document used to generate the signature share. |
info | the metainfo of the key shares array used to sign. |
- Returns
- 1 if the signature share was generated by any key from the original key shares array. 0 otherwise.
Definition at line 9 of file algorithms_verify_signature.c.
const unsigned int HASH_LEN |
- Parameters
-
out | the resulting of the procedure |
share | the key share that has to be used in this procedure |
pk | the public key corresponding to the key share |
info | the meta info of the key share set |
doc | the document to be signed |
Definition at line 21 of file algorithms_node_sign.c.