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

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

?? exptest.c

?? openssl包含TLS
?? C
字號:
/* crypto/bn/exptest.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.] */#include <stdio.h>#include <stdlib.h>#include <string.h>#include "../e_os.h"#include <openssl/bio.h>#include <openssl/bn.h>#include <openssl/rand.h>#include <openssl/err.h>#define NUM_BITS	(BN_BITS*2)static const char rnd_seed[] = "string to make the random number generator think it has entropy";int main(int argc, char *argv[])	{	BN_CTX *ctx;	BIO *out=NULL;	int i,ret;	unsigned char c;	BIGNUM *r_mont,*r_mont_const,*r_recp,*r_simple,*a,*b,*m;	RAND_seed(rnd_seed, sizeof rnd_seed); /* or BN_rand may fail, and we don't	                                       * even check its return value	                                       * (which we should) */	ERR_load_BN_strings();	ctx=BN_CTX_new();	if (ctx == NULL) EXIT(1);	r_mont=BN_new();	r_mont_const=BN_new();	r_recp=BN_new();	r_simple=BN_new();	a=BN_new();	b=BN_new();	m=BN_new();	if (	(r_mont == NULL) || (r_recp == NULL) ||		(a == NULL) || (b == NULL))		goto err;	out=BIO_new(BIO_s_file());	if (out == NULL) EXIT(1);	BIO_set_fp(out,stdout,BIO_NOCLOSE);	for (i=0; i<200; i++)		{		RAND_bytes(&c,1);		c=(c%BN_BITS)-BN_BITS2;		BN_rand(a,NUM_BITS+c,0,0);		RAND_bytes(&c,1);		c=(c%BN_BITS)-BN_BITS2;		BN_rand(b,NUM_BITS+c,0,0);		RAND_bytes(&c,1);		c=(c%BN_BITS)-BN_BITS2;		BN_rand(m,NUM_BITS+c,0,1);		BN_mod(a,a,m,ctx);		BN_mod(b,b,m,ctx);		ret=BN_mod_exp_mont(r_mont,a,b,m,ctx,NULL);		if (ret <= 0)			{			printf("BN_mod_exp_mont() problems\n");			ERR_print_errors(out);			EXIT(1);			}		ret=BN_mod_exp_recp(r_recp,a,b,m,ctx);		if (ret <= 0)			{			printf("BN_mod_exp_recp() problems\n");			ERR_print_errors(out);			EXIT(1);			}		ret=BN_mod_exp_simple(r_simple,a,b,m,ctx);		if (ret <= 0)			{			printf("BN_mod_exp_simple() problems\n");			ERR_print_errors(out);			EXIT(1);			}		ret=BN_mod_exp_mont_consttime(r_mont_const,a,b,m,ctx,NULL);		if (ret <= 0)			{			printf("BN_mod_exp_mont_consttime() problems\n");			ERR_print_errors(out);			EXIT(1);			}		if (BN_cmp(r_simple, r_mont) == 0		    && BN_cmp(r_simple,r_recp) == 0			&& BN_cmp(r_simple,r_mont_const) == 0)			{			printf(".");			fflush(stdout);			}		else		  	{			if (BN_cmp(r_simple,r_mont) != 0)				printf("\nsimple and mont results differ\n");			if (BN_cmp(r_simple,r_mont) != 0)				printf("\nsimple and mont const time results differ\n");			if (BN_cmp(r_simple,r_recp) != 0)				printf("\nsimple and recp results differ\n");			printf("a (%3d) = ",BN_num_bits(a));   BN_print(out,a);			printf("\nb (%3d) = ",BN_num_bits(b)); BN_print(out,b);			printf("\nm (%3d) = ",BN_num_bits(m)); BN_print(out,m);			printf("\nsimple   =");	BN_print(out,r_simple);			printf("\nrecp     =");	BN_print(out,r_recp);			printf("\nmont     ="); BN_print(out,r_mont);			printf("\nmont_ct  ="); BN_print(out,r_mont_const);			printf("\n");			EXIT(1);			}		}	BN_free(r_mont);	BN_free(r_mont_const);	BN_free(r_recp);	BN_free(r_simple);	BN_free(a);	BN_free(b);	BN_free(m);	BN_CTX_free(ctx);	ERR_remove_state(0);	CRYPTO_mem_leaks(out);	BIO_free(out);	printf(" done\n");	EXIT(0);err:	ERR_load_crypto_strings();	ERR_print_errors(out);	EXIT(1);	return(1);	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产伦一区二区三区观看方式 | 欧美视频在线一区二区三区| 黑人巨大精品欧美一区| 日韩精品福利网| 亚洲成人午夜影院| 日本v片在线高清不卡在线观看| 亚洲在线中文字幕| 亚洲国产精品久久久男人的天堂| 亚洲精品免费视频| 一区av在线播放| 爽好多水快深点欧美视频| 日韩不卡免费视频| 韩国精品主播一区二区在线观看 | 捆绑紧缚一区二区三区视频| 日韩二区三区四区| 久久疯狂做爰流白浆xx| 国产精品亚洲成人| 一本色道久久综合精品竹菊| 91国偷自产一区二区三区观看| 欧美影片第一页| 6080日韩午夜伦伦午夜伦| 日韩欧美在线不卡| 国产精品三级在线观看| 樱桃视频在线观看一区| 日韩av在线免费观看不卡| 激情五月激情综合网| 成人av在线一区二区| 欧美色图第一页| 日韩欧美激情在线| 国产精品进线69影院| 亚洲成人av免费| 国产精品一区二区果冻传媒| 91国偷自产一区二区使用方法| 欧美一区二区三区在线电影| 日本一区二区视频在线观看| 亚洲图片有声小说| 成人视屏免费看| 欧美女孩性生活视频| 欧美国产一区二区在线观看| 亚洲综合视频在线| 国产精品自拍网站| 欧美日韩美少妇| 中文字幕乱码日本亚洲一区二区 | 国产亚洲污的网站| 一区二区三区国产精品| 国产一区二区精品久久99| 91丨国产丨九色丨pron| 久久亚洲二区三区| 亚洲国产一区二区三区| 丁香激情综合五月| 日韩欧美美女一区二区三区| 国产精品久久免费看| 免费欧美日韩国产三级电影| 91丨porny丨最新| 欧美高清在线一区二区| 三级在线观看一区二区| 在线免费观看日本欧美| 国产精品乱码人人做人人爱| 精品亚洲国产成人av制服丝袜| 欧美三级资源在线| 日韩毛片精品高清免费| 国产成人无遮挡在线视频| 欧美一区二区三区婷婷月色 | 经典三级在线一区| 欧美精品久久久久久久多人混战| 国产精品国产三级国产普通话蜜臀| 麻豆91小视频| 欧美一级一区二区| 亚洲午夜久久久久久久久久久| 色综合天天天天做夜夜夜夜做| 欧美激情在线观看视频免费| 韩国精品久久久| 久久精品欧美一区二区三区不卡| 久久精品国产免费| 日韩一区二区影院| 蜜臀久久久久久久| 日韩午夜在线观看| 日韩经典中文字幕一区| 欧美高清www午色夜在线视频| 亚洲影院久久精品| 欧美少妇一区二区| 日本亚洲最大的色成网站www| 欧美日韩电影在线播放| 日本sm残虐另类| 日韩精品一区二区在线| 国产在线一区二区| 国产欧美综合色| 成人久久18免费网站麻豆| 亚洲精品高清在线| 欧美军同video69gay| 久久精品国产在热久久| 久久免费看少妇高潮| 成人网在线免费视频| 亚洲精品美国一| 欧美日韩免费不卡视频一区二区三区 | 亚洲激情六月丁香| 欧美性色黄大片手机版| 免费一区二区视频| 国产欧美一区二区在线观看| av在线播放不卡| 亚洲一区二区三区三| 欧美一区2区视频在线观看| 国产精品综合av一区二区国产馆| 国产精品国产三级国产aⅴ无密码| 日本韩国精品在线| 麻豆久久久久久| 国产精品国产三级国产普通话99 | 色婷婷av一区二区三区软件 | 亚洲老妇xxxxxx| 欧美精品自拍偷拍| 国产传媒一区在线| 丝袜脚交一区二区| 欧美激情一区二区三区蜜桃视频| 成人性色生活片| 午夜伦理一区二区| 国产日韩欧美综合一区| 欧美日韩电影在线| 成人app软件下载大全免费| 五月婷婷另类国产| 国产精品美女一区二区三区| 欧美一区二区三区在线| 99久久综合狠狠综合久久| 裸体在线国模精品偷拍| 亚洲精品久久7777| 久久久久亚洲综合| 制服丝袜中文字幕一区| va亚洲va日韩不卡在线观看| 美女在线视频一区| 亚洲电影你懂得| 亚洲手机成人高清视频| 精品久久国产字幕高潮| 在线播放视频一区| 色激情天天射综合网| 成人中文字幕合集| 另类小说视频一区二区| 午夜伊人狠狠久久| 伊人婷婷欧美激情| 亚洲视频在线观看三级| 久久久久久免费网| 欧美xxx久久| 在线91免费看| 欧美色网站导航| 91理论电影在线观看| 国产精品香蕉一区二区三区| 美女脱光内衣内裤视频久久影院| 亚洲国产视频在线| 午夜日韩在线观看| 亚洲国产人成综合网站| 一区二区三区.www| 亚洲精品日日夜夜| 亚洲色图19p| 亚洲柠檬福利资源导航| 1区2区3区欧美| 国产精品每日更新| 亚洲婷婷综合色高清在线| 亚洲欧美一区二区在线观看| 国产精品日韩成人| 亚洲欧美另类久久久精品2019| 欧美激情一区二区三区蜜桃视频 | 97久久精品人人做人人爽| 国产成人免费av在线| 国产一区二区三区观看| 风间由美一区二区三区在线观看 | 国产精品免费久久久久| 中文字幕精品—区二区四季| 国产日韩欧美精品一区| 国产精品久久看| 亚洲精选视频免费看| 一区二区三区欧美久久| 亚洲午夜日本在线观看| 日韩在线观看一区二区| 麻豆91在线播放免费| 国产精品99久久不卡二区| 99久久国产综合色|国产精品| 一本大道av一区二区在线播放| 91久久国产最好的精华液| 91麻豆精品91久久久久久清纯 | 亚洲一区二区三区免费视频| 日韩国产在线观看| 国产一区二区三区综合| 成人午夜短视频| 欧美嫩在线观看| 国产欧美一区二区精品性色超碰| 中文字幕在线一区免费| 日韩精品亚洲专区| 国产在线国偷精品产拍免费yy| av中文字幕一区| 欧美日韩一区三区四区| 久久精品亚洲一区二区三区浴池| 亚洲精品第一国产综合野| 国内精品第一页| 91小宝寻花一区二区三区| 91麻豆精品国产自产在线观看一区| 国产欧美日韩麻豆91| 亚洲一区二区五区| 六月婷婷色综合| 色成人在线视频| 日本一区二区三级电影在线观看| 亚洲夂夂婷婷色拍ww47| 成人免费视频caoporn|