"Fossies" - the Fresh Open Source Software Archive

Member "john-1.9.0/src/sparc32.h" (29 May 2013, 1314 Bytes) of package /linux/privat/john-1.9.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "sparc32.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.8.0_vs_1.9.0.

    1 /*
    2  * This file is part of John the Ripper password cracker,
    3  * Copyright (c) 2005,2008 by Solar Designer
    4  *
    5  * Redistribution and use in source and binary forms, with or without
    6  * modification, are permitted.
    7  *
    8  * There's ABSOLUTELY NO WARRANTY, express or implied.
    9  */
   10 
   11 /*
   12  * Architecture specific parameters for SPARC V8, 32-bit.
   13  */
   14 
   15 #ifndef _JOHN_ARCH_H
   16 #define _JOHN_ARCH_H
   17 
   18 #define ARCH_WORD           long
   19 #define ARCH_SIZE           4
   20 #define ARCH_BITS           32
   21 #define ARCH_BITS_LOG           5
   22 #define ARCH_BITS_STR           "32"
   23 #define ARCH_LITTLE_ENDIAN      0
   24 #define ARCH_INT_GT_32          0
   25 #define ARCH_ALLOWS_UNALIGNED       0
   26 #define ARCH_INDEX(x)           ((unsigned int)(unsigned char)(x))
   27 
   28 #define CPU_DETECT          0
   29 
   30 #define DES_ASM             0
   31 /*
   32  * Let's not bother trying 128 KB SPE tables with the old-fashioned DES
   33  * implementation, despite them resulting in better performance on some
   34  * systems.  We're using bitslice DES for the most important (most common)
   35  * DES-based hash types anyway.
   36  */
   37 #define DES_128K            0
   38 #define DES_X2              0
   39 #define DES_MASK            1
   40 #define DES_SCALE           1
   41 #define DES_EXTB            0
   42 #define DES_COPY            1
   43 #define DES_BS_ASM          0
   44 #define DES_BS              1
   45 #define DES_BS_VECTOR           0
   46 #define DES_BS_EXPAND           1
   47 
   48 #define MD5_ASM             0
   49 #define MD5_X2              1
   50 #define MD5_IMM             0
   51 
   52 #define BF_ASM              0
   53 #define BF_SCALE            0
   54 #define BF_X2               0
   55 
   56 #endif