-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsparc32.h
56 lines (48 loc) · 1.28 KB
/
sparc32.h
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* This file is part of John the Ripper password cracker,
* Copyright (c) 2005,2008 by Solar Designer
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted.
*
* There's ABSOLUTELY NO WARRANTY, express or implied.
*/
/*
* Architecture specific parameters for SPARC V8, 32-bit.
*/
#ifndef _JOHN_ARCH_H
#define _JOHN_ARCH_H
#define ARCH_WORD long
#define ARCH_SIZE 4
#define ARCH_BITS 32
#define ARCH_BITS_LOG 5
#define ARCH_BITS_STR "32"
#define ARCH_LITTLE_ENDIAN 0
#define ARCH_INT_GT_32 0
#define ARCH_ALLOWS_UNALIGNED 0
#define ARCH_INDEX(x) ((unsigned int)(unsigned char)(x))
#define CPU_DETECT 0
#define DES_ASM 0
/*
* Let's not bother trying 128 KB SPE tables with the old-fashioned DES
* implementation, despite them resulting in better performance on some
* systems. We're using bitslice DES for the most important (most common)
* DES-based hash types anyway.
*/
#define DES_128K 0
#define DES_X2 0
#define DES_MASK 1
#define DES_SCALE 1
#define DES_EXTB 0
#define DES_COPY 1
#define DES_BS_ASM 0
#define DES_BS 1
#define DES_BS_VECTOR 0
#define DES_BS_EXPAND 1
#define MD5_ASM 0
#define MD5_X2 1
#define MD5_IMM 0
#define BF_ASM 0
#define BF_SCALE 0
#define BF_X2 0
#endif