| 60 | } |
| 61 | |
| 62 | void ClientProperties::setBatchData(unsigned char *ptr, int len, |
| 63 | int parity, unsigned char *originalPtr) { |
| 64 | _batch[_batchCount].data = ptr; |
| 65 | _batch[_batchCount].len = len; |
| 66 | _ts[_batchCount].data = originalPtr; |
| 67 | _parity = parity; |
| 68 | ++_batchCount; |
| 69 | } |
| 70 | |
| 71 | void ClientProperties::decryptBatch() { |
| 72 | if (_keys.get(_parity) != nullptr) { |