亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? aes.txt

?? AES源碼
?? TXT
?? 第 1 頁 / 共 2 頁
字號:

An AES (Rijndael) Implementation in C/C++ (as specified in FIPS-197)
====================================================================

Changes in this Version (16/04/2007)
====================================

These changes remove errors in the VC++ build files and add some 
improvements in file naming consitency and portability. There are
no changes to overcome reported bugs in the code.

1. gen_tabs() has been renamed to aes_init() to better decribe its
   function to those not familiar with AES internals.

2. via_ace.h has been renamed to aes_via_ace.h.

3. Minor changes have been made to aestab.h and aestab.c to enable
   all the code to be compiled in either C or C++.
   
4. The code for detecting memory alignment in aesmdoes.c has been
   simplified and a new routine has been added:
   
       aes_test_alignment_detection()
   
   to check that the aligment test is likely to be correct.

5. The addition of support for Structured Exception Handling (SEH) 
   to YASM (well done Peter and Michael!) has allowed the AMD64 
   x64 assembler code to be changed to comply with SEH requriements.
       
6. Corrections to build files (for win32 debug build).

Overview
========

This code implements AES for both 32 and 64 bit systems with optional
assembler support for x86 and AMD64/EM64T (but optimised for AMD64).

The basic AES source code files are as follows:

aes.h           the header file needed to use AES in C
aescpp.h        the header file required with to use AES in C++
aesopt.h        the header file for setting options (and some common code)
aestab.h        the header file for the AES table declaration
aescrypt.c      the main C source code file for encryption and decryption
aeskey.c        the main C source code file for the key schedule
aestab.c        the main file for the AES tables
brg_types.h     a header defining some standard types and DLL defines
brg_endian.h    a header containing code to detect or define endianness
aes_x86_v1.asm  x86 assembler (YASM) alternative to aescrypt.c using
                large tables
aes_x86_v2.asm  x86 assembler (YASM) alternative to aescrypt.c using
                compressed tables
aes_amd64.asm   AMD64 assembler (YASM) alternative to aescrypt.c using
                compressed tables

In addition AES modes are implemented in the files:

aes_modes.c     AES modes with optional support for VIA ACE detection and use
aes_via_ace.h   the header file for VIA ACE support

Other associated files for testing and support are:

aesaux.h        header for auxilliary routines for testsing
aesaux.c        auxilliary routines for testsingt
aestst.h        header file for setting the testing environment
rdtsc.h         a header file that provides access to the Time Stamp Counter
aestst.c        a simple test program for quick tests of the AES code
aesgav.c        a program to generate and verify the test vector files
aesrav.c        a program to verify output against the test vector files
aestmr.c        a program to time the code on x86 systems
modetest.c      a program to test the AES modes support
vbxam.doc       a demonstration of AES DLL use from Visual Basic in Microsoft Word
vb.txt          Visual Basic code from the above example (win32 only)
aesxam.c        an example of AES use
tablegen.c      a program to generate a simplified 'aestab.c' file for
                use with compilers that find aestab.c too complex
yasm.rules      the YASM build rules file for Microsoft Visual Studio 2005
via_ace.txt     describes support for the VIA ACE cryptography engine
aes.txt         this file

Building The AES Libraries
--------------------------

A. Versions
-----------

The code can be used to build static and dynamic libraries, each in five
versions:

    C           uses C source code only
    ASM_X86_V1C large table x86 assembler code for encrypt/decrypt
    ASM_X86_V2  compressed table x86 assembler for encrypt/decrypt and keying
    ASM_X86_V2C compressed table x86 assembler code for encrypt/decrypt
    ASM_AMD64   compressed table x86 assembler code for encrypt/decrypt

The C version can be compiled for Win32 or x64, the x86 assembler versions
are for Win32 only and the AMD64 version for x64 only.

B. Types
--------

The code makes use of types defined as uint_<nn>t where <nn> is the length
of the type, for example, the unsigned 32-bit type is 'uint_32t'.  These are
NOT the same as the fixed width integer types in C99, inttypes.h and stdint.h
since several attempts to use these types have shown that support for them is
still highly variable.  But a regular expression search and replace in VC++
with search on 'uint_{:z}t' and a replace with 'uint\1_t' will convert these
types to C99 types (there should be similar search/replace facilities on other
systems).

