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

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

?? md6.h

?? 目前最新的MD6 Hash 算法源碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* File:    md6.h 
** Author:  Ronald L. Rivest
** Address: Room 32G-692 Stata Center 
**          32 Vassar Street 
**          Cambridge, MA 02139
** Email:   rivest@mit.edu
** Date:    10/24/2008
**
** (The following license is known as "The MIT License")
** 
** Copyright (c) 2008 Ronald L. Rivest
** 
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this software and associated documentation files (the "Software"), to deal
** in the Software without restriction, including without limitation the rights
** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
** copies of the Software, and to permit persons to whom the Software is
** furnished to do so, subject to the following conditions:
** 
** The above copyright notice and this permission notice shall be included in
** all copies or substantial portions of the Software.
** 
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
** THE SOFTWARE.
**
** (end of license)
**
** This file is part of the definition of the MD6 hash function.
** The files defining the MD6 hash function are:
**    md6.h
**    md6_compress.c
**    md6_mode.
** (Note that md6.h includes inttypes.h, which includes stdint.h; 
** versions of these header files compatible with MS Visual Studio
** are available, as noted below.)
**
** The files defining the interface between MD6 and the NIST SHA-3
** API are:
**    md6_nist.h
**    md6_nist.c
** The NIST SHA-3 API is defined in:
**    http://www.csrc.nist.gov/groups/ST/hash/documents/SHA3-C-API.pdf
**
** See  http://groups.csail.mit.edu/cis/md6  for more information.
**
** These files define the ``standard'' version of MD6.  However,
** they are written in such a way that one may relatively easily
** define and experiment with ``variant'' versions.
*/

/* Prevent multiple includes
** Matching endif is at end of md6.h
*/
#ifndef MD6_H_INCLUDED
#define MD6_H_INCLUDED


/* inttypes.h (which includes stdint.h)
** inttypes.h and stdint.h  are part of the normal environment 
** for gcc, but not for MS Visual Studio.  Fortunately,
** compatible implementations are available from Google at:
**   http://msinttypes.googlecode.com/svn/trunk/stdint.h
**   http://msinttypes.googlecode.com/svn/trunk/inttypes.h
** If these two files are in the same directory as md6.h, then
** MD6 will compile OK with MS Visual Studio.
*/
#if defined  _MSC_VER
#include "inttypes.h"
#else
#include <inttypes.h>
#endif

/* MD6 wordsize.
**
** Define md6 wordsize md6_w, in bits.
** Note that this is the "word size" relevant to the
** definition of md6 (it defines how many bits in an
** "md6_word");  it does *not* refer to the word size
** on the platform for which this is being compiled.
*/

#define   md6_w    64

/* Define "md6_word" appropriately for given value of md6_w.
** Also define PR_MD6_WORD to be the appropriate hex format string,
** using the format strings from inttypes.h .
** The term `word' in comments means an `md6_word'.
*/

#if (md6_w==64)                    /* standard md6 */
typedef uint64_t md6_word;
#define PR_MD6_WORD "%.16" PRIx64

#elif (md6_w==32)                  /* nonstandard variant */
typedef uint32_t md6_word;
#define PR_MD6_WORD "%.8" PRIx32

#elif (md6_w==16)                  /* nonstandard variant */
typedef uint16_t md6_word;
#define PR_MD6_WORD "%.4" PRIx16

#elif (md6_w==8)                   /* nonstandard variant */
typedef uint8_t md6_word;
#define PR_MD6_WORD "%.2" PRIx8

#endif

/* MD6 compression function.
**
** MD6 compression function is defined in file md6_compress.c 
*/

/* MD6 compression function constants                                  */

#define md6_n      89    /* size of compression input block, in words  */
#define md6_c      16    /* size of compression output, in words       */
                         /* a c-word block is also called a "chunk"    */
#define md6_max_r 255    /* max allowable value for number r of rounds */

/* Compression function routines                                
** These are ``internal'' routines that need not be called for  
** ordinary md6 usage.
*/

extern int md6_default_r( int d,      /* returns default r for given d */ 
			  int keylen  /* and keylen                    */
			  );    

void md6_main_compression_loop( md6_word *A,          /* working array */
				int r              /* number of rounds */
				);

int md6_compress( md6_word *C,                               /* output */  
		  md6_word *N,                                /* input */
		  int r,                              /* number rounds */
		  md6_word *A /* (optional) working array, may be NULL */
                );


typedef uint64_t md6_control_word;                      /* (r,L,z,p,d) */
md6_control_word md6_make_control_word( int r,        /* number rounds */
					int L,      /* parallel passes */
					int z,      /* final node flag */
					int p,         /* padding bits */
					int keylen,    /* bytes in key */
					int d           /* digest size */
					);

