diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-28 17:24:59 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-28 17:24:59 +0200 |
commit | 1a6dc56f1a67cda40da759abc1999022ec523f50 (patch) | |
tree | 23a23adb509b63ac242b4fb852b529d059d4a32c /crypto.h | |
parent | 81fb449262325d074ccf6c7038f2344515c8c658 (diff) |
add outcome decryption plus test
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -128,4 +128,11 @@ int smc_recv_outcome (struct AuctionData *ad, unsigned char *buf, size_t buflen, uint16_t sender); + +unsigned char *smc_decrypt_outcome (struct AuctionData *ad, size_t *buflen); +int smc_recv_decryption (struct AuctionData *ad, + unsigned char *buf, + size_t buflen, + uint16_t sender); + #endif /* ifndef _BRANDT_CRYPTO_H */ |