source: chevmsgr/trunk/bit.h@ 7

Last change on this file since 7 was 7, checked in by cheese, 9 years ago

암복호 알고리즘 추가

File size: 670 bytes
Line 
1
2typedef unsigned char byte;
3
4int
5CHEV_BIT_ShiftLeft (byte * in,
6 byte * out,
7 int size,
8 int offset);
9int
10CHEV_BIT_ShiftRight (byte * in,
11 byte * out,
12 int size,
13 int offset);
14
15int
16CHEV_BIT_RotateLeft (byte * in,
17 byte * out,
18 int size,
19 int offset);
20
21int
22CHEV_BIT_RotateRight (byte * in,
23 byte * out,
24 int size,
25 int offset);
26
27int
28CHEV_BIT_AND (byte * in1,
29 byte * in2,
30 int size,
31 byte * out);
32
33int
34CHEV_BIT_OR (byte * in1,
35 byte * in2,
36 int size,
37 byte * out);
38
39int
40CHEV_BIT_XOR (byte * in1,
41 byte * in2,
42 int size,
43 byte * out);
Note: See TracBrowser for help on using the repository browser.