22 #include "../util/typedefs.h"
23 #include "../util/cbitvector.h"
24 #include "../util/socket.h"
25 #include "../util/crypto/crypto.h"
37 m_cPKCrypto = crypt->gen_field(ftype);
45 virtual void Sender(uint32_t nSndVals, uint32_t nOTs,
CSocket& sock, uint8_t* ret) = 0;
46 virtual void Receiver(uint32_t nSndVals, uint32_t uint32_t,
CBitVector& choices,
CSocket& sock, uint8_t* ret) = 0;
53 void hashReturn(uint8_t* ret, uint32_t ret_len, uint8_t* val, uint32_t val_len, uint32_t ctr) {
54 m_cCrypto->hash_ctr(ret, ret_len, val, val_len, ctr);
Definition: pk-crypto.h:30
Definition: cbitvector.h:123