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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? bn_gcd.c

?? LINUX AU12XX BOOTLADER
?? C
字號(hào):
/* crypto/bn/bn_gcd.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 "cryptlib.h"#include "bn_lcl.h"#include "workaround.h"static BIGNUM *euclid(BIGNUM * a, BIGNUM * b);int BN_gcd(BIGNUM * r, BIGNUM * in_a, BIGNUM * in_b, BN_CTX * ctx){    BIGNUM *a, *b, *t;    int ret = 0;    bn_check_top(in_a);    bn_check_top(in_b);    BN_CTX_start(ctx);    a = BN_CTX_get(ctx);    b = BN_CTX_get(ctx);    if (a == NULL || b == NULL)	goto err;    if (BN_copy(a, in_a) == NULL)	goto err;    if (BN_copy(b, in_b) == NULL)	goto err;    if (BN_cmp(a, b) < 0) {	t = a;	a = b;	b = t;    }    t = euclid(a, b);    if (t == NULL)	goto err;    if (BN_copy(r, t) == NULL)	goto err;    ret = 1;  err:    BN_CTX_end(ctx);    return (ret);}static BIGNUM *euclid(BIGNUM * a, BIGNUM * b){    BIGNUM *t;    int shifts = 0;    bn_check_top(a);    bn_check_top(b);    for (;;) {	if (BN_is_zero(b))	    break;	if (BN_is_odd(a)) {	    if (BN_is_odd(b)) {		if (!BN_sub(a, a, b))		    goto err;		if (!BN_rshift1(a, a))		    goto err;		if (BN_cmp(a, b) < 0) {		    t = a;		    a = b;		    b = t;		}	    } else {		/* a odd - b even */		if (!BN_rshift1(b, b))		    goto err;		if (BN_cmp(a, b) < 0) {		    t = a;		    a = b;		    b = t;		}	    }	} else {		/* a is even */	    if (BN_is_odd(b)) {		if (!BN_rshift1(a, a))		    goto err;		if (BN_cmp(a, b) < 0) {		    t = a;		    a = b;		    b = t;		}	    } else {		/* a even - b even */		if (!BN_rshift1(a, a))		    goto err;		if (!BN_rshift1(b, b))		    goto err;		shifts++;	    }	}    }    if (shifts) {	if (!BN_lshift(a, a, shifts))	    goto err;    }    return (a);  err:    return (NULL);}/* solves ax == 1 (mod n) */BIGNUM *BN_mod_inverse(BIGNUM * in, BIGNUM * a, const BIGNUM * n,		       BN_CTX * ctx){    BIGNUM *A, *B, *X, *Y, *M, *D, *R = NULL;    BIGNUM *T, *ret = NULL;    int sign;    bn_check_top(a);    bn_check_top(n);    BN_CTX_start(ctx);    A = BN_CTX_get(ctx);    B = BN_CTX_get(ctx);    X = BN_CTX_get(ctx);    D = BN_CTX_get(ctx);    M = BN_CTX_get(ctx);    Y = BN_CTX_get(ctx);    if (Y == NULL)	goto err;    if (in == NULL)	R = BN_new();    else	R = in;    if (R == NULL)	goto err;    if (!BN_zero(X))	goto err;    if (!BN_one(Y))	goto err;    if (BN_copy(A, a) == NULL)	goto err;    if (BN_copy(B, n) == NULL)	goto err;    sign = 1;    while (!BN_is_zero(B)) {	if (!BN_div(D, M, A, B, ctx))	    goto err;	T = A;	A = B;	B = M;	/* T has a struct, M does not */	if (!BN_mul(T, D, X, ctx))	    goto err;	if (!BN_add(T, T, Y))	    goto err;	M = Y;	Y = X;	X = T;	sign = -sign;    }    if (sign < 0) {	if (!BN_sub(Y, n, Y))	    goto err;    }    if (BN_is_one(A)) {	if (!BN_mod(R, Y, n, ctx))	    goto err;    } else {	BNerr(BN_F_BN_MOD_INVERSE, BN_R_NO_INVERSE);	goto err;    }    ret = R;  err:    if ((ret == NULL) && (in == NULL))	BN_free(R);    BN_CTX_end(ctx);    return (ret);}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频你懂的| 美女看a上一区| 午夜欧美电影在线观看| 免费久久精品视频| 91在线码无精品| 欧美大片一区二区三区| 亚洲欧洲日韩av| 久久se精品一区二区| 色琪琪一区二区三区亚洲区| 精品人在线二区三区| 亚洲香蕉伊在人在线观| 午夜视频在线观看一区| 精品成人一区二区三区四区| 成人免费一区二区三区视频| 日韩av中文字幕一区二区| 成人精品视频网站| 欧美精品一区二区三区在线 | 国产精品丝袜一区| 激情六月婷婷综合| 欧美一区国产二区| 五月婷婷综合网| 欧美亚男人的天堂| 亚洲免费av高清| 成人精品视频一区| 国产精品久久久久7777按摩| 国产一区三区三区| 欧美成人三级在线| 免费欧美日韩国产三级电影| 欧美猛男超大videosgay| 亚洲情趣在线观看| 欧美午夜精品一区二区三区| 国产一区二区三区香蕉| 777欧美精品| 午夜精品一区在线观看| 欧美色综合久久| 一区二区三区产品免费精品久久75| 成人av网站在线观看免费| 欧美韩国日本综合| 丰满亚洲少妇av| 国产精品高潮呻吟| 91网站黄www| 亚洲制服丝袜在线| 欧美色爱综合网| 日韩精品亚洲一区二区三区免费| 欧美日本高清视频在线观看| 三级影片在线观看欧美日韩一区二区| 欧美日本一区二区| 免费在线观看不卡| 久久久久久久电影| 成人动漫在线一区| 一区二区三区四区蜜桃| 欧美日韩国产天堂| 久久精品国产精品亚洲红杏| 99久久精品国产麻豆演员表| 国产精品毛片久久久久久| 不卡在线视频中文字幕| 日韩美女精品在线| 欧美三级乱人伦电影| 日本美女一区二区| 久久久久国产精品厨房| 99精品一区二区| 亚洲国产成人高清精品| 精品少妇一区二区三区视频免付费| 国产一区二区三区久久久| 国产精品国产三级国产有无不卡 | 久久只精品国产| 成人av电影在线网| 亚洲国产中文字幕| 久久天天做天天爱综合色| 91在线视频在线| 久草精品在线观看| 亚洲欧美另类久久久精品| 日韩一二三区不卡| 亚洲男人的天堂在线aⅴ视频| 亚洲欧洲无码一区二区三区| 91国产丝袜在线播放| 美日韩一级片在线观看| 国产精品国产三级国产普通话三级 | 欧美喷水一区二区| 国产+成+人+亚洲欧洲自线| 亚洲综合偷拍欧美一区色| 欧美mv日韩mv| 日本伦理一区二区| 国产一区二区三区不卡在线观看| 亚洲私人黄色宅男| 久久精品一区二区三区四区| 91成人在线精品| 国产·精品毛片| 麻豆免费看一区二区三区| 亚洲三级视频在线观看| 久久亚洲影视婷婷| 欧美美女一区二区| 91尤物视频在线观看| 国产精品一二三四区| 欧美系列日韩一区| 精久久久久久久久久久| 亚洲一级二级三级| 中文字幕一区二区三区视频| 欧美大尺度电影在线| 欧美情侣在线播放| 色哟哟日韩精品| 成人免费av资源| 国产在线精品一区二区不卡了| 首页国产欧美久久| 亚洲黄一区二区三区| 中文字幕一区在线观看视频| 精品久久久影院| 欧美一级欧美一级在线播放| 欧美一级电影网站| 在线日韩av片| 一本色道亚洲精品aⅴ| 国产露脸91国语对白| 激情小说欧美图片| 久久av老司机精品网站导航| 另类综合日韩欧美亚洲| 日本女人一区二区三区| 亚洲一区二区三区爽爽爽爽爽| 亚洲一区二区精品久久av| 美女尤物国产一区| 亚洲chinese男男1069| 自拍偷拍国产亚洲| 国产精品久久影院| 国产精品三级电影| 中文字幕一区二区视频| 国产精品国产三级国产| 中文字幕中文字幕一区二区| 国产精品区一区二区三区| 国产精品欧美一区喷水| 亚洲欧美在线视频| 亚洲最新在线观看| 性欧美大战久久久久久久久| 亚洲成人综合在线| 日韩精品五月天| 久久丁香综合五月国产三级网站| 精品中文字幕一区二区 | 玉足女爽爽91| 亚洲国产精品一区二区www| 亚洲无线码一区二区三区| 天天操天天干天天综合网| 美女www一区二区| 国产精品77777| 91在线你懂得| 69堂成人精品免费视频| 日韩精品一区在线观看| 久久久99久久| 一级女性全黄久久生活片免费| 日韩在线一二三区| 国产精品一线二线三线| 色综合欧美在线视频区| 制服丝袜一区二区三区| 免费国产亚洲视频| 久久精品av麻豆的观看方式| 国产91丝袜在线观看| 在线日韩av片| 欧美一区二区不卡视频| 中文字幕精品一区二区精品绿巨人 | 久久久www成人免费毛片麻豆 | 日韩在线观看一区二区| 国产乱码精品一区二区三| 91黄色免费版| 久久综合色一综合色88| 一区二区三区四区不卡视频 | 欧美一区二区三区喷汁尤物| 日本一区二区三区在线观看| 亚洲综合久久av| 国产综合色精品一区二区三区| 色综合中文字幕国产 | 日韩精品亚洲一区二区三区免费| 国产一区二区三区免费看| 欧美影视一区在线| 欧美激情一二三区| 久久精品国产99久久6| 色噜噜狠狠色综合欧洲selulu| 欧美精品一区二区久久婷婷| 亚洲国产精品一区二区尤物区| 国产成人av电影| 欧美大白屁股肥臀xxxxxx| 欧美极品美女视频| 久久精品国产久精国产| 欧美日韩成人激情| 亚洲美女屁股眼交| 国产成人精品网址| 欧美精品一区二区三区久久久| 亚洲v日本v欧美v久久精品| 99国产精品国产精品毛片| 国产色91在线| 国产一区二区三区黄视频 | 日本成人在线网站| 欧美丝袜丝nylons| 综合色天天鬼久久鬼色| 粉嫩嫩av羞羞动漫久久久| 精品国产一区二区三区四区四 | 欧美一区二区国产| 偷拍亚洲欧洲综合| 欧美主播一区二区三区| 亚洲免费观看高清完整| 91免费在线播放| 最新成人av在线| 99久久精品99国产精品| 中文字幕在线不卡|