forked from IGRSoft/KisMac2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KisMAC_Prefix.pch
37 lines (29 loc) · 1017 Bytes
/
KisMAC_Prefix.pch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// Prefix header for all source files of the 'KisMAC' target in the 'KisMAC' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import <BIGL/BIGL.h>
#import <BIGeneric/BIGeneric.h>
#import <Security/Security.h>
#import <CoreServices/CoreServices.h>
#import "GBStorage.h"
#endif
#ifdef DEBUG
#define DBNSLog NSLog
#else
#define DBNSLog( s, ... )
#endif
#define POLARSSL_MD4_C
#define MD4_DIGEST_LENGTH 16
#define SHA_DIGEST_LENGTH 20
#define BAD_ADDRESS 0xFFFFFFFF
#define ERROR_FREE_ADDRESS 0xDEBB20E3
#define LAST_BIT 256
#define SRET { [[WaveHelper importController] terminateWithCode: 1]; return; }
#define RET { [[WaveHelper importController] terminateWithCode: -1]; return; }
#define CHECK { if (_password != nil) RET; if (_isWep != encryptionTypeWEP && _isWep != encryptionTypeWEP40) RET; if ([_packetsLog count] < 8) RET; }
// 1201 = 5 minutes (plus one) for 0.25s interval
#define MAX_YIELD_SIZE 1200