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

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

?? bn_asm.c

?? OpenSSL 0.9.8k 最新版OpenSSL
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* crypto/bn/bn_asm.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.] */#ifndef BN_DEBUG# undef NDEBUG /* avoid conflicting definitions */# define NDEBUG#endif#include <stdio.h>#include <assert.h>#include "cryptlib.h"#include "bn_lcl.h"#if defined(BN_LLONG) || defined(BN_UMULT_HIGH)BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)	{	BN_ULONG c1=0;	assert(num >= 0);	if (num <= 0) return(c1);	while (num&~3)		{		mul_add(rp[0],ap[0],w,c1);		mul_add(rp[1],ap[1],w,c1);		mul_add(rp[2],ap[2],w,c1);		mul_add(rp[3],ap[3],w,c1);		ap+=4; rp+=4; num-=4;		}	if (num)		{		mul_add(rp[0],ap[0],w,c1); if (--num==0) return c1;		mul_add(rp[1],ap[1],w,c1); if (--num==0) return c1;		mul_add(rp[2],ap[2],w,c1); return c1;		}		return(c1);	} BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)	{	BN_ULONG c1=0;	assert(num >= 0);	if (num <= 0) return(c1);	while (num&~3)		{		mul(rp[0],ap[0],w,c1);		mul(rp[1],ap[1],w,c1);		mul(rp[2],ap[2],w,c1);		mul(rp[3],ap[3],w,c1);		ap+=4; rp+=4; num-=4;		}	if (num)		{		mul(rp[0],ap[0],w,c1); if (--num == 0) return c1;		mul(rp[1],ap[1],w,c1); if (--num == 0) return c1;		mul(rp[2],ap[2],w,c1);		}	return(c1);	} void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)        {	assert(n >= 0);	if (n <= 0) return;	while (n&~3)		{		sqr(r[0],r[1],a[0]);		sqr(r[2],r[3],a[1]);		sqr(r[4],r[5],a[2]);		sqr(r[6],r[7],a[3]);		a+=4; r+=8; n-=4;		}	if (n)		{		sqr(r[0],r[1],a[0]); if (--n == 0) return;		sqr(r[2],r[3],a[1]); if (--n == 0) return;		sqr(r[4],r[5],a[2]);		}	}#else /* !(defined(BN_LLONG) || defined(BN_UMULT_HIGH)) */BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)	{	BN_ULONG c=0;	BN_ULONG bl,bh;	assert(num >= 0);	if (num <= 0) return((BN_ULONG)0);	bl=LBITS(w);	bh=HBITS(w);	for (;;)		{		mul_add(rp[0],ap[0],bl,bh,c);		if (--num == 0) break;		mul_add(rp[1],ap[1],bl,bh,c);		if (--num == 0) break;		mul_add(rp[2],ap[2],bl,bh,c);		if (--num == 0) break;		mul_add(rp[3],ap[3],bl,bh,c);		if (--num == 0) break;		ap+=4;		rp+=4;		}	return(c);	} BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)	{	BN_ULONG carry=0;	BN_ULONG bl,bh;	assert(num >= 0);	if (num <= 0) return((BN_ULONG)0);	bl=LBITS(w);	bh=HBITS(w);	for (;;)		{		mul(rp[0],ap[0],bl,bh,carry);		if (--num == 0) break;		mul(rp[1],ap[1],bl,bh,carry);		if (--num == 0) break;		mul(rp[2],ap[2],bl,bh,carry);		if (--num == 0) break;		mul(rp[3],ap[3],bl,bh,carry);		if (--num == 0) break;		ap+=4;		rp+=4;		}	return(carry);	} void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)        {	assert(n >= 0);	if (n <= 0) return;	for (;;)		{		sqr64(r[0],r[1],a[0]);		if (--n == 0) break;		sqr64(r[2],r[3],a[1]);		if (--n == 0) break;		sqr64(r[4],r[5],a[2]);		if (--n == 0) break;		sqr64(r[6],r[7],a[3]);		if (--n == 0) break;		a+=4;		r+=8;		}	}#endif /* !(defined(BN_LLONG) || defined(BN_UMULT_HIGH)) */#if defined(BN_LLONG) && defined(BN_DIV2W)BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)	{	return((BN_ULONG)(((((BN_ULLONG)h)<<BN_BITS2)|l)/(BN_ULLONG)d));	}#else/* Divide h,l by d and return the result. *//* I need to test this some more :-( */BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)	{	BN_ULONG dh,dl,q,ret=0,th,tl,t;	int i,count=2;	if (d == 0) return(BN_MASK2);	i=BN_num_bits_word(d);	assert((i == BN_BITS2) || (h <= (BN_ULONG)1<<i));	i=BN_BITS2-i;	if (h >= d) h-=d;	if (i)		{		d<<=i;		h=(h<<i)|(l>>(BN_BITS2-i));		l<<=i;		}	dh=(d&BN_MASK2h)>>BN_BITS4;	dl=(d&BN_MASK2l);	for (;;)		{		if ((h>>BN_BITS4) == dh)			q=BN_MASK2l;		else			q=h/dh;		th=q*dh;		tl=dl*q;		for (;;)			{			t=h-th;			if ((t&BN_MASK2h) ||				((tl) <= (					(t<<BN_BITS4)|					((l&BN_MASK2h)>>BN_BITS4))))				break;			q--;			th-=dh;			tl-=dl;			}		t=(tl>>BN_BITS4);		tl=(tl<<BN_BITS4)&BN_MASK2h;		th+=t;		if (l < tl) th++;		l-=tl;		if (h < th)			{			h+=d;			q--;			}		h-=th;		if (--count == 0) break;		ret=q<<BN_BITS4;		h=((h<<BN_BITS4)|(l>>BN_BITS4))&BN_MASK2;		l=(l&BN_MASK2l)<<BN_BITS4;		}	ret|=q;	return(ret);	}#endif /* !defined(BN_LLONG) && defined(BN_DIV2W) */#ifdef BN_LLONGBN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)        {	BN_ULLONG ll=0;	assert(n >= 0);	if (n <= 0) return((BN_ULONG)0);	for (;;)		{		ll+=(BN_ULLONG)a[0]+b[0];		r[0]=(BN_ULONG)ll&BN_MASK2;		ll>>=BN_BITS2;		if (--n <= 0) break;		ll+=(BN_ULLONG)a[1]+b[1];		r[1]=(BN_ULONG)ll&BN_MASK2;		ll>>=BN_BITS2;		if (--n <= 0) break;		ll+=(BN_ULLONG)a[2]+b[2];		r[2]=(BN_ULONG)ll&BN_MASK2;		ll>>=BN_BITS2;		if (--n <= 0) break;		ll+=(BN_ULLONG)a[3]+b[3];		r[3]=(BN_ULONG)ll&BN_MASK2;		ll>>=BN_BITS2;		if (--n <= 0) break;		a+=4;		b+=4;		r+=4;		}	return((BN_ULONG)ll);	}#else /* !BN_LLONG */BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)        {	BN_ULONG c,l,t;	assert(n >= 0);	if (n <= 0) return((BN_ULONG)0);	c=0;	for (;;)		{		t=a[0];		t=(t+c)&BN_MASK2;		c=(t < c);		l=(t+b[0])&BN_MASK2;		c+=(l < t);		r[0]=l;		if (--n <= 0) break;		t=a[1];		t=(t+c)&BN_MASK2;		c=(t < c);		l=(t+b[1])&BN_MASK2;		c+=(l < t);		r[1]=l;		if (--n <= 0) break;		t=a[2];		t=(t+c)&BN_MASK2;		c=(t < c);		l=(t+b[2])&BN_MASK2;		c+=(l < t);		r[2]=l;		if (--n <= 0) break;		t=a[3];		t=(t+c)&BN_MASK2;		c=(t < c);		l=(t+b[3])&BN_MASK2;		c+=(l < t);		r[3]=l;		if (--n <= 0) break;		a+=4;		b+=4;		r+=4;		}	return((BN_ULONG)c);	}#endif /* !BN_LLONG */BN_ULONG bn_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)        {	BN_ULONG t1,t2;	int c=0;	assert(n >= 0);	if (n <= 0) return((BN_ULONG)0);	for (;;)		{		t1=a[0]; t2=b[0];		r[0]=(t1-t2-c)&BN_MASK2;		if (t1 != t2) c=(t1 < t2);		if (--n <= 0) break;		t1=a[1]; t2=b[1];		r[1]=(t1-t2-c)&BN_MASK2;		if (t1 != t2) c=(t1 < t2);		if (--n <= 0) break;		t1=a[2]; t2=b[2];		r[2]=(t1-t2-c)&BN_MASK2;		if (t1 != t2) c=(t1 < t2);		if (--n <= 0) break;		t1=a[3]; t2=b[3];		r[3]=(t1-t2-c)&BN_MASK2;		if (t1 != t2) c=(t1 < t2);		if (--n <= 0) break;		a+=4;		b+=4;		r+=4;		}	return(c);	}#ifdef BN_MUL_COMBA#undef bn_mul_comba8#undef bn_mul_comba4#undef bn_sqr_comba8#undef bn_sqr_comba4/* mul_add_c(a,b,c0,c1,c2)  -- c+=a*b for three word number c=(c2,c1,c0) *//* mul_add_c2(a,b,c0,c1,c2) -- c+=2*a*b for three word number c=(c2,c1,c0) *//* sqr_add_c(a,i,c0,c1,c2)  -- c+=a[i]^2 for three word number c=(c2,c1,c0) */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲线精品一区二区三区八戒| 不卡视频免费播放| 26uuu国产电影一区二区| 韩国欧美国产一区| 国产精品福利影院| 欧洲一区在线电影| 热久久久久久久| 国产亚洲欧洲997久久综合 | 国产大陆亚洲精品国产| 中文字幕va一区二区三区| 日本韩国一区二区| 日韩福利电影在线观看| 久久久久久日产精品| 91麻豆精品在线观看| 日韩精品乱码免费| 久久久久久久国产精品影院| 91视频观看免费| 日本欧美久久久久免费播放网| 久久久久久久久久久久久夜| 99精品国产视频| 日日夜夜免费精品视频| 国产欧美精品日韩区二区麻豆天美| 91在线小视频| 日本网站在线观看一区二区三区| 久久久www免费人成精品| 91丨porny丨最新| 秋霞电影网一区二区| 国产欧美日韩综合精品一区二区 | 欧美性做爰猛烈叫床潮| 精品一区二区在线观看| 亚洲欧美日韩成人高清在线一区| 欧美一区二区三区免费观看视频 | 日韩欧美国产一区二区三区| 粉嫩欧美一区二区三区高清影视| 亚洲成人动漫精品| 久久精品人人做| 欧美色综合天天久久综合精品| 精品制服美女久久| 亚洲精品免费电影| 久久久久久久综合色一本| 欧美色综合影院| 丁香网亚洲国际| 奇米888四色在线精品| 中文字幕在线不卡国产视频| 91精品蜜臀在线一区尤物| 成人黄色777网| 久久爱www久久做| 亚洲一区二区三区四区五区中文 | 成人h动漫精品一区二区| 日韩—二三区免费观看av| 国产精品久久久久久久蜜臀 | 国产精品久久久久影院老司| 欧美一区二区三区免费大片 | 日韩精品1区2区3区| 国产精品久久影院| 日韩精品中文字幕在线一区| 色94色欧美sute亚洲线路一久 | 成人午夜激情影院| 秋霞影院一区二区| 一区二区三区四区中文字幕| 国产日韩欧美精品一区| 日韩欧美国产系列| 欧美性猛片aaaaaaa做受| 成人国产亚洲欧美成人综合网| 久久国产生活片100| 亚洲国产欧美另类丝袜| 中文字幕日韩一区| 久久精品亚洲一区二区三区浴池| 717成人午夜免费福利电影| 色播五月激情综合网| 国产999精品久久久久久| 久久成人久久鬼色| 日韩电影一二三区| 亚洲高清免费一级二级三级| 亚洲男人的天堂av| 国产精品美女一区二区在线观看| 精品国产91乱码一区二区三区 | 中文欧美字幕免费| 久久久久久久久久久久久久久99 | **欧美大码日韩| 国产三级三级三级精品8ⅰ区| 日韩区在线观看| 欧美日产在线观看| 在线观看视频一区二区欧美日韩 | 不卡的av中国片| 国产成人精品免费一区二区| 极品美女销魂一区二区三区| 免费观看久久久4p| 日本不卡在线视频| 日本三级韩国三级欧美三级| 亚洲成人1区2区| 亚洲bt欧美bt精品| 亚洲高清三级视频| 午夜视频一区二区| 丝袜a∨在线一区二区三区不卡| 亚洲国产成人tv| 香蕉av福利精品导航| 午夜欧美大尺度福利影院在线看 | 亚洲与欧洲av电影| 亚洲一级二级三级在线免费观看| 亚洲欧美另类图片小说| 国产精品白丝在线| 国产精品久久久久久久久久久免费看| 国产亚洲精久久久久久| 久久精品一区二区三区不卡| 久久久99精品免费观看不卡| 国产日韩三级在线| 国产精品乱码一区二区三区软件| 国产精品乱码一区二区三区软件 | 亚洲无人区一区| 午夜欧美大尺度福利影院在线看| 日韩中文字幕麻豆| 日韩av一级电影| 精品一区二区三区免费毛片爱| 久久精品理论片| 国内成人免费视频| 成人免费观看av| 91免费看`日韩一区二区| 91理论电影在线观看| 欧美午夜一区二区| 制服丝袜亚洲精品中文字幕| 日韩欧美高清一区| 久久久高清一区二区三区| 中文字幕高清不卡| 亚洲视频免费在线| 婷婷中文字幕一区三区| 久久97超碰色| 成人小视频免费在线观看| 91麻豆自制传媒国产之光| 欧美在线小视频| 666欧美在线视频| 久久蜜桃av一区精品变态类天堂 | 色噜噜夜夜夜综合网| 欧美喷水一区二区| 日韩欧美国产综合一区| 日本一二三不卡| 亚洲夂夂婷婷色拍ww47| 蜜臀av性久久久久av蜜臀妖精| 国产一区二区91| 91一区二区在线观看| 欧美精品日日鲁夜夜添| 精品成人私密视频| 国产精品区一区二区三| 夜夜精品浪潮av一区二区三区| 日韩二区三区四区| 国产99久久久久| 欧美午夜电影网| 日韩欧美另类在线| 国产精品不卡在线观看| 午夜精品久久久久久久蜜桃app| 国产综合色视频| 色一情一伦一子一伦一区| 欧美一区二区三区四区高清 | 亚洲图片激情小说| 性久久久久久久久久久久| 国产美女在线观看一区| 色综合久久中文字幕综合网| 欧美一区二区三区视频免费| 国产精品婷婷午夜在线观看| 亚洲18色成人| 国产成人av一区| 欧美日韩情趣电影| 亚洲国产高清不卡| 首页国产欧美日韩丝袜| 成人黄色电影在线 | 中文字幕在线观看不卡视频| 午夜在线成人av| 成人性生交大片| 欧美一级视频精品观看| 亚洲欧美日韩在线不卡| 国产在线精品一区二区三区不卡| 在线视频亚洲一区| 久久久久高清精品| 日日摸夜夜添夜夜添精品视频| 成人午夜电影久久影院| 91精品国产综合久久精品性色| 国产精品福利电影一区二区三区四区| 日日摸夜夜添夜夜添精品视频 | 亚洲免费观看高清在线观看| 美女一区二区久久| 日本精品免费观看高清观看| 精品国产精品网麻豆系列| 亚洲成人激情av| 91视频一区二区三区| 精品国产区一区| 香蕉成人伊视频在线观看| 波多野结衣中文字幕一区二区三区| 欧美大尺度电影在线| 亚洲最大色网站| 成人涩涩免费视频| 精品国产乱码久久久久久蜜臀| 无吗不卡中文字幕| 色老综合老女人久久久| 中国av一区二区三区| 激情另类小说区图片区视频区| 欧美日韩一区视频| 一区二区在线看| 97久久人人超碰| 国产午夜三级一区二区三| 久久爱www久久做|