typedef uint64_t md6_nodeID;                                /* (ell,i) */
md6_nodeID md6_make_nodeID( int ell,                   /* level number */
			    int i    /* index (0,1,2,...) within level */
			    );

void md6_pack( md6_word* N,                                  /* output */
	       const md6_word* Q,           /* fractional part sqrt(6) */
	       md6_word* K,                                     /* key */
	       int ell, int i,                                /* for U */
	       int r, int L, int z, int p, int keylen, int d, /* for V */
	       md6_word* B                               /* data input */
	       );

int md6_standard_compress( 
        md6_word *C,                                     /* output */
	const md6_word *Q,              /* fractional part sqrt(6) */
	md6_word *K,                                        /* key */
	int ell, int i,                                   /* for U */
	int r, int L, int z, int p, int keylen, int d,    /* for V */
	md6_word* B                                  /* data input */
			   );

/* MD6 mode of operation.
**
** MD6 mode of operation is defined in file md6_mode.c 
*/

/* MD6 constants related to standard mode of operation                 */

/* These five values give lengths of the components of compression     */
/* input block; they should sum to md6_n.                              */
#define md6_q 15         /* # Q words in compression block (>=0)       */
#define md6_k  8         /* # key words per compression block (>=0)    */
#define md6_u (64/md6_w) /* # words for unique node ID (0 or 64/w)     */
#define md6_v (64/md6_w) /* # words for control word (0 or 64/w)       */
#define md6_b 64         /* # data words per compression block (>0)    */

#define md6_default_L 64    /* large so that MD6 is fully hierarchical */

#define md6_max_stack_height 29
    /* max_stack_height determines the maximum number of bits that
    ** can be processed by this implementation (with default L) to be:
    **    (b*w) * ((b/c) ** (max_stack_height-3)
    **    = 2 ** 64  for b = 64, w = 64, c = 16, and  max_stack_height = 29
    ** (We lose three off the height since level 0 is unused,
    ** level 1 contains the input data, and C has 0-origin indexing.)
    ** The smallest workable value for md6_max_stack_height is 3.
    ** (To avoid stack overflow for non-default L values, 
    ** we should have max_stack_height >= L + 2.)
    ** (One level of storage could be saved by letting st->N[] use
    ** 1-origin indexing, since st->N[0] is now unused.)
    */

/* MD6 state.
** 
** md6_state is the main data structure for the MD6 hash function.
*/

