"Fossies" - the Fresh Open Source Software Archive

Member "PDFlib-Lite-7.0.5p3/libs/pdcore/pc_aes.c" (6 Jun 2012, 1312 Bytes) of package /linux/misc/old/PDFlib-Lite-7.0.5p3.tar.gz:


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 "pc_aes.c" see the Fossies "Dox" file reference documentation.

    1 /* crypto/aes/aes_core.c -*- mode:C; c-file-style: "eay" -*- */
    2 /**
    3  * rijndael-alg-fst.c
    4  *
    5  * @version 3.0 (December 2000)
    6  *
    7  * Optimised ANSI C code for the Rijndael cipher (now AES)
    8  *
    9  * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
   10  * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
   11  * @author Paulo Barreto <paulo.barreto@terra.com.br>
   12  *
   13  * This code is hereby placed in the public domain.
   14  *
   15  * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
   16  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   17  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   18  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
   19  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   20  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   21  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
   22  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
   23  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
   24  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
   25  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   26  */
   27 
   28 /* Note: rewritten a little bit to provide error control and an OpenSSL-
   29    compatible API */
   30 
   31 #include "pc_util.h"
   32