C. YASM
-------

If you wish to use the x86 assembler files you will also need the YASM open
source x86 assembler (r1331 or later) for Windows which can be obtained from:

  http://www.tortall.net/projects/yasm/

This assembler should be placed in the bin directory used by VC++, which, for
Visual Stduio 2005, is typically:

 C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin

You will also need to move the yasm.rules file from this distribution into
the directory where Visual Studio 2005 expects to find it, which is typically:

 C:\Program Files (x86)\Microsoft Visual Studio 8\VC\VCProjectDefaults

Alternatively you can configure the path for rules files within Visual Studio.

D. Configuration
----------------

The following configurations are available as projects for Visual Studio 2005
but the following descriptions should allow them to be built in other x86
environments:

    lib_generic_c       Win32 and x64
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aescrypt.c, aeskey.c, aestab.c, aes_modes.c
        defines
    dll_generic_c       Win32 and x64
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aescrypt.c, aeskey.c, aestab.c, aes_modes.c
        defines         DLL_EXPORT

    lib_asm_x86_v1c     Win32
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aeskey.c, aestab.c, aes_modes.c
        x86 assembler:  aes_x86_v1.asm
        defines         ASM_X86_V1C (set for C and assembler files)
    dll_asm_x86_v1c     Win32
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aeskey.c, aestab.c, aes_modes.c
        x86 assembler:  aes_x86_v1.asm
        defines         DLL_EXPORT, ASM_X86_V1C (set for C and assembler files)

    lib_asm_x86_v2c     Win32
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aeskey.c, aestab.c, aes_modes.c
        x86 assembler:  aes_x86_v2.asm
        defines         ASM_X86_V2C (set for C and assembler files)
    dll_asm_x86_v2c     Win32
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aeskey.c, aestab.c, aes_modes.c
        x86 assembler:  aes_x86_v1.asm
        defines         DLL_EXPORT, ASM_X86_V2C (set for C and assembler files)

    lib_asm_x86_v2      Win32
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aes_modes.c
        x86 assembler:  aes_x86_v1.asm
        defines         ASM_X86_V2 (set for C and assembler files)
    dll_asm_x86_v2      Win32
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aes_modes.c
        x86 assembler:  aes_x86_v1.asm
        defines         DLL_EXPORT, ASM_AMD64_C (set for C and assembler files)

    lib_asm_amd64_c     x64
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aes_modes.c
        x86 assembler:  aes_amd64.asm
        defines         ASM_X86_V2 (set for C and assembler files)
    dll_asm_amd64_c     x64
        headers:        aes.h, aesopt.h, aestab.h, brg_endian.h, tdefs,h
        C source:       aes_modes.c
        x86 assembler:  aes_amd64.asm
        defines         DLL_EXPORT, ASM_AMD64_C (set for C and assembler files)

Notes:

ASM_X86_V1C is defined if using the version 1 assembler code (aescrypt1.asm).
            The defines in the assember file must match those in aes.h and
            aesopt.h).  Also remember to include/exclude the right assembler
            and C files in the build to avoid undefined or multiply defined
            symbols - include aescrypt1.asm and exclude aescrypt.c and
            aescrypt2.asm.

ASM_X86_V2  is defined if using the version 2 assembler code (aescrypt2.asm).
            This version provides a full, self contained assembler version
            and does not use any C source code files except for the mutiple
            block encryption modes that are provided by aes_modes.c. The define
            ASM_X86_V2 must be set on the YASM command line (or in aescrypt2.asm)
            to use this version and all C files except aec_modes.c and. for the
            DLL build, aestab.c must be excluded from the build.

ASM_X86_V2C is defined when using the version 2 assembler code (aescrypt2.asm)
            with faster key scheduling provided by the in C code (the options in
            the assember file must match those in aes.h and aesopt.h).  In this
            case aeskey.c and aestab.c are needed with aescrypt2.asm and the
            define ASM_X86_V2C must be set for both the C files and for
            asecrypt2.asm command lines (or in aesopt.h and aescrypt2.asm).
            Include aescrypt2.asm aeskey.c and aestab.c, exclude aescrypt.c for
            this option.

