update crypto interface
This commit is contained in:
parent
a49b2facee
commit
d1fe3b0be7
10
crypto.h
10
crypto.h
@ -116,5 +116,15 @@ int smc_zkp_0og_check (const gcry_mpi_point_t y,
|
|||||||
/* --- Protocol implementation --- */
|
/* --- Protocol implementation --- */
|
||||||
|
|
||||||
unsigned char *smc_gen_keyshare (struct AuctionData *ad, size_t *buflen);
|
unsigned char *smc_gen_keyshare (struct AuctionData *ad, size_t *buflen);
|
||||||
|
int smc_recv_keyshare (struct AuctionData *ad,
|
||||||
|
unsigned char *buf,
|
||||||
|
size_t buflen,
|
||||||
|
uint16_t sender_index);
|
||||||
|
|
||||||
|
unsigned char *smc_encrypt_bid (struct AuctionData *ad, size_t *buflen);
|
||||||
|
int smc_recv_encrypted_bid (struct AuctionData *ad,
|
||||||
|
unsigned char *buf,
|
||||||
|
size_t buflen,
|
||||||
|
uint16_t sender_index);
|
||||||
|
|
||||||
#endif /* ifndef _BRANDT_CRYPTO_H */
|
#endif /* ifndef _BRANDT_CRYPTO_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user