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

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

?? aes.txt

?? AES加密算法C語言實現
?? TXT
?? 第 1 頁 / 共 2 頁
字號:

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

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:

                aes_dll_<ext>.lib   the library file for implicit linking
                aes_dll_<ext>.exp   the exports file
                aes_dll_<ext>.pdb   the symbol file

            After any DLL is built it and its three related files are then
            copied into aes.lib, aes.lib, aes,exp and aes.pdb, which are
            the libraries used for testing.  Hence testing is for the last
            static library or DLL built.

E. Testing
----------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线精品一区二区三区不卡| 成人综合在线观看| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 欧美一区二区三区免费| 久久综合狠狠综合久久综合88 | 国产成人精品免费一区二区| 欧美日韩中文字幕一区二区| 久久精品无码一区二区三区| 亚洲一区二区三区中文字幕在线| 国产一区二区在线观看视频| 欧美日本韩国一区| 中文字幕视频一区二区三区久| 日韩av一区二区三区| 99re这里只有精品6| 精品国产百合女同互慰| 香蕉乱码成人久久天堂爱免费| aaa亚洲精品一二三区| 久久噜噜亚洲综合| 久久精品国产999大香线蕉| 91亚洲大成网污www| 久久精品亚洲麻豆av一区二区| 免费在线观看一区| 91精品国产欧美日韩| 亚洲制服丝袜av| 色诱视频网站一区| 蜜桃av一区二区三区| 国产精品一卡二| 欧美电影免费观看高清完整版在| 五月激情综合网| 欧美理论片在线| 中文字幕日本不卡| 99久久免费视频.com| 国产精品网曝门| 成人午夜视频在线| 亚洲国产精品99久久久久久久久| 精品一区二区三区免费播放| 日韩欧美综合一区| 久久精品国产免费| 久久久久一区二区三区四区| 国产呦精品一区二区三区网站| 精品久久一区二区| 国产一区高清在线| 欧美国产日本视频| 99国产精品99久久久久久| 亚洲欧美日韩国产综合| 91在线观看美女| 亚洲午夜影视影院在线观看| 欧美三级一区二区| 老司机免费视频一区二区| 日韩欧美专区在线| 国产91精品露脸国语对白| 亚洲国产精品精华液2区45| 不卡一区二区在线| 亚洲综合在线免费观看| 欧美理论在线播放| 国产主播一区二区| 亚洲免费观看在线观看| 欧美日韩一区小说| 麻豆国产一区二区| 国产日韩综合av| 在线观看日产精品| 久久精品国产精品亚洲综合| 中文字幕欧美日本乱码一线二线| 91麻豆文化传媒在线观看| 亚洲国产精品天堂| 国产婷婷色一区二区三区在线| 波波电影院一区二区三区| 亚洲电影第三页| 国产蜜臀av在线一区二区三区| 91视频在线观看| 免费在线成人网| 亚洲色图视频网站| 欧美一区日韩一区| 99久久99久久精品免费看蜜桃| 亚洲成人一区在线| 久久久久久久电影| 欧美日韩亚州综合| 国产**成人网毛片九色| 天天av天天翘天天综合网色鬼国产| 久久久精品黄色| 91精品综合久久久久久| 成人av网在线| 久色婷婷小香蕉久久| 成人欧美一区二区三区白人| 91精品国产综合久久久蜜臀图片| 国产一区二区91| 亚洲国产aⅴ天堂久久| 中文在线免费一区三区高中清不卡| 欧美日韩一区二区在线观看视频 | 日韩一区二区三区视频| 丁香婷婷综合五月| 看电视剧不卡顿的网站| 夜夜嗨av一区二区三区网页| 久久精品一区二区三区不卡牛牛| 欧美吻胸吃奶大尺度电影 | 91老司机福利 在线| 极品尤物av久久免费看| 亚洲成人精品在线观看| 亚洲人亚洲人成电影网站色| 久久精品日韩一区二区三区| 日韩一级二级三级| 91精品国产综合久久香蕉的特点 | 亚洲美女视频在线观看| 久久九九久久九九| 2023国产精华国产精品| 日韩欧美中文一区二区| 欧美日韩在线不卡| 欧美性大战xxxxx久久久| 97久久精品人人澡人人爽| 成人激情黄色小说| 国产成人精品三级| 国产凹凸在线观看一区二区| 激情欧美日韩一区二区| 蜜臀av在线播放一区二区三区| 天堂成人国产精品一区| 日韩va亚洲va欧美va久久| 亚洲成av人影院| 日韩不卡免费视频| 免费成人美女在线观看| 青娱乐精品视频| 美女视频黄频大全不卡视频在线播放 | 成人白浆超碰人人人人| 国产.欧美.日韩| 91污在线观看| 欧美撒尿777hd撒尿| 欧美日韩国产三级| 在线国产电影不卡| 欧美色手机在线观看| 欧美日韩性生活| 日韩一二三四区| 久久午夜国产精品| 国产精品久久三| 尤物视频一区二区| 国产亚洲欧美在线| 成人免费一区二区三区视频 | 色哟哟在线观看一区二区三区| 91在线小视频| 欧美日韩国产a| 欧美va天堂va视频va在线| 精品国产三级电影在线观看| 国产日韩欧美亚洲| 亚洲精品视频自拍| 日本欧美加勒比视频| 国产成人精品影视| 97se亚洲国产综合自在线观| 欧美性猛交xxxx黑人交| 日韩欧美国产系列| 亚洲欧洲日韩av| 视频一区在线视频| 国产精品一二三在| 一本久道中文字幕精品亚洲嫩| 欧美日韩不卡在线| 国产农村妇女毛片精品久久麻豆 | 日韩在线观看一区二区| 日韩精彩视频在线观看| 国产精品综合网| 欧美日韩不卡一区| 久久久久国产免费免费 | 日本丶国产丶欧美色综合| 欧美精品久久一区| 中文字幕一区日韩精品欧美| 日韩av一区二区三区| aaa欧美大片| 91精品一区二区三区久久久久久 | 亚洲h精品动漫在线观看| 国产高清久久久久| 欧美日韩日日摸| 亚洲少妇最新在线视频| 青青草97国产精品免费观看| jlzzjlzz欧美大全| 2021国产精品久久精品| 亚洲午夜精品网| 国产成人精品免费| 欧美一卡二卡三卡| 亚洲综合色成人| 成人美女在线视频| 久久综合九色综合久久久精品综合| 亚洲精品成a人| 国产成+人+日韩+欧美+亚洲| 欧美一区二区福利视频| 亚洲乱码一区二区三区在线观看| 国产盗摄精品一区二区三区在线| 91精品久久久久久久久99蜜臂| 亚洲三级电影网站| 日韩欧美中文字幕公布| 亚洲美女电影在线| av激情亚洲男人天堂| 久久久青草青青国产亚洲免观| 青青草国产成人99久久| 欧美丰满嫩嫩电影| 午夜不卡av在线| 在线不卡一区二区| 日韩精品免费专区| 欧美肥妇毛茸茸| 免费看精品久久片| 欧美一区二区大片| 精品一区二区三区在线观看国产 | 国产精品蜜臀av| av在线播放一区二区三区| 欧美经典三级视频一区二区三区|