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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? aes.txt

?? AES加密算法C語言實現(xiàn)
?? 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
----------

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频图片小说| 中文久久乱码一区二区| 亚洲日本va午夜在线影院| 欧美色综合网站| 亚洲欧美日韩成人高清在线一区| 国产精品一区三区| 日韩免费高清电影| 日韩不卡一区二区| 欧美人与性动xxxx| 日韩在线播放一区二区| 欧美一级午夜免费电影| 日韩电影免费一区| 亚洲免费在线看| 久久久不卡网国产精品一区| 国产风韵犹存在线视精品| 欧美激情在线免费观看| 成年人午夜久久久| 一区二区中文字幕在线| 欧美午夜精品久久久久久超碰| 国产精品一二三区在线| 久久99精品视频| 欧美精彩视频一区二区三区| 成人精品一区二区三区中文字幕 | 成人高清在线视频| 免费观看91视频大全| 国产亚洲午夜高清国产拍精品| 成人禁用看黄a在线| 精品一区二区在线视频| 免费看欧美女人艹b| 偷拍一区二区三区| 久久久久久久综合日本| 欧美精品一区二区三区在线 | 91久久人澡人人添人人爽欧美| 亚洲综合激情另类小说区| 欧美喷潮久久久xxxxx| 日本韩国一区二区| 欧美制服丝袜第一页| 激情综合色播激情啊| 一区二区三区欧美视频| 欧美成人激情免费网| 94色蜜桃网一区二区三区| 肉色丝袜一区二区| 日韩成人av影视| 久久综合综合久久综合| 有坂深雪av一区二区精品| 欧美精品一区男女天堂| 久久久久久久性| 日本一区二区免费在线| 中文字幕人成不卡一区| 亚洲日本丝袜连裤袜办公室| 亚洲最大成人综合| 亚洲国产乱码最新视频| 国产精品视频在线看| 中文字幕亚洲区| 亚洲综合区在线| 日韩二区在线观看| 韩国女主播一区二区三区| 国产在线观看一区二区 | 国产69精品久久久久毛片| 午夜a成v人精品| 另类小说图片综合网| 国产在线精品视频| 99久久精品久久久久久清纯| 91国产视频在线观看| 欧美另类高清zo欧美| 91麻豆国产福利精品| 国内精品写真在线观看| 高清beeg欧美| 欧美性猛交xxxxxx富婆| 日韩视频一区二区| 欧美疯狂性受xxxxx喷水图片| 日韩美女一区二区三区四区| 久久久久97国产精华液好用吗| 亚洲欧美综合网| 午夜伦理一区二区| 国产激情视频一区二区在线观看 | 午夜电影网一区| 久久精品免费看| 91亚洲精华国产精华精华液| 欧美色老头old∨ideo| 色天天综合色天天久久| 粉嫩av亚洲一区二区图片| 91女人视频在线观看| 日韩一区二区精品葵司在线| 中文幕一区二区三区久久蜜桃| 午夜伦欧美伦电影理论片| 国产98色在线|日韩| 欧美三级中文字幕在线观看| 久久久久久久久一| 亚洲一区中文日韩| 国产精品综合在线视频| 欧洲国内综合视频| 国产日韩欧美一区二区三区乱码| 亚洲在线观看免费| 国产精品一区二区不卡| 欧美日韩高清一区二区不卡| 国产农村妇女精品| 午夜影院在线观看欧美| 亚洲成人久久影院| 成人福利电影精品一区二区在线观看| 欧美日韩情趣电影| 中文成人综合网| 久草在线在线精品观看| 欧美在线一区二区三区| 国产精品久久久久桃色tv| 亚洲精品一卡二卡| 国产成人精品免费视频网站| 欧美日韩高清不卡| 专区另类欧美日韩| 国产一区美女在线| 91麻豆精品国产91久久久久久| 欧美精品欧美精品系列| 亚洲欧洲日产国产综合网| 国产在线播放一区二区三区| 欧洲一区二区三区在线| 亚洲欧美一区二区不卡| 国产激情视频一区二区三区欧美 | 日韩一区二区电影| 亚洲国产一区二区在线播放| 99精品在线免费| 国产欧美精品日韩区二区麻豆天美| 男男成人高潮片免费网站| 欧美视频一二三区| 一区二区三区在线免费播放| 成人午夜在线免费| 国产欧美日韩三区| 国产精品一区二区三区99| 日韩欧美不卡一区| 蜜桃传媒麻豆第一区在线观看| 国产91综合网| 久久精品一区二区三区不卡牛牛| 精品亚洲aⅴ乱码一区二区三区| 91麻豆精品国产91| 亚洲6080在线| 91超碰这里只有精品国产| 亚洲成人精品一区二区| 91麻豆精品久久久久蜜臀| 性做久久久久久久久| 在线播放中文一区| 男男视频亚洲欧美| 26uuu久久天堂性欧美| 亚洲欧美欧美一区二区三区| 暴力调教一区二区三区| 91精品国产高清一区二区三区蜜臀| 午夜私人影院久久久久| 538在线一区二区精品国产| 日韩激情一区二区| 精品动漫一区二区三区在线观看| 国产综合久久久久影院| 国产日韩精品视频一区| 成年人国产精品| 亚洲综合激情另类小说区| 欧美人牲a欧美精品| 麻豆视频一区二区| 国产精品水嫩水嫩| 欧洲亚洲国产日韩| 蜜臀久久久99精品久久久久久| 精品国精品国产| 成人一区在线观看| 亚洲精品成人精品456| 欧美人妇做爰xxxⅹ性高电影| 另类人妖一区二区av| 欧美激情一区二区在线| 91麻豆国产精品久久| 日本视频中文字幕一区二区三区| 久久久久亚洲综合| 色综合久久久久综合| 日韩av电影免费观看高清完整版 | 精品一区二区三区在线观看国产| 2021国产精品久久精品| 成人18精品视频| 天堂午夜影视日韩欧美一区二区| 日韩午夜小视频| aaa亚洲精品| 日本在线不卡视频| 中文字幕精品一区| 欧美日韩国产欧美日美国产精品| 久久精品国产一区二区| 亚洲欧洲99久久| 日韩亚洲欧美一区二区三区| 不卡视频一二三| 奇米精品一区二区三区四区 | 日本一区二区三级电影在线观看| 日本福利一区二区| 国产在线不卡视频| 亚洲午夜精品久久久久久久久| 久久影院电视剧免费观看| 91久久香蕉国产日韩欧美9色| 国产在线一区观看| 亚洲国产精品麻豆| 亚洲国产精品99久久久久久久久 | 国产精品一区二区果冻传媒| 亚洲综合色视频| 国产精品久久久久久久浪潮网站| 欧美久久久一区| 色偷偷久久人人79超碰人人澡| 国内精品不卡在线| 日本美女一区二区三区视频| 中文字幕综合网| 中文字幕国产精品一区二区|