亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产麻豆午夜三级精品| 亚洲国产乱码最新视频| 日本精品免费观看高清观看| 青青草成人在线观看| 亚洲免费观看高清完整版在线观看| 亚洲欧美成人一区二区三区| 一区二区三区中文字幕在线观看| 精品国产成人在线影院| 欧美调教femdomvk| 日本二三区不卡| 在线欧美小视频| 91视视频在线观看入口直接观看www | 欧美在线视频你懂得| 亚洲综合免费观看高清完整版 | 国产拍欧美日韩视频二区| 99久久99久久精品免费看蜜桃| 日韩av高清在线观看| 精品在线播放午夜| 久久精品二区亚洲w码| 亚洲五码中文字幕| 激情综合色播激情啊| 日韩电影在线免费看| 亚洲视频电影在线| 在线看日本不卡| 粉嫩一区二区三区性色av| 粉嫩av亚洲一区二区图片| 日本高清不卡视频| 成人亚洲精品久久久久软件| 成人v精品蜜桃久久一区| 国产99久久久精品| 国产精品久久久久久久久搜平片| 色悠久久久久综合欧美99| 午夜精品福利久久久| 精品国产成人系列| 91原创在线视频| 日本美女一区二区| 1024成人网| 日韩一区和二区| 91免费在线看| 久久国内精品自在自线400部| 最新热久久免费视频| 日韩一区二区三区四区五区六区 | 丰满少妇久久久久久久| 亚洲乱码中文字幕综合| 欧美成人aa大片| 欧美系列在线观看| 成人性生交大片免费看在线播放| 午夜av区久久| 亚洲欧美国产高清| 国产网站一区二区三区| 91麻豆精品国产| 一本在线高清不卡dvd| 极品少妇一区二区三区精品视频| 亚洲国产精品影院| 国产精品狼人久久影院观看方式| 日韩欧美一二三四区| 欧美蜜桃一区二区三区| 91片黄在线观看| 国产成人丝袜美腿| 免费成人av资源网| 午夜精品123| 有坂深雪av一区二区精品| 中文字幕欧美日本乱码一线二线 | 日韩欧美一区二区三区在线| 99精品久久久久久| 亚洲成av人在线观看| 在线播放中文一区| 激情综合色综合久久| 91精品国产乱| 风流少妇一区二区| 日韩精品91亚洲二区在线观看| 在线播放国产精品二区一二区四区| 亚洲国产精品一区二区www在线| 精品夜夜嗨av一区二区三区| 国产亚洲成aⅴ人片在线观看| 欧美mv日韩mv亚洲| 欧美一级夜夜爽| 日韩一区二区精品葵司在线| 欧美丰满高潮xxxx喷水动漫| 欧美日韩精品系列| 欧美亚男人的天堂| 在线免费不卡电影| 欧美视频日韩视频在线观看| 欧美丝袜自拍制服另类| 欧美性生活久久| 精品视频在线看| 制服丝袜亚洲网站| 欧美一区二区视频在线观看2022 | 欧美成人精品二区三区99精品| 日韩一区二区三区视频| 日韩免费一区二区三区在线播放| 日韩欧美一级二级| 久久一留热品黄| 国产精品区一区二区三| 日韩一区有码在线| 亚洲尤物在线视频观看| 日韩精品五月天| 理论片日本一区| 国产乱码一区二区三区| 成人动漫中文字幕| 色综合久久综合中文综合网| 欧美三级欧美一级| 欧美成人a在线| 久久久www成人免费毛片麻豆| 国产欧美1区2区3区| 亚洲美女精品一区| 日本不卡一区二区| 国产一区二区三区综合| 99精品桃花视频在线观看| 在线视频一区二区三| 日韩一级片在线播放| 中文字幕国产一区二区| 亚洲综合激情另类小说区| 麻豆国产精品777777在线| 国产激情一区二区三区四区| 欧洲视频一区二区| 日韩精品中文字幕一区二区三区| 国产精品免费观看视频| 亚洲大片一区二区三区| 国产美女主播视频一区| 91激情在线视频| 精品久久久久久综合日本欧美| 中文字幕日韩av资源站| 三级一区在线视频先锋| 国产91精品免费| 日韩一区二区在线观看| 国产精品国产三级国产aⅴ无密码| 无码av免费一区二区三区试看 | 国产一区欧美二区| 一本一道久久a久久精品综合蜜臀| 欧美二区乱c少妇| 亚洲欧洲精品一区二区三区不卡| 日韩av在线免费观看不卡| 不卡的电影网站| 日韩一区二区在线看片| 亚洲美女区一区| 国产99久久久久久免费看农村| 欧美精三区欧美精三区| 亚洲日本一区二区| 国产精品123| 欧美变态口味重另类| 香蕉久久一区二区不卡无毒影院| 成人激情文学综合网| 日韩美女视频在线| 香蕉乱码成人久久天堂爱免费| 97国产一区二区| 国产三区在线成人av| 奇米精品一区二区三区在线观看一 | 精品av久久707| 五月婷婷综合激情| 日本高清不卡视频| 成人免费在线视频| 国产91富婆露脸刺激对白| 日韩精品中文字幕一区| 日韩中文欧美在线| 欧美私人免费视频| 亚洲一级在线观看| 91精彩视频在线观看| 亚洲日本va在线观看| 成人爽a毛片一区二区免费| 欧美精品一区二区不卡| 裸体一区二区三区| 91精品黄色片免费大全| 手机精品视频在线观看| 欧洲一区二区三区在线| 亚洲国产一区视频| 欧美自拍偷拍一区| 亚洲一二三四久久| 欧美日韩免费视频| 亚洲成人一区在线| 在线电影一区二区三区| 午夜精品成人在线| 欧美一区二区三区四区视频| 日韩成人午夜电影| 欧美一区在线视频| 麻豆91免费看| 国产亚洲精品久| 国产黄人亚洲片| 国产精品成人免费精品自在线观看 | 这里只有精品99re| 日韩电影在线免费看| 日韩欧美电影一二三| 国产精品一区二区久久精品爱涩| 久久蜜桃av一区精品变态类天堂| 国产91精品精华液一区二区三区 | 91精品国产91综合久久蜜臀| 全国精品久久少妇| 久久九九99视频| 成人app下载| 亚洲综合久久久| 91精品在线免费| 国内精品视频666| 国产精品三级在线观看| 91麻豆文化传媒在线观看| 亚洲妇熟xx妇色黄| 精品国产电影一区二区| 成人免费av资源| 亚洲国产视频直播| 日韩一区二区三区电影| 国产夫妻精品视频|