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

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

?? tommath.h

?? 文件驅(qū)動(dòng)加密,功能強(qiáng)大,可產(chǎn)生加密分區(qū),支持AES,MD2,MD4,MD5MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, SHA-1, SHA-224, SHA-256,
?? H
字號(hào):
/* LibTomMath, multiple-precision integer library -- Tom St Denis * * LibTomMath is a library that provides multiple-precision * integer arithmetic as well as number theoretic functionality. * * The library was designed directly after the MPI library by * Michael Fromberger but has been written from scratch with * additional optimizations in place. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@iahu.ca, http://math.libtomcrypt.org */#ifndef BN_H_#define BN_H_#include <stdio.h>#include <string.h>#include <stdlib.h>#include <ctype.h>#include <limits.h>#undef MIN#define MIN(x,y) ((x)<(y)?(x):(y))#undef MAX#define MAX(x,y) ((x)>(y)?(x):(y))#ifdef __cplusplusextern "C" {/* C++ compilers don't like assigning void * to mp_digit * */#define  OPT_CAST  (mp_digit *)#else/* C on the other hand doesn't care */#define  OPT_CAST#endif/* some default configurations. * * A "mp_digit" must be able to hold DIGIT_BIT + 1 bits * A "mp_word" must be able to hold 2*DIGIT_BIT + 1 bits * * At the very least a mp_digit must be able to hold 7 bits * [any size beyond that is ok provided it doesn't overflow the data type] */#ifdef MP_8BIT   typedef unsigned char      mp_digit;   typedef unsigned short     mp_word;#elif defined(MP_16BIT)   typedef unsigned short     mp_digit;   typedef unsigned long      mp_word;#elif defined(MP_64BIT)   /* for GCC only on supported platforms */#ifndef CRYPT   typedef unsigned long long ulong64;   typedef signed long long   long64;#endif   typedef ulong64            mp_digit;   typedef unsigned long      mp_word __attribute__ ((mode(TI)));   #define DIGIT_BIT          60#else   /* this is the default case, 28-bit digits */      /* this is to make porting into LibTomCrypt easier :-) */#ifndef CRYPT   #if defined(_MSC_VER) || defined(__BORLANDC__)       typedef unsigned __int64   ulong64;      typedef signed __int64     long64;   #else      typedef unsigned long long ulong64;      typedef signed long long   long64;   #endif#endif   typedef unsigned long      mp_digit;   typedef ulong64            mp_word;#ifdef MP_31BIT      /* this is an extension that uses 31-bit digits */   #define DIGIT_BIT          31#else   /* default case is 28-bit digits, defines MP_28BIT as a handy macro to test */   #define DIGIT_BIT          28   #define MP_28BIT#endif   #endif/* define heap macros */#ifndef CRYPT   /* default to libc stuff */   #ifndef XMALLOC        #define XMALLOC  malloc       #define XFREE    free       #define XREALLOC realloc       #define XCALLOC  calloc   #endif   /* prototypes for our heap functions */   extern void *XMALLOC(size_t n);   extern void *REALLOC(void *p, size_t n);   extern void *XCALLOC(size_t n, size_t s);   extern void XFREE(void *p);#endif/* otherwise the bits per digit is calculated automatically from the size of a mp_digit */#ifndef DIGIT_BIT   #define DIGIT_BIT     ((int)((CHAR_BIT * sizeof(mp_digit) - 1)))  /* bits per digit */#endif#define MP_DIGIT_BIT     DIGIT_BIT#define MP_MASK          ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))#define MP_DIGIT_MAX     MP_MASK/* equalities */#define MP_LT        -1   /* less than */#define MP_EQ         0   /* equal to */#define MP_GT         1   /* greater than */#define MP_ZPOS       0   /* positive integer */#define MP_NEG        1   /* negative */#define MP_OKAY       0   /* ok result */#define MP_MEM        -2  /* out of mem */#define MP_VAL        -3  /* invalid input */#define MP_RANGE      MP_VAL#define MP_YES        1   /* yes response */#define MP_NO         0   /* no response */typedef int           mp_err;/* you'll have to tune these... */extern int KARATSUBA_MUL_CUTOFF,           KARATSUBA_SQR_CUTOFF,           TOOM_MUL_CUTOFF,           TOOM_SQR_CUTOFF;/* various build options */#define MP_PREC                 64     /* default digits of precision *//* define this to use lower memory usage routines (exptmods mostly) *//* #define MP_LOW_MEM *//* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */#define MP_WARRAY               (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1))/* the infamous mp_int structure */typedef struct  {    int used, alloc, sign;    mp_digit *dp;} mp_int;/* callback for mp_prime_random, should fill dst with random bytes and return how many read [upto len] */typedef int ltm_prime_callback(unsigned char *dst, int len, void *dat);#define USED(m)    ((m)->used)#define DIGIT(m,k) ((m)->dp[(k)])#define SIGN(m)    ((m)->sign)/* error code to char* string */char *mp_error_to_string(int code);/* ---> init and deinit bignum functions <--- *//* init a bignum */int mp_init(mp_int *a);/* free a bignum */void mp_clear(mp_int *a);/* init a null terminated series of arguments */int mp_init_multi(mp_int *mp, ...);/* clear a null terminated series of arguments */void mp_clear_multi(mp_int *mp, ...);/* exchange two ints */void mp_exch(mp_int *a, mp_int *b);/* shrink ram required for a bignum */int mp_shrink(mp_int *a);/* grow an int to a given size */int mp_grow(mp_int *a, int size);/* init to a given number of digits */int mp_init_size(mp_int *a, int size);/* ---> Basic Manipulations <--- */#define mp_iszero(a) (((a)->used == 0) ? MP_YES : MP_NO)#define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO)#define mp_isodd(a)  (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO)/* set to zero */void mp_zero(mp_int *a);/* set to a digit */void mp_set(mp_int *a, mp_digit b);/* set a 32-bit const */int mp_set_int(mp_int *a, unsigned long b);/* copy, b = a */int mp_copy(mp_int *a, mp_int *b);/* inits and copies, a = b */int mp_init_copy(mp_int *a, mp_int *b);/* trim unused digits */void mp_clamp(mp_int *a);/* ---> digit manipulation <--- *//* right shift by "b" digits */void mp_rshd(mp_int *a, int b);/* left shift by "b" digits */int mp_lshd(mp_int *a, int b);/* c = a / 2**b */int mp_div_2d(mp_int *a, int b, mp_int *c, mp_int *d);/* b = a/2 */int mp_div_2(mp_int *a, mp_int *b);/* c = a * 2**b */int mp_mul_2d(mp_int *a, int b, mp_int *c);/* b = a*2 */int mp_mul_2(mp_int *a, mp_int *b);/* c = a mod 2**d */int mp_mod_2d(mp_int *a, int b, mp_int *c);/* computes a = 2**b */int mp_2expt(mp_int *a, int b);/* Counts the number of lsbs which are zero before the first zero bit */int mp_cnt_lsb(mp_int *a);/* I Love Earth! *//* makes a pseudo-random int of a given size */int mp_rand(mp_int *a, int digits);/* ---> binary operations <--- *//* c = a XOR b  */int mp_xor(mp_int *a, mp_int *b, mp_int *c);/* c = a OR b */int mp_or(mp_int *a, mp_int *b, mp_int *c);/* c = a AND b */int mp_and(mp_int *a, mp_int *b, mp_int *c);/* ---> Basic arithmetic <--- *//* b = -a */int mp_neg(mp_int *a, mp_int *b);/* b = |a| */int mp_abs(mp_int *a, mp_int *b);/* compare a to b */int mp_cmp(mp_int *a, mp_int *b);/* compare |a| to |b| */int mp_cmp_mag(mp_int *a, mp_int *b);/* c = a + b */int mp_add(mp_int *a, mp_int *b, mp_int *c);/* c = a - b */int mp_sub(mp_int *a, mp_int *b, mp_int *c);/* c = a * b */int mp_mul(mp_int *a, mp_int *b, mp_int *c);/* b = a*a  */int mp_sqr(mp_int *a, mp_int *b);/* a/b => cb + d == a */int mp_div(mp_int *a, mp_int *b, mp_int *c, mp_int *d);/* c = a mod b, 0 <= c < b  */int mp_mod(mp_int *a, mp_int *b, mp_int *c);/* ---> single digit functions <--- *//* compare against a single digit */int mp_cmp_d(mp_int *a, mp_digit b);/* c = a + b */int mp_add_d(mp_int *a, mp_digit b, mp_int *c);/* c = a - b */int mp_sub_d(mp_int *a, mp_digit b, mp_int *c);/* c = a * b */int mp_mul_d(mp_int *a, mp_digit b, mp_int *c);/* a/b => cb + d == a */int mp_div_d(mp_int *a, mp_digit b, mp_int *c, mp_digit *d);/* a/3 => 3c + d == a */int mp_div_3(mp_int *a, mp_int *c, mp_digit *d);/* c = a**b */int mp_expt_d(mp_int *a, mp_digit b, mp_int *c);/* c = a mod b, 0 <= c < b  */int mp_mod_d(mp_int *a, mp_digit b, mp_digit *c);/* ---> number theory <--- *//* d = a + b (mod c) */int mp_addmod(mp_int *a, mp_int *b, mp_int *c, mp_int *d);/* d = a - b (mod c) */int mp_submod(mp_int *a, mp_int *b, mp_int *c, mp_int *d);/* d = a * b (mod c) */int mp_mulmod(mp_int *a, mp_int *b, mp_int *c, mp_int *d);/* c = a * a (mod b) */int mp_sqrmod(mp_int *a, mp_int *b, mp_int *c);/* c = 1/a (mod b) */int mp_invmod(mp_int *a, mp_int *b, mp_int *c);/* c = (a, b) */int mp_gcd(mp_int *a, mp_int *b, mp_int *c);/* produces value such that U1*a + U2*b = U3 */int mp_exteuclid(mp_int *a, mp_int *b, mp_int *U1, mp_int *U2, mp_int *U3);/* c = [a, b] or (a*b)/(a, b) */int mp_lcm(mp_int *a, mp_int *b, mp_int *c);/* finds one of the b'th root of a, such that |c|**b <= |a| * * returns error if a < 0 and b is even */int mp_n_root(mp_int *a, mp_digit b, mp_int *c);/* shortcut for square root */#define mp_sqrt(a, b) mp_n_root(a, 2, b)/* computes the jacobi c = (a | n) (or Legendre if b is prime)  */int mp_jacobi(mp_int *a, mp_int *n, int *c);/* used to setup the Barrett reduction for a given modulus b */int mp_reduce_setup(mp_int *a, mp_int *b);/* Barrett Reduction, computes a (mod b) with a precomputed value c * * Assumes that 0 < a <= b*b, note if 0 > a > -(b*b) then you can merely * compute the reduction as -1 * mp_reduce(mp_abs(a)) [pseudo code]. */int mp_reduce(mp_int *a, mp_int *b, mp_int *c);/* setups the montgomery reduction */int mp_montgomery_setup(mp_int *a, mp_digit *mp);/* computes a = B**n mod b without division or multiplication useful for * normalizing numbers in a Montgomery system. */int mp_montgomery_calc_normalization(mp_int *a, mp_int *b);/* computes x/R == x (mod N) via Montgomery Reduction */int mp_montgomery_reduce(mp_int *a, mp_int *m, mp_digit mp);/* returns 1 if a is a valid DR modulus */int mp_dr_is_modulus(mp_int *a);/* sets the value of "d" required for mp_dr_reduce */void mp_dr_setup(mp_int *a, mp_digit *d);/* reduces a modulo b using the Diminished Radix method */int mp_dr_reduce(mp_int *a, mp_int *b, mp_digit mp);/* returns true if a can be reduced with mp_reduce_2k */int mp_reduce_is_2k(mp_int *a);/* determines k value for 2k reduction */int mp_reduce_2k_setup(mp_int *a, mp_digit *d);/* reduces a modulo b where b is of the form 2**p - k [0 <= a] */int mp_reduce_2k(mp_int *a, mp_int *n, mp_digit k);/* d = a**b (mod c) */int mp_exptmod(mp_int *a, mp_int *b, mp_int *c, mp_int *d);/* ---> Primes <--- *//* number of primes */#ifdef MP_8BIT   #define PRIME_SIZE      31#else   #define PRIME_SIZE      256#endif/* table of first PRIME_SIZE primes */extern const mp_digit __prime_tab[];/* result=1 if a is divisible by one of the first PRIME_SIZE primes */int mp_prime_is_divisible(mp_int *a, int *result);/* performs one Fermat test of "a" using base "b". * Sets result to 0 if composite or 1 if probable prime */int mp_prime_fermat(mp_int *a, mp_int *b, int *result);/* performs one Miller-Rabin test of "a" using base "b". * Sets result to 0 if composite or 1 if probable prime */int mp_prime_miller_rabin(mp_int *a, mp_int *b, int *result);/* This gives [for a given bit size] the number of trials required * such that Miller-Rabin gives a prob of failure lower than 2^-96  */int mp_prime_rabin_miller_trials(int size);/* performs t rounds of Miller-Rabin on "a" using the first * t prime bases.  Also performs an initial sieve of trial * division.  Determines if "a" is prime with probability * of error no more than (1/4)**t. * * Sets result to 1 if probably prime, 0 otherwise */int mp_prime_is_prime(mp_int *a, int t, int *result);/* finds the next prime after the number "a" using "t" trials * of Miller-Rabin. * * bbs_style = 1 means the prime must be congruent to 3 mod 4 */int mp_prime_next_prime(mp_int *a, int t, int bbs_style);/* makes a truly random prime of a given size (bytes), * call with bbs = 1 if you want it to be congruent to 3 mod 4  * * You have to supply a callback which fills in a buffer with random bytes.  "dat" is a parameter you can * have passed to the callback (e.g. a state or something).  This function doesn't use "dat" itself * so it can be NULL * * The prime generated will be larger than 2^(8*size). */int mp_prime_random(mp_int *a, int t, int size, int bbs, ltm_prime_callback cb, void *dat);/* ---> radix conversion <--- */int mp_count_bits(mp_int *a);int mp_unsigned_bin_size(mp_int *a);int mp_read_unsigned_bin(mp_int *a, unsigned char *b, int c);int mp_to_unsigned_bin(mp_int *a, unsigned char *b);int mp_signed_bin_size(mp_int *a);int mp_read_signed_bin(mp_int *a, unsigned char *b, int c);int mp_to_signed_bin(mp_int *a, unsigned char *b);int mp_read_radix(mp_int *a, char *str, int radix);int mp_toradix(mp_int *a, char *str, int radix);int mp_radix_size(mp_int *a, int radix, int *size);int mp_fread(mp_int *a, int radix, FILE *stream);int mp_fwrite(mp_int *a, int radix, FILE *stream);#define mp_read_raw(mp, str, len) mp_read_signed_bin((mp), (str), (len))#define mp_raw_size(mp)           mp_signed_bin_size(mp)#define mp_toraw(mp, str)         mp_to_signed_bin((mp), (str))#define mp_read_mag(mp, str, len) mp_read_unsigned_bin((mp), (str), (len))#define mp_mag_size(mp)           mp_unsigned_bin_size(mp)#define mp_tomag(mp, str)         mp_to_unsigned_bin((mp), (str))#define mp_tobinary(M, S)  mp_toradix((M), (S), 2)#define mp_tooctal(M, S)   mp_toradix((M), (S), 8)#define mp_todecimal(M, S) mp_toradix((M), (S), 10)#define mp_tohex(M, S)     mp_toradix((M), (S), 16)/* lowlevel functions, do not call! */int s_mp_add(mp_int *a, mp_int *b, mp_int *c);int s_mp_sub(mp_int *a, mp_int *b, mp_int *c);#define s_mp_mul(a, b, c) s_mp_mul_digs(a, b, c, (a)->used + (b)->used + 1)int fast_s_mp_mul_digs(mp_int *a, mp_int *b, mp_int *c, int digs);int s_mp_mul_digs(mp_int *a, mp_int *b, mp_int *c, int digs);int fast_s_mp_mul_high_digs(mp_int *a, mp_int *b, mp_int *c, int digs);int s_mp_mul_high_digs(mp_int *a, mp_int *b, mp_int *c, int digs);int fast_s_mp_sqr(mp_int *a, mp_int *b);int s_mp_sqr(mp_int *a, mp_int *b);int mp_karatsuba_mul(mp_int *a, mp_int *b, mp_int *c);int mp_toom_mul(mp_int *a, mp_int *b, mp_int *c);int mp_karatsuba_sqr(mp_int *a, mp_int *b);int mp_toom_sqr(mp_int *a, mp_int *b);int fast_mp_invmod(mp_int *a, mp_int *b, mp_int *c);int fast_mp_montgomery_reduce(mp_int *a, mp_int *m, mp_digit mp);int mp_exptmod_fast(mp_int *G, mp_int *X, mp_int *P, mp_int *Y, int mode);int s_mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y);void bn_reverse(unsigned char *s, int len);extern const char *mp_s_rmap;#ifdef __cplusplus   }#endif#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产日韩a在线播放| www.欧美.com| 久久精品亚洲精品国产欧美 | 久久久久久久综合| 国产精品系列在线观看| 亚洲图片激情小说| 欧美日韩精品电影| 国产一区二区网址| 国产精品久久三| 欧美天天综合网| 九色|91porny| 国产精一区二区三区| 中文字幕一区二区三| 欧美色综合网站| 久久精品国产第一区二区三区| 国产拍揄自揄精品视频麻豆| 色呦呦网站一区| 久久精品国产在热久久| 欧美国产一区二区| 欧美日韩中字一区| 国产米奇在线777精品观看| 自拍偷拍国产亚洲| 欧美一级片免费看| 国产91精品精华液一区二区三区 | 日本精品视频一区二区| 日韩高清在线不卡| 欧美激情在线免费观看| 欧美在线视频全部完| 激情久久五月天| 亚洲欧美在线视频观看| 3751色影院一区二区三区| 国产成人日日夜夜| 亚洲成人av一区| 欧美激情一区二区在线| 欧美日韩亚洲综合一区| 国产成人精品亚洲777人妖 | 色综合天天性综合| 蜜臀av一区二区在线观看| 国产精品美女久久久久久2018| 欧美日本免费一区二区三区| 粉嫩绯色av一区二区在线观看| 亚洲国产成人高清精品| 欧美激情一区三区| 91麻豆精品国产91久久久久| 成人深夜在线观看| 免费在线观看成人| 亚洲人成亚洲人成在线观看图片 | 久久久国产精品麻豆| 欧美三级一区二区| 成人精品国产一区二区4080| 七七婷婷婷婷精品国产| 亚洲柠檬福利资源导航| 久久综合九色综合欧美98| 欧美日韩在线三级| 99精品久久只有精品| 激情国产一区二区| 亚洲国产另类av| 中文字幕一区二区在线观看| 欧美一级片在线观看| 日本精品一级二级| 成人深夜在线观看| 国内外成人在线| 亚洲成人资源在线| 亚洲欧洲精品成人久久奇米网| 亚洲国产视频一区二区| 国产精品网站一区| 亚洲精品一线二线三线| 欧美久久高跟鞋激| 色中色一区二区| 波多野洁衣一区| 国产精品羞羞答答xxdd| 美女一区二区视频| 视频一区二区不卡| 亚洲午夜久久久久久久久电影院 | 国内精品伊人久久久久av影院 | 国产一区在线观看视频| 亚洲国产精品欧美一二99| 综合av第一页| 中文字幕+乱码+中文字幕一区| 欧美精品一区二| 日韩欧美激情一区| 91精品国产乱| 91麻豆精品国产91久久久| 欧美日韩综合不卡| 在线亚洲+欧美+日本专区| 色综合久久88色综合天天免费| 成人黄色免费短视频| 国产盗摄一区二区| 国产成人午夜电影网| 国产一区免费电影| 丝袜亚洲另类欧美综合| 亚洲成av人片www| 亚洲一区二区三区四区五区黄| 专区另类欧美日韩| 一区免费观看视频| 亚洲欧洲性图库| 国产精品久久久久久户外露出 | 亚洲精品国产一区二区精华液| 国产精品嫩草影院com| 国产精品系列在线| 国产精品私人自拍| 国产精品久久久一本精品 | 欧美日韩亚洲国产综合| 欧美四级电影在线观看| 欧美日韩在线三区| 欧美另类一区二区三区| 91精品国产91久久综合桃花| 欧美一级高清片| 欧美一区二区在线播放| 日韩欧美一级精品久久| 欧美成人猛片aaaaaaa| 精品99一区二区三区| 久久久久久麻豆| 中文在线免费一区三区高中清不卡| 欧美国产视频在线| 综合在线观看色| 亚洲一卡二卡三卡四卡五卡| 亚洲成av人片在www色猫咪| 热久久久久久久| 欧美精品免费视频| 欧美一区二区三区四区视频 | 91精品国产综合久久久久| 欧美一级精品在线| 亚洲精品在线观看视频| 亚洲国产成人在线| 依依成人综合视频| 日韩中文字幕av电影| 免费成人小视频| 国产毛片精品视频| 99在线热播精品免费| 欧美三级一区二区| 日韩写真欧美这视频| 久久精品在线免费观看| 中文字幕中文乱码欧美一区二区| 亚洲精品五月天| 奇米影视7777精品一区二区| 国产成人在线观看| 成人禁用看黄a在线| 欧美性大战久久久久久久| 日韩三级电影网址| 国产精品免费丝袜| 五月婷婷综合网| 国产精品一区在线观看乱码| 91网站在线播放| 91精品国产欧美一区二区| 日本一区二区不卡视频| 亚洲国产欧美日韩另类综合| 久草这里只有精品视频| 国产激情视频一区二区三区欧美| 91免费观看国产| 日韩精品综合一本久道在线视频| 欧美极品美女视频| 成人影视亚洲图片在线| 96av麻豆蜜桃一区二区| 欧洲av一区二区嗯嗯嗯啊| 欧美一级艳片视频免费观看| 国产精品视频一二三区| 国产在线国偷精品免费看| 成人免费毛片app| 欧美日韩不卡在线| 国产欧美一区二区三区沐欲| 亚洲国产成人va在线观看天堂| 久久99九九99精品| 色八戒一区二区三区| 日韩精品在线一区二区| 最近日韩中文字幕| 久久爱www久久做| 色婷婷国产精品综合在线观看| 精品美女在线观看| 亚洲国产精品一区二区久久 | 欧美成人vps| 97久久超碰精品国产| 日韩一二三四区| 亚洲女厕所小便bbb| 国产精品自拍一区| 欧美日韩在线播放三区| 中文字幕的久久| 蜜桃精品在线观看| 在线亚洲高清视频| 欧美高清一级片在线观看| 五月婷婷另类国产| 色综合天天天天做夜夜夜夜做| 精品成人一区二区| 亚洲成av人片一区二区| 99久久婷婷国产综合精品电影 | 欧美一区二区精美| 亚洲精品自拍动漫在线| 福利91精品一区二区三区| 在线播放国产精品二区一二区四区| 国产精品免费看片| 国产在线国偷精品产拍免费yy | 国产精品日产欧美久久久久| 日本不卡一区二区三区高清视频| 一本大道av伊人久久综合| 中文字幕av一区二区三区免费看| 久久精品国产色蜜蜜麻豆| 欧美日韩黄色影视| 亚洲另类春色校园小说| 成人av网站大全| 国产日韩精品一区二区三区在线|