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

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

?? rc4speed.c

?? openssl包含TLS
?? C
字號:
/* crypto/rc4/rc4speed.c *//* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. *  * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to.  The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code.  The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). *  * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. *  * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *    "This product includes cryptographic software written by *     Eric Young (eay@cryptsoft.com)" *    The word 'cryptographic' can be left out if the rouines from the library *    being used are not cryptographic related :-). * 4. If you include any Windows specific code (or a derivative thereof) from  *    the apps directory (application code) you must include an acknowledgement: *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" *  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed.  i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] *//* 11-Sep-92 Andrew Daviel   Support for Silicon Graphics IRIX added *//* 06-Apr-92 Luke Brennan    Support for VMS and add extra signal calls */#if !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) && !defined(OPENSSL_SYS_MACOSX)#define TIMES#endif#include <stdio.h>#include <openssl/e_os2.h>#include OPENSSL_UNISTD_IOOPENSSL_DECLARE_EXIT#include <signal.h>#ifndef _IRIX#include <time.h>#endif#ifdef TIMES#include <sys/types.h>#include <sys/times.h>#endif/* Depending on the VMS version, the tms structure is perhaps defined.   The __TMS macro will show if it was.  If it wasn't defined, we should   undefine TIMES, since that tells the rest of the program how things   should be handled.				-- Richard Levitte */#if defined(OPENSSL_SYS_VMS_DECC) && !defined(__TMS)#undef TIMES#endif#ifndef TIMES#include <sys/timeb.h>#endif#if defined(sun) || defined(__ultrix)#define _POSIX_SOURCE#include <limits.h>#include <sys/param.h>#endif#include <openssl/rc4.h>/* The following if from times(3) man page.  It may need to be changed */#ifndef HZ#ifndef CLK_TCK#define HZ	100.0#else /* CLK_TCK */#define HZ ((double)CLK_TCK)#endif#endif#define BUFSIZE	((long)1024)long run=0;double Time_F(int s);#ifdef SIGALRM#if defined(__STDC__) || defined(sgi) || defined(_AIX)#define SIGRETTYPE void#else#define SIGRETTYPE int#endifSIGRETTYPE sig_done(int sig);SIGRETTYPE sig_done(int sig)	{	signal(SIGALRM,sig_done);	run=0;#ifdef LINT	sig=sig;#endif	}#endif#define START	0#define STOP	1double Time_F(int s)	{	double ret;#ifdef TIMES	static struct tms tstart,tend;	if (s == START)		{		times(&tstart);		return(0);		}	else		{		times(&tend);		ret=((double)(tend.tms_utime-tstart.tms_utime))/HZ;		return((ret == 0.0)?1e-6:ret);		}#else /* !times() */	static struct timeb tstart,tend;	long i;	if (s == START)		{		ftime(&tstart);		return(0);		}	else		{		ftime(&tend);		i=(long)tend.millitm-(long)tstart.millitm;		ret=((double)(tend.time-tstart.time))+((double)i)/1e3;		return((ret == 0.0)?1e-6:ret);		}#endif	}int main(int argc, char **argv)	{	long count;	static unsigned char buf[BUFSIZE];	static unsigned char key[] ={			0x12,0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,			0xfe,0xdc,0xba,0x98,0x76,0x54,0x32,0x10,			};	RC4_KEY sch;	double a,b,c,d;#ifndef SIGALRM	long ca,cb,cc;#endif#ifndef TIMES	printf("To get the most accurate results, try to run this\n");	printf("program when this computer is idle.\n");#endif#ifndef SIGALRM	printf("First we calculate the approximate speed ...\n");	RC4_set_key(&sch,16,key);	count=10;	do	{		long i;		unsigned long data[2];		count*=2;		Time_F(START);		for (i=count; i; i--)			RC4(&sch,8,buf,buf);		d=Time_F(STOP);		} while (d < 3.0);	ca=count/512;	cc=count*8/BUFSIZE+1;	printf("Doing RC4_set_key %ld times\n",ca);#define COND(d)	(count != (d))#define COUNT(d) (d)#else#define COND(c)	(run)#define COUNT(d) (count)	signal(SIGALRM,sig_done);	printf("Doing RC4_set_key for 10 seconds\n");	alarm(10);#endif	Time_F(START);	for (count=0,run=1; COND(ca); count+=4)		{		RC4_set_key(&sch,16,key);		RC4_set_key(&sch,16,key);		RC4_set_key(&sch,16,key);		RC4_set_key(&sch,16,key);		}	d=Time_F(STOP);	printf("%ld RC4_set_key's in %.2f seconds\n",count,d);	a=((double)COUNT(ca))/d;#ifdef SIGALRM	printf("Doing RC4 on %ld byte blocks for 10 seconds\n",BUFSIZE);	alarm(10);#else	printf("Doing RC4 %ld times on %ld byte blocks\n",cc,BUFSIZE);#endif	Time_F(START);	for (count=0,run=1; COND(cc); count++)		RC4(&sch,BUFSIZE,buf,buf);	d=Time_F(STOP);	printf("%ld RC4's of %ld byte blocks in %.2f second\n",		count,BUFSIZE,d);	c=((double)COUNT(cc)*BUFSIZE)/d;	printf("RC4 set_key per sec = %12.2f (%9.3fuS)\n",a,1.0e6/a);	printf("RC4   bytes per sec = %12.2f (%9.3fuS)\n",c,8.0e6/c);	exit(0);#if defined(LINT) || defined(OPENSSL_SYS_MSDOS)	return(0);#endif	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩另类一区| 欧美精品一区二区三| 欧美日韩国产美| 91污片在线观看| 不卡在线观看av| 成人福利视频在线看| 成人av资源下载| 国产91高潮流白浆在线麻豆| 国产成人在线看| 波多野结衣中文字幕一区| 国产成人丝袜美腿| 成人黄色777网| 色呦呦日韩精品| 欧美日韩免费一区二区三区| 欧美日韩国产首页| 日韩欧美成人激情| 久久久久久久网| 亚洲欧美在线aaa| 亚洲成人综合在线| 精一区二区三区| 99久久精品国产一区二区三区| 一本久久a久久精品亚洲| 欧美色区777第一页| 欧美大胆一级视频| 国产精品超碰97尤物18| 亚洲图片欧美一区| 麻豆视频观看网址久久| 成人网页在线观看| 欧美三级三级三级| 国产亚洲一二三区| 亚洲一区二区三区爽爽爽爽爽 | 国产精品一区二区久激情瑜伽| 国产精品99久久久久久有的能看| 99久久精品国产一区二区三区| 欧美日韩精品欧美日韩精品 | 自拍视频在线观看一区二区| 亚洲综合av网| 国产精品一区在线观看你懂的| 99精品视频中文字幕| 欧美日韩成人在线一区| 久久这里只有精品首页| 伊人开心综合网| 国产综合色产在线精品| 欧美亚洲免费在线一区| 国产亚洲女人久久久久毛片| 亚洲成a人片在线不卡一二三区| 国产剧情av麻豆香蕉精品| 欧美午夜不卡在线观看免费| 国产亚洲制服色| 日本视频免费一区| 色伊人久久综合中文字幕| 欧美精品一区二区三区蜜桃| 亚洲综合av网| 色域天天综合网| 欧美激情一二三区| 国内精品国产三级国产a久久| 欧美日韩国产首页在线观看| 自拍偷拍国产精品| 成人av免费观看| 日韩电影在线看| 在线精品亚洲一区二区不卡| 国产精品少妇自拍| 精品无人码麻豆乱码1区2区 | 免费成人在线视频观看| 在线观看一区日韩| 亚洲日本韩国一区| 91玉足脚交白嫩脚丫在线播放| 久久久久久**毛片大全| 国产在线日韩欧美| 精品久久久久久久久久久院品网| 日韩精品电影一区亚洲| 欧美午夜不卡视频| 亚洲成人自拍网| 欧美日韩精品三区| 天天色天天操综合| 欧美精品自拍偷拍动漫精品| 香港成人在线视频| 制服丝袜中文字幕亚洲| 男女性色大片免费观看一区二区| 欧美精选在线播放| 另类的小说在线视频另类成人小视频在线| 欧美伊人久久久久久午夜久久久久| 国产精品日日摸夜夜摸av| 97se狠狠狠综合亚洲狠狠| 亚洲欧美国产77777| 欧美亚洲图片小说| 午夜一区二区三区视频| 欧美一级日韩不卡播放免费| 国产综合成人久久大片91| 婷婷久久综合九色国产成人| 欧美午夜在线一二页| 亚洲动漫第一页| 欧美成人乱码一区二区三区| 国产麻豆视频一区二区| 中文字幕在线观看不卡视频| 欧美午夜影院一区| 六月婷婷色综合| 国产精品国产三级国产aⅴ无密码| 波多野结衣中文字幕一区二区三区| 一区二区三区四区不卡视频| 欧美美女一区二区| 国产伦精品一区二区三区免费迷| 国产精品日韩成人| 欧美午夜不卡在线观看免费| 久草在线在线精品观看| 亚洲色图第一区| 日韩欧美一二区| 99精品黄色片免费大全| 污片在线观看一区二区| 国产日韩精品视频一区| 在线观看日韩国产| 国产制服丝袜一区| 亚洲一区二区在线视频| 久久久久久一级片| 欧美日韩国产综合一区二区三区 | 欧美日韩免费电影| 国产一区二区三区观看| 亚洲一区电影777| 日韩—二三区免费观看av| 久久综合久色欧美综合狠狠| 色天天综合久久久久综合片| 精品一区二区免费看| 亚洲欧美国产高清| 欧美激情一区二区三区在线| 欧美日韩国产系列| 色综合久久88色综合天天| 国产专区综合网| 蜜臀av性久久久久av蜜臀妖精| 国产精品久久久一本精品| 久久夜色精品国产噜噜av| 欧美日韩中文精品| 91蜜桃婷婷狠狠久久综合9色| 另类小说色综合网站| 五月综合激情网| 亚洲视频免费在线观看| 久久精品亚洲精品国产欧美kt∨| 欧美日韩高清在线播放| 91极品美女在线| 成人激情免费视频| 国产jizzjizz一区二区| 久久99精品国产91久久来源| 午夜精品aaa| 亚洲综合免费观看高清完整版| 国产精品国产三级国产有无不卡 | 综合久久国产九一剧情麻豆| 久久网站最新地址| 日韩三级高清在线| 制服视频三区第一页精品| 欧美日韩一区精品| 欧美性大战久久久久久久蜜臀| 一本色道久久综合狠狠躁的推荐| 成人av片在线观看| 99久久综合狠狠综合久久| 9l国产精品久久久久麻豆| 成人精品视频一区二区三区尤物| 国产精品一区不卡| jiyouzz国产精品久久| 成人av免费观看| 日本丶国产丶欧美色综合| 在线观看一区不卡| 在线播放中文一区| 日韩手机在线导航| 国产亚洲精品中文字幕| 久久美女艺术照精彩视频福利播放| 久久久美女毛片| 中文字幕一区二区日韩精品绯色| 亚洲视频精选在线| 亚洲五月六月丁香激情| 丝瓜av网站精品一区二区| 麻豆成人av在线| 粉嫩av一区二区三区粉嫩| 91免费视频网址| 911精品国产一区二区在线| 精品1区2区在线观看| 中文欧美字幕免费| 亚洲午夜免费福利视频| 日本成人中文字幕在线视频| 国产在线精品国自产拍免费| 成人一区二区三区中文字幕| 色婷婷精品大在线视频| 91精品国产综合久久久蜜臀图片| 欧美xingq一区二区| 国产精品久久久久影院色老大| 亚洲高清视频在线| 国内精品嫩模私拍在线| 99视频一区二区三区| 欧美精品一二三| 国产欧美日韩在线看| 亚洲成人综合网站| 国产精品亚洲一区二区三区妖精| 色老汉av一区二区三区| 日韩精品一区二区三区老鸭窝| 国产精品九色蝌蚪自拍| 午夜在线成人av| 99在线精品一区二区三区| 日韩精品一区二区三区视频播放| 国产精品白丝在线| 精品一二三四在线| 9191久久久久久久久久久| 中文字幕欧美一|