ASM_AMD64_C is defined when using the AMD64 assembly code because the C key
            scheduling is sued in this case.

DLL_EXPORT  must be defined to generate the DLL version of the code and
            to run tests on it

DLL_IMPORT  must be defined to use the DLL version of the code in an
            application program

Directories the paths for the various directories for test vector input and
            output have to be set in aestst.h

VIA ACE     see the via_ace.txt for this item

Static      The static libraries are named:
Libraries
                aes_lib_generic_c.lib
                aes_lib_asm_x86_v1c.lib
                aes_lib_asm_x86_v2.lib
                aes_lib_asm_x86_v2c.lib
                aes_lib_asm_amd64_c.lib

            and placed in one of the the directories:

                lib\win32\release\
                lib\win32\debug\
                lib\x64\release\
                lib\x64\debug\

            in the aes root directory depending on the platform(win32 or
            x64) and the build (release or debug). After any of these is
            built it is then copied into aes.lib, which is the library
            that is subsequently used for testing. Hence testing is for
            the last static library built.

Dynamic     The static libraries are named:
Libraries
                aes_lib_generic_c.dll
                aes_lib_asm_x86_v1c.dll
                aes_lib_asm_x86_v2.dll
                aes_lib_asm_x86_v2c.dll
                aes_lib_asm_amd64_c.dll

            and placed in one of the the directories:

                dll\win32\release\
                dll\win32\debug\
                dll\x64\release\
                dll\x64\debug\

            in the aes root directory depending on the platform(win32 or
            x64) and the build (release or debug).  Each DLL library:

                aes_<ext>.dll

            has three associated files:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美老肥妇做.爰bbww| 欧美一级二级三级蜜桃| 免费xxxx性欧美18vr| 久久久九九九九| 欧美人狂配大交3d怪物一区| 成人国产精品免费| 韩国av一区二区三区在线观看| 亚洲欧美区自拍先锋| 久久久久国产精品人| 欧美精品一卡二卡| 日本大香伊一区二区三区| 国产在线看一区| 天天综合天天综合色| √…a在线天堂一区| www久久精品| 欧美一级生活片| 欧美丝袜自拍制服另类| 国产**成人网毛片九色| 久草在线在线精品观看| 日韩精品福利网| 亚洲成人动漫在线免费观看| 亚洲欧洲国产专区| 日本一区二区三区免费乱视频 | 国产不卡视频一区二区三区| 日本一区中文字幕| 亚洲超丰满肉感bbw| 亚洲欧美日韩一区二区 | 在线观看视频一区二区欧美日韩| 国产91露脸合集magnet| 九九国产精品视频| 奇米在线7777在线精品 | 午夜欧美2019年伦理| 国产精品国产馆在线真实露脸| 精品国产免费久久| 3d成人h动漫网站入口| 欧美男同性恋视频网站| 欧美主播一区二区三区| 在线观看91视频| 日本二三区不卡| 欧美在线影院一区二区| 欧美色窝79yyyycom| 欧美体内she精视频| 欧美三级韩国三级日本一级| 欧美私模裸体表演在线观看| 欧美日韩国产免费一区二区| 欧美妇女性影城| 91精品蜜臀在线一区尤物| 欧美电影在哪看比较好| 日韩欧美国产三级电影视频| 日韩精品一区二区在线观看| 精品欧美一区二区三区精品久久| 日韩视频免费观看高清完整版 | 国产成人亚洲综合a∨猫咪| 国产综合色视频| 国产精品伊人色| 成人激情小说网站| 99在线精品观看| 色欧美乱欧美15图片| 欧美亚洲图片小说| 91麻豆精品国产自产在线| 日韩欧美久久一区| 国产欧美日韩激情| 亚洲一区二区三区自拍| 人人超碰91尤物精品国产| 激情综合色播激情啊| 成人av综合在线| 欧美在线高清视频| 久久综合久久综合久久| 国产精品久久久久久久久免费桃花| 亚洲另类一区二区| 青草av.久久免费一区| 成人在线综合网| 欧美性xxxxxx少妇| 精品国产三级a在线观看| 18欧美亚洲精品| 日韩国产一区二| 国产成人在线电影| 欧美日韩免费视频| 国产日产欧美一区二区三区| 亚洲男人的天堂av| 精品一二三四在线| 欧洲精品在线观看| 精品99久久久久久| 一级精品视频在线观看宜春院 | 在线观看视频欧美| 精品成人一区二区| 亚洲情趣在线观看| 精品一区二区三区在线观看| 92国产精品观看| 欧美成人女星排名| 一区二区日韩av| 国产一区二区在线看| 欧美色网站导航| 国产精品免费久久久久| 蜜臀久久久99精品久久久久久| av电影一区二区| 精品国内片67194| 亚洲男人电影天堂| 国产激情一区二区三区| 欧美美女一区二区| 亚洲欧美日韩国产中文在线| 国产精品99久久久久| 91精品国产综合久久久久| 亚洲视频中文字幕| 国产成人精品三级麻豆| 日韩亚洲欧美在线| 亚洲综合精品久久| 成人av免费在线播放| 26uuu国产在线精品一区二区| 亚洲国产aⅴ天堂久久| 99精品在线免费| 欧美国产精品专区| 国产在线播精品第三| 制服丝袜激情欧洲亚洲| 亚洲综合色婷婷| 一本久久a久久精品亚洲| 国产精品乱人伦| 国产成人av电影在线| 精品国产制服丝袜高跟| 肉色丝袜一区二区| 欧美日韩极品在线观看一区| 一区二区免费看| 91黄色免费观看| 亚洲欧美日本韩国| 91福利社在线观看| 亚洲欧美色图小说| 91论坛在线播放| 最新国产の精品合集bt伙计| 成人黄色av电影| 国产精品福利一区| aaa国产一区| 亚洲免费在线视频一区 二区| 国产99久久久精品| 日本一区二区高清| 成人精品视频一区二区三区| 国产日韩一级二级三级| 国产精品小仙女| 国产欧美一区二区在线| 波多野结衣一区二区三区| 亚洲国产经典视频| 97超碰欧美中文字幕| 亚洲精品国产第一综合99久久| 99国产精品99久久久久久| 亚洲视频网在线直播| 色综合久久中文综合久久牛| 一二三四社区欧美黄| 欧美日韩精品欧美日韩精品一| 亚洲成av人片在线观看无码| 9191国产精品| 免费观看91视频大全| 久久综合丝袜日本网| 成人精品视频一区二区三区 | 久久免费电影网| 成人国产精品免费观看| 亚洲精品免费一二三区| 欧美视频一区二区三区在线观看| 亚洲1区2区3区视频| 欧美一区二区三区小说| 国产伦精品一区二区三区在线观看| 欧美激情艳妇裸体舞| 一本色道久久综合精品竹菊| 亚洲国产日韩综合久久精品| 日韩欧美国产三级| 国产成人免费9x9x人网站视频| 亚洲精品视频观看| 欧美一区二区精品在线| 国产成人亚洲综合色影视| 一区二区不卡在线播放 | 久久美女艺术照精彩视频福利播放| 丁香激情综合国产| 亚洲国产欧美另类丝袜| 精品国产免费久久| 91久久精品一区二区| 韩国理伦片一区二区三区在线播放 | 国产一区二区女| 亚洲欧美色图小说| 精品伦理精品一区| 99久久er热在这里只有精品66| 人妖欧美一区二区| 国产精品家庭影院| 日韩一卡二卡三卡四卡| 99国产精品久久久久久久久久久| 免费人成网站在线观看欧美高清| 国产精品毛片a∨一区二区三区| 欧美日韩国产一区| 成人激情免费视频| 天涯成人国产亚洲精品一区av| 国产午夜精品在线观看| 欧美日韩色综合| 99久久99久久综合| 久久国产精品一区二区| 亚洲日本免费电影| 久久青草欧美一区二区三区| 欧美三级一区二区| av在线播放不卡| 激情图片小说一区| 亚洲成av人片www| 中文字幕日本不卡| 久久亚区不卡日本| 欧美一区二区网站|