typedef struct {

  int d;           /* desired hash bit length. 1 <= d <= 512.      */
  int hashbitlen;  /* hashbitlen is the same as d; for NIST API    */

  unsigned char hashval[ (md6_c/2)*(md6_w/8) ];    
      /* e.g. unsigned char hashval[64];  (Assumes d<=c/2.)        */
      /* contains hashval after call to md6_final                  */
      /* hashval appears in first floor(d/8) bytes, with           */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美自拍偷拍| 国产一区二区视频在线| 色综合中文字幕国产 | 欧美一区二区高清| 免费在线观看精品| 26uuu精品一区二区| 国产成人在线网站| 亚洲欧美日韩国产综合在线| 欧美日韩中字一区| 久久99热99| 国产精品成人一区二区三区夜夜夜| 国产一区二区网址| 1区2区3区国产精品| 欧美影院午夜播放| 麻豆国产精品官网| 国产嫩草影院久久久久| 色8久久精品久久久久久蜜 | 日韩精品一区二区在线| 国产99精品国产| 亚洲欧美日韩国产另类专区| 欧美日韩精品一区二区天天拍小说 | 国产一区福利在线| 亚洲国产成人私人影院tom| 欧洲精品中文字幕| 老司机精品视频在线| 中文无字幕一区二区三区| 99re成人在线| 美女网站在线免费欧美精品| 国产农村妇女毛片精品久久麻豆| 成人动漫在线一区| 亚洲电影在线免费观看| 亚洲国产精品成人综合| 欧美午夜精品电影| 国产91精品入口| 日韩精品一区第一页| 久久婷婷成人综合色| 欧美揉bbbbb揉bbbbb| 国产伦精品一区二区三区在线观看| 中文av一区二区| 91精品欧美福利在线观看| 成人h精品动漫一区二区三区| 伊人性伊人情综合网| 久久这里只有精品首页| 欧美日韩免费高清一区色橹橹| 美女网站在线免费欧美精品| 亚洲综合网站在线观看| 国产偷国产偷精品高清尤物| 欧美精品18+| 色婷婷激情一区二区三区| 国产成人精品影视| 老司机免费视频一区二区三区| 亚洲色图.com| 中文字幕欧美区| 欧美一区二区三区视频免费播放| 床上的激情91.| 国产一区二区导航在线播放| 秋霞午夜鲁丝一区二区老狼| 亚洲影院在线观看| 一色屋精品亚洲香蕉网站| 久久精品水蜜桃av综合天堂| 日韩一级免费一区| 欧美丰满一区二区免费视频| 欧美日韩美女一区二区| 欧美性感一区二区三区| 在线精品视频小说1| 色欧美片视频在线观看在线视频| 国产乱码精品一区二区三区忘忧草 | 成人毛片视频在线观看| 日韩电影在线免费| 午夜精品福利在线| 午夜久久久久久电影| 亚洲动漫第一页| 天堂在线一区二区| 亚洲国产综合色| 天使萌一区二区三区免费观看| 国产精品欧美久久久久无广告| 精品sm在线观看| 久久久久久久性| 国产丝袜在线精品| 国产精品天美传媒| 日韩理论片中文av| 亚洲一区在线看| 视频一区免费在线观看| 男人的j进女人的j一区| 激情综合网激情| 国产高清成人在线| 成人免费电影视频| 欧美亚洲综合久久| 91精品蜜臀在线一区尤物| 日韩欧美一级在线播放| 亚洲欧洲99久久| 亚洲日本免费电影| 亚洲一区在线视频观看| 日本成人中文字幕在线视频| 久久99热国产| 99麻豆久久久国产精品免费| 91啪亚洲精品| 欧美一区二区三区在| 久久久久高清精品| 成人欧美一区二区三区1314 | 久久精品人人做| 国产精品无码永久免费888| 亚洲视频在线一区| 午夜av一区二区三区| 国产一区二区伦理| 99re成人在线| 日韩免费电影一区| 国产精品成人一区二区艾草| 亚洲成年人影院| 国产高清在线精品| 欧美视频一区在线观看| 日韩一级高清毛片| 日韩毛片在线免费观看| 日日骚欧美日韩| 大尺度一区二区| 91精品国产麻豆| 中文字幕日韩av资源站| 日韩电影免费一区| 9人人澡人人爽人人精品| 欧美日本韩国一区| 国产日韩三级在线| 首页国产欧美日韩丝袜| 成人午夜精品在线| 91精品国产一区二区三区香蕉| 久久这里只有精品视频网| 亚洲综合网站在线观看| 国产成人在线视频网站| 欧美一区二区黄| 一区二区三区中文字幕电影 | 国产精品国产三级国产普通话蜜臀 | 91精品国产91久久久久久最新毛片 | 免费精品视频在线| 波多野结衣精品在线| 精品精品国产高清一毛片一天堂| 久久夜色精品国产噜噜av| 亚洲123区在线观看| 色综合久久久久综合99| www亚洲一区| 麻豆精品一二三| 欧美亚洲国产一区二区三区| 国产精品久久影院| 国产中文一区二区三区| 欧美一区国产二区| 性欧美疯狂xxxxbbbb| 色综合久久综合中文综合网| 久久精品日产第一区二区三区高清版| 国产精品伦理在线| 国产精品综合在线视频| 精品人在线二区三区| 视频一区二区三区在线| 欧美无砖砖区免费| 亚洲乱码国产乱码精品精小说| 国内精品伊人久久久久影院对白| 日本乱人伦一区| 亚洲日本在线a| 99精品欧美一区二区三区综合在线| 7777精品伊人久久久大香线蕉的 | 91久久精品一区二区三| 中文字幕精品在线不卡| 国产一区999| 久久久www免费人成精品| 精品制服美女丁香| 日韩亚洲欧美一区二区三区| 日本不卡123| 精品嫩草影院久久| 精品一区二区综合| 久久九九影视网| 成人美女在线视频| 亚洲人成网站精品片在线观看| 丰满少妇久久久久久久| 国产精品久久久久四虎| 91看片淫黄大片一级在线观看| 国产欧美日韩在线视频| 成人黄色电影在线| 中文字幕亚洲电影| 色欧美乱欧美15图片| 亚洲免费av高清| 欧美日韩午夜在线视频| 日韩在线卡一卡二| 久久影院电视剧免费观看| 国产高清不卡一区二区| 国产精品国产自产拍高清av王其 | 午夜视频一区二区| 91精品国产综合久久福利| 久久99精品久久久久久国产越南| 91精品国产综合久久精品图片| 一区二区三区**美女毛片| 色婷婷av一区二区三区软件| 婷婷综合在线观看| 国产色产综合产在线视频| 成人激情开心网| 一区二区三区91| 日韩欧美一级二级三级| 成人h精品动漫一区二区三区| 国产精品久久久久一区| 欧美理论电影在线| 国产成人一级电影| 又紧又大又爽精品一区二区| 日韩亚洲欧美成人一区| 豆国产96在线|亚洲|