File: stirrer_3des.h

package info (click to toggle)
entropybroker 2.8-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,644 kB
  • ctags: 1,591
  • sloc: cpp: 14,384; sh: 934; makefile: 191; java: 148; perl: 12
file content (15 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define SET_KEY_ATTEMPTS 10

class stirrer_3des : public stirrer
{
private:
	encrypt_stream_3des enc;

public:
	stirrer_3des();
	~stirrer_3des();

	int get_ivec_size();
	int get_stir_size();
	void do_stir(unsigned char *ivec, unsigned char *target, int target_size, unsigned char *data_in, int data_in_size, unsigned char *temp_buffer, bool direction);
};