The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/crypto/spr.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $OpenBSD: spr.h,v 1.2 2002/10/27 13:24:26 miod Exp $    */
    2 
    3 /* lib/des/spr.h */
    4 /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au)
    5  * All rights reserved.
    6  * 
    7  * This file is part of an SSL implementation written
    8  * by Eric Young (eay@mincom.oz.au).
    9  * The implementation was written so as to conform with Netscapes SSL
   10  * specification.  This library and applications are
   11  * FREE FOR COMMERCIAL AND NON-COMMERCIAL USE
   12  * as long as the following conditions are aheared to.
   13  * 
   14  * Copyright remains Eric Young's, and as such any Copyright notices in
   15  * the code are not to be removed.  If this code is used in a product,
   16  * Eric Young should be given attribution as the author of the parts used.
   17  * This can be in the form of a textual message at program startup or
   18  * in documentation (online or textual) provided with the package.
   19  * 
   20  * Redistribution and use in source and binary forms, with or without
   21  * modification, are permitted provided that the following conditions
   22  * are met:
   23  * 1. Redistributions of source code must retain the copyright
   24  *    notice, this list of conditions and the following disclaimer.
   25  * 2. Redistributions in binary form must reproduce the above copyright
   26  *    notice, this list of conditions and the following disclaimer in the
   27  *    documentation and/or other materials provided with the distribution.
   28  * 3. All advertising materials mentioning features or use of this software
   29  *    must display the following acknowledgement:
   30  *    This product includes software developed by Eric Young (eay@mincom.oz.au)
   31  * 
   32  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
   33  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   34  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   35  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   36  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   37  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   38  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   39  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   40  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   41  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   42  * SUCH DAMAGE.
   43  * 
   44  * The licence and distribution terms for any publically available version or
   45  * derivative of this code cannot be changed.  i.e. this code cannot simply be
   46  * copied and put under another distribution licence
   47  * [including the GNU Public Licence.]
   48  */
   49 
   50 static const u_int32_t des_SPtrans[8][64]={
   51 {
   52 /* nibble 0 */
   53 0x00820200L, 0x00020000L, 0x80800000L, 0x80820200L,
   54 0x00800000L, 0x80020200L, 0x80020000L, 0x80800000L,
   55 0x80020200L, 0x00820200L, 0x00820000L, 0x80000200L,
   56 0x80800200L, 0x00800000L, 0x00000000L, 0x80020000L,
   57 0x00020000L, 0x80000000L, 0x00800200L, 0x00020200L,
   58 0x80820200L, 0x00820000L, 0x80000200L, 0x00800200L,
   59 0x80000000L, 0x00000200L, 0x00020200L, 0x80820000L,
   60 0x00000200L, 0x80800200L, 0x80820000L, 0x00000000L,
   61 0x00000000L, 0x80820200L, 0x00800200L, 0x80020000L,
   62 0x00820200L, 0x00020000L, 0x80000200L, 0x00800200L,
   63 0x80820000L, 0x00000200L, 0x00020200L, 0x80800000L,
   64 0x80020200L, 0x80000000L, 0x80800000L, 0x00820000L,
   65 0x80820200L, 0x00020200L, 0x00820000L, 0x80800200L,
   66 0x00800000L, 0x80000200L, 0x80020000L, 0x00000000L,
   67 0x00020000L, 0x00800000L, 0x80800200L, 0x00820200L,
   68 0x80000000L, 0x80820000L, 0x00000200L, 0x80020200L,
   69 },{
   70 /* nibble 1 */
   71 0x10042004L, 0x00000000L, 0x00042000L, 0x10040000L,
   72 0x10000004L, 0x00002004L, 0x10002000L, 0x00042000L,
   73 0x00002000L, 0x10040004L, 0x00000004L, 0x10002000L,
   74 0x00040004L, 0x10042000L, 0x10040000L, 0x00000004L,
   75 0x00040000L, 0x10002004L, 0x10040004L, 0x00002000L,
   76 0x00042004L, 0x10000000L, 0x00000000L, 0x00040004L,
   77 0x10002004L, 0x00042004L, 0x10042000L, 0x10000004L,
   78 0x10000000L, 0x00040000L, 0x00002004L, 0x10042004L,
   79 0x00040004L, 0x10042000L, 0x10002000L, 0x00042004L,
   80 0x10042004L, 0x00040004L, 0x10000004L, 0x00000000L,
   81 0x10000000L, 0x00002004L, 0x00040000L, 0x10040004L,
   82 0x00002000L, 0x10000000L, 0x00042004L, 0x10002004L,
   83 0x10042000L, 0x00002000L, 0x00000000L, 0x10000004L,
   84 0x00000004L, 0x10042004L, 0x00042000L, 0x10040000L,
   85 0x10040004L, 0x00040000L, 0x00002004L, 0x10002000L,
   86 0x10002004L, 0x00000004L, 0x10040000L, 0x00042000L,
   87 },{
   88 /* nibble 2 */
   89 0x41000000L, 0x01010040L, 0x00000040L, 0x41000040L,
   90 0x40010000L, 0x01000000L, 0x41000040L, 0x00010040L,
   91 0x01000040L, 0x00010000L, 0x01010000L, 0x40000000L,
   92 0x41010040L, 0x40000040L, 0x40000000L, 0x41010000L,
   93 0x00000000L, 0x40010000L, 0x01010040L, 0x00000040L,
   94 0x40000040L, 0x41010040L, 0x00010000L, 0x41000000L,
   95 0x41010000L, 0x01000040L, 0x40010040L, 0x01010000L,
   96 0x00010040L, 0x00000000L, 0x01000000L, 0x40010040L,
   97 0x01010040L, 0x00000040L, 0x40000000L, 0x00010000L,
   98 0x40000040L, 0x40010000L, 0x01010000L, 0x41000040L,
   99 0x00000000L, 0x01010040L, 0x00010040L, 0x41010000L,
  100 0x40010000L, 0x01000000L, 0x41010040L, 0x40000000L,
  101 0x40010040L, 0x41000000L, 0x01000000L, 0x41010040L,
  102 0x00010000L, 0x01000040L, 0x41000040L, 0x00010040L,
  103 0x01000040L, 0x00000000L, 0x41010000L, 0x40000040L,
  104 0x41000000L, 0x40010040L, 0x00000040L, 0x01010000L,
  105 },{
  106 /* nibble 3 */
  107 0x00100402L, 0x04000400L, 0x00000002L, 0x04100402L,
  108 0x00000000L, 0x04100000L, 0x04000402L, 0x00100002L,
  109 0x04100400L, 0x04000002L, 0x04000000L, 0x00000402L,
  110 0x04000002L, 0x00100402L, 0x00100000L, 0x04000000L,
  111 0x04100002L, 0x00100400L, 0x00000400L, 0x00000002L,
  112 0x00100400L, 0x04000402L, 0x04100000L, 0x00000400L,
  113 0x00000402L, 0x00000000L, 0x00100002L, 0x04100400L,
  114 0x04000400L, 0x04100002L, 0x04100402L, 0x00100000L,
  115 0x04100002L, 0x00000402L, 0x00100000L, 0x04000002L,
  116 0x00100400L, 0x04000400L, 0x00000002L, 0x04100000L,
  117 0x04000402L, 0x00000000L, 0x00000400L, 0x00100002L,
  118 0x00000000L, 0x04100002L, 0x04100400L, 0x00000400L,
  119 0x04000000L, 0x04100402L, 0x00100402L, 0x00100000L,
  120 0x04100402L, 0x00000002L, 0x04000400L, 0x00100402L,
  121 0x00100002L, 0x00100400L, 0x04100000L, 0x04000402L,
  122 0x00000402L, 0x04000000L, 0x04000002L, 0x04100400L,
  123 },{
  124 /* nibble 4 */
  125 0x02000000L, 0x00004000L, 0x00000100L, 0x02004108L,
  126 0x02004008L, 0x02000100L, 0x00004108L, 0x02004000L,
  127 0x00004000L, 0x00000008L, 0x02000008L, 0x00004100L,
  128 0x02000108L, 0x02004008L, 0x02004100L, 0x00000000L,
  129 0x00004100L, 0x02000000L, 0x00004008L, 0x00000108L,
  130 0x02000100L, 0x00004108L, 0x00000000L, 0x02000008L,
  131 0x00000008L, 0x02000108L, 0x02004108L, 0x00004008L,
  132 0x02004000L, 0x00000100L, 0x00000108L, 0x02004100L,
  133 0x02004100L, 0x02000108L, 0x00004008L, 0x02004000L,
  134 0x00004000L, 0x00000008L, 0x02000008L, 0x02000100L,
  135 0x02000000L, 0x00004100L, 0x02004108L, 0x00000000L,
  136 0x00004108L, 0x02000000L, 0x00000100L, 0x00004008L,
  137 0x02000108L, 0x00000100L, 0x00000000L, 0x02004108L,
  138 0x02004008L, 0x02004100L, 0x00000108L, 0x00004000L,
  139 0x00004100L, 0x02004008L, 0x02000100L, 0x00000108L,
  140 0x00000008L, 0x00004108L, 0x02004000L, 0x02000008L,
  141 },{
  142 /* nibble 5 */
  143 0x20000010L, 0x00080010L, 0x00000000L, 0x20080800L,
  144 0x00080010L, 0x00000800L, 0x20000810L, 0x00080000L,
  145 0x00000810L, 0x20080810L, 0x00080800L, 0x20000000L,
  146 0x20000800L, 0x20000010L, 0x20080000L, 0x00080810L,
  147 0x00080000L, 0x20000810L, 0x20080010L, 0x00000000L,
  148 0x00000800L, 0x00000010L, 0x20080800L, 0x20080010L,
  149 0x20080810L, 0x20080000L, 0x20000000L, 0x00000810L,
  150 0x00000010L, 0x00080800L, 0x00080810L, 0x20000800L,
  151 0x00000810L, 0x20000000L, 0x20000800L, 0x00080810L,
  152 0x20080800L, 0x00080010L, 0x00000000L, 0x20000800L,
  153 0x20000000L, 0x00000800L, 0x20080010L, 0x00080000L,
  154 0x00080010L, 0x20080810L, 0x00080800L, 0x00000010L,
  155 0x20080810L, 0x00080800L, 0x00080000L, 0x20000810L,
  156 0x20000010L, 0x20080000L, 0x00080810L, 0x00000000L,
  157 0x00000800L, 0x20000010L, 0x20000810L, 0x20080800L,
  158 0x20080000L, 0x00000810L, 0x00000010L, 0x20080010L,
  159 },{
  160 /* nibble 6 */
  161 0x00001000L, 0x00000080L, 0x00400080L, 0x00400001L,
  162 0x00401081L, 0x00001001L, 0x00001080L, 0x00000000L,
  163 0x00400000L, 0x00400081L, 0x00000081L, 0x00401000L,
  164 0x00000001L, 0x00401080L, 0x00401000L, 0x00000081L,
  165 0x00400081L, 0x00001000L, 0x00001001L, 0x00401081L,
  166 0x00000000L, 0x00400080L, 0x00400001L, 0x00001080L,
  167 0x00401001L, 0x00001081L, 0x00401080L, 0x00000001L,
  168 0x00001081L, 0x00401001L, 0x00000080L, 0x00400000L,
  169 0x00001081L, 0x00401000L, 0x00401001L, 0x00000081L,
  170 0x00001000L, 0x00000080L, 0x00400000L, 0x00401001L,
  171 0x00400081L, 0x00001081L, 0x00001080L, 0x00000000L,
  172 0x00000080L, 0x00400001L, 0x00000001L, 0x00400080L,
  173 0x00000000L, 0x00400081L, 0x00400080L, 0x00001080L,
  174 0x00000081L, 0x00001000L, 0x00401081L, 0x00400000L,
  175 0x00401080L, 0x00000001L, 0x00001001L, 0x00401081L,
  176 0x00400001L, 0x00401080L, 0x00401000L, 0x00001001L,
  177 },{
  178 /* nibble 7 */
  179 0x08200020L, 0x08208000L, 0x00008020L, 0x00000000L,
  180 0x08008000L, 0x00200020L, 0x08200000L, 0x08208020L,
  181 0x00000020L, 0x08000000L, 0x00208000L, 0x00008020L,
  182 0x00208020L, 0x08008020L, 0x08000020L, 0x08200000L,
  183 0x00008000L, 0x00208020L, 0x00200020L, 0x08008000L,
  184 0x08208020L, 0x08000020L, 0x00000000L, 0x00208000L,
  185 0x08000000L, 0x00200000L, 0x08008020L, 0x08200020L,
  186 0x00200000L, 0x00008000L, 0x08208000L, 0x00000020L,
  187 0x00200000L, 0x00008000L, 0x08000020L, 0x08208020L,
  188 0x00008020L, 0x08000000L, 0x00000000L, 0x00208000L,
  189 0x08200020L, 0x08008020L, 0x08008000L, 0x00200020L,
  190 0x08208000L, 0x00000020L, 0x00200020L, 0x08008000L,
  191 0x08208020L, 0x00200000L, 0x08200000L, 0x08000020L,
  192 0x00208000L, 0x00008020L, 0x08008020L, 0x08200000L,
  193 0x00000020L, 0x08208000L, 0x00208020L, 0x00000000L,
  194 0x08000000L, 0x08200020L, 0x00008000L, 0x00208020L,
  195 }};

Cache object: 72f538b005945dee4ce37255c08ec30f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.