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

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

?? div.s

?? flint庫 RSA算法
?? S
?? 第 1 頁 / 共 2 頁
字號:
#******************************************************************************#*                                                                            *#* Functions for arithmetic and number theory with large integers in C        *#* Software supplement to the book "Cryptography in C and C++"                *#* by Michael Welschenbach                                                    *#*                                                                            *#* Module div.s            Revision: 15.06.2002                               *#*                                                                            *#*  Copyright (C) 1998-2005 by Michael Welschenbach                           *#*  Copyright (C) 2001-2005 by Springer-Verlag Berlin, Heidelberg             *#*  Copyright (C) 2001-2005 by Apress L.P., Berkeley, CA                      *#*  Copyright (C) 2002-2005 by Wydawnictwa MIKOM, Poland                      *#*  Copyright (C) 2002-2005 by PHEI, P.R.China                                *#*  Copyright (C) 2002-2005 by InfoBook, Korea                                *#*  Copyright (C) 2002-2005 by Triumph Publishing, Russia                     *#*                                                                            *#*  All Rights Reserved                                                       *#*                                                                            *#*  The software may be used for noncommercial purposes and may be altered,   *#*  as long as the following conditions are accepted without any              *#*  qualification:                                                            *#*                                                                            *#*  (1) All changes to the sources must be identified in such a way that the  *#*      changed software cannot be misinterpreted as the original software.   *#*                                                                            *#*  (2) The statements of copyright may not be removed or altered.            *#*                                                                            *#*  (3) The following DISCLAIMER is accepted:                                 *#*                                                                            *#*  DISCLAIMER:                                                               *#*                                                                            *#*  There is no warranty for the software contained in this distribution, to  *#*  the extent permitted by applicable law. The copyright holders provide the *#*  software `as is' without warranty of any kind, either expressed or        *#*  implied, including, but not limited to, the implied warranty of fitness   *#*  for a particular purpose. The entire risk as to the quality and           *#*  performance of the program is with you.                                   *#*                                                                            *#*  In no event unless required by applicable law or agreed to in writing     *#*  will the copyright holders, or any of the individual authors named in     *#*  the source files, be liable to you for damages, including any general,    *#*  special, incidental or consequential damages arising out of any use of    *#*  the software or out of inability to use the software (including but not   *#*  limited to any financial losses, loss of data or data being rendered      *#*  inaccurate or losses sustained by you or by third parties as a result of  *#*  a failure of the software to operate with any other programs), even if    *#*  such holder or other party has been advised of the possibility of such    *#*  damages.                                                                  *#*                                                                            *#******************************************************************************#*                                                                            *#*      Division, interface compatible with C-function div_l()                *#*                                                                            *#*      Quotient := Dividend div Divisor                                      *#*      Remainder := Dividend mod Divisor                                     *#*                                                                            *#*      Stack on calling of div_l:        SP+16 ---> Offset remainder         *#*                                        SP+12 ---> Offset quotient          *#*                                        SP+ 8 ---> Offset divisor           *#*                                        SP+ 4 ---> Offset dividend          *#*                                        SP    ---> Return address           *#*                                                                            *#*      Return Value: ax = -1 if divisor = 0                                  *#*                    ax =  0 else                                            *#*                                                                            *#******************************************************************************#.equ    a,      0		# Dividend (working copy)                  .equ    b,      1030		# Divisor  (working copy)                  .equ    q,      1546		# Quotient qhat (working memory)           .equ    q1,     2566		# High-order digit of divisor (normalized) .equ    v1,     2570		# 2nd digit of divisor (normalized)        .equ    v2,     2574		.equ    d,      2578		# Exponent for normalization.equ    uj1,    2582		# uj+1 (normalized)                        .equ    uj2,    2586            # uj+2 (normalized)                        #.equ    WORKSP, 2600		# Working memory in stack area#.text.globl  _div_l_div_l: pushl   %ebp		# Store value for calling procedure        movl    %esp,%ebp        subl    $WORKSP,%esp    # lokal working memory        movl    %esp,%eax        pushl   %ebx        pushl   %edi        pushl   %esi        movl    %eax,%ebx       # Store start address of working memory#        movl    8(%ebp),%esi    # Offset of variable a        movl    12(%ebp),%edi   # Offset of variable b        movw    (%esi),%ax      # l(a)        movw    (%edi),%dx      # l(b)        cmpw    $0,%dx		# b = 0 ?        jne     .l1        jmp     .divbyz		# Division by zero!##>>>>>> Lade Operanden#.l1:    pushl   %edi		# Store offset b        leal    a(%ebx),%edi    # Destination offset is a[bx]        xorl    %ecx,%ecx        movw    %ax,%cx		# l(a) in cx        shrw    $1,%cx        jnc     .l2        incw    %cx.l2:    cld     	rep     	movsl			# Load a as ULONG        movsw			#  plus one USHORT        movw    %ax,%cx        shlw    $1,%cx        leal    a+2(%ebx,%ecx),%edi        movw    $0,(%edi)#        popl    %esi		# Hole Seg:Offs von b        leal    b(%ebx),%edi    # Zieloffset ist b[bx]        xorl    %ecx,%ecx        movw    %dx,%cx		# l(b) in cx        shrw    $1,%cx        jnc     .l3        incw    %cx.l3:    cld             rep     	movsl			# Load b as ULONG        movsw			#  plus one USHORT        movw    %dx,%cx        shlw    $1,%cx        leal    b+2(%ebx,%ecx),%edi        movl    $0,(%edi)##>>>>>> Prepare access to local memory#        pushl   %ebp		# Store ebp        movl    %ebx,%ebp       # Indexed addressing based on ss##>>>>>> Remove leading zeros from operands#        xorl    %eax,%eax        xorl    %ecx,%ecx        movw    a(%ebp),%ax     # #USHORTs into ax        cmpw    $0,%ax        je      .next1        shll    $1,%eax		# Index to low-order byte                                # of high-order digit        movl    %eax,%esi.l4:    cmpw    $0,a(%ebp,%esi) # USHORT = 0 ?        jne     .l5		# If not we're done        subl    $2,%esi		# Else:	 Step back one digit        cmpl    $0,%esi		# Index = 0?        je      .mazer1		# Then argument = 0        jmp     .l4		# Next comparison    .l5:				# Length determined.mazer1:	shrl    $1,%esi		# #Digits        movl    %esi,%eax       # Basisadresse des Operanden holen        movw    %ax,a(%ebp)     # Store number of digits#Operand2.next1: movw    b(%ebp),%ax     # #USHORTs in ax        cmpw    $0,%ax        je      .end1        shll    $1,%eax		# #Bytes, index to low-order byte                                # of high-order digit        movl    %eax,%esi.l6:    cmpw    $0,b(%ebp,%esi) # Digit = 0 ?        jne     .l7		# If not we're done        subl    $2,%esi		# Else: Step back one digit        cmpl    $0,%esi		# Index = 0?                    je      .mazer2		# Then argument = 0             jmp     .l6		# Next comparison       .l7:				# Length found          .mazer2:	shrl    $1,%esi		# Number of digits        movl    %esi,%eax       # Store number of digits        movw    %ax,b(%ebp)     .end1:  cmpw    $0,%ax        jne     .l8        popl    %ebp        jmp     .divbyz.l8:    cmpw    $0,a(%ebp)        jne     .l9        popl    %ebp        jmp     .divz##>>>>>> Test a < b ?#.l9:    movl    $0,%ecx        movw    a(%ebp),%cx        cmpw    b(%ebp),%cx     # l(a) - l(b)        jnc     .div03        jmp     .dra.div03: jne     .div05          # If lengths are equal compare digits        movl    %ecx,%eax       # cl = l(a) = l(b)        shll    $1,%eax        leal    a(%ebp),%esi        leal    b(%ebp),%edi        addl    %eax,%edi       # si points to high-order digit of a        addl    %eax,%esi       # di points to high-order digit of b        std             repe    	cmpsw   #	xchg    %esi,%edi        cld             jnc     .div05		# If no carry occurs, q is positive        jmp     .dra		# Else q := 0 and r := a.div05: movw    b(%ebp),%ax        shrw    $1,%ax        jnc     .div05a        incw    %ax.div05a:	cmpw    $1,%ax		# Test if length l(b) = 1        jne     .dstart        jmp     .dshort		# If so go to short division##>>>>>> Start division#.dstart:	movl    $0,%eax        movw    b(%ebp),%ax        shrw    $1,%ax        jnc     .dm0        incw    %ax.dm0:   movl    %eax,%esi        shll    $2,%esi        subl    $2,%esi		# Pointer to low byte of b[l(b)]    				# (pointer to high-order ULONG)             cmpl    $10,%esi	# Does divisor have 3 or more digits?        jb      .dm1a		# Two digits are present at mininum!        movl    b(%ebp,%esi),%ebx       # b[l(b)] in bx        movl    b-4(%ebp,%esi),%eax        movl    b-8(%ebp,%esi),%edx#        movl    $0,%ecx		# Prepare counter#.l10:   cmpl    $0x080000000,%ebx       # v1 >= 2^31 ?        jae     .dm2		# If not ...        incw    %cx        clc             rcll    $1,%edx        rcll    $1,%eax        rcll    $1,%ebx		# v1 = v1 * 2        jmp     .l10		# until v1 >= 2^31.dm1a:  movl    b(%ebp,%esi),%ebx       # b[l(b)] in bx        movl    b-4(%ebp,%esi),%eax#        movl    $0,%ecx		# Prepare counter#.l11:   cmpl    $0x080000000,%ebx       # v1 >= 2^31 ?        jae     .dm2		# If not ...        incw    %cx        clc             rcll    $1,%eax        rcll    $1,%ebx		# v1 = v1 * 2        jmp     .l11		# until v1 >= 2^31#.dm2:   movw    %cx,d(%ebp)     # Store exponent        movl    %ebx,v1(%ebp)   # v1        movl    %eax,v2(%ebp)   # v2.dm3:   incw    a(%ebp)		# l(a) = l(a) + 2        incw    a(%ebp)        movl    $0,%eax        movw    a(%ebp),%ax        shrw    $1,%ax        jnc     .dm3a        incw    %ax.dm3a:  movl    %eax,%esi        shll    $2,%esi        subl    $2,%esi        movl    $0,a(%ebp,%esi) # a[l(a)] = 0#.d2:    movl    $0,%eax        movw    b(%ebp),%ax        shrw    $1,%ax        jnc     .d2a        incw    %ax.d2a:   movl    %eax,%esi        shll    $2,%esi        subl    $2,%esi		# si points to loByte of b[l(b)]#        movl    $0,%ecx        movw    a(%ebp),%cx        shrw    $1,%cx        jnc     .d2b        incw    %cx.d2b:   movl    %ecx,%edi        shll    $2,%edi        subl    $2,%edi		# di points to loByte of a[l(a)]        pushl   %edi        subl    %esi,%edi        incl    %edi		# di points to hiByte of a[l(a)-l(b)]        movl    %edi,%ecx        shrl    $2,%ecx		# Counter in cx        popl    %esi		# si points to loByte of a[l(a)] (j+l(b))        subl    $3,%edi		# di points to loByte of a[l(a)-l(b)] (j)        pushl   %edi		# Possible length of q##-----> Main loop of division

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品中文字幕在线一区| 欧美xingq一区二区| 中文字幕一区二区日韩精品绯色| 亚洲精品免费在线观看| 国产欧美日韩综合精品一区二区| 久久精品水蜜桃av综合天堂| 国产午夜精品一区二区三区嫩草| 91精品国产综合久久蜜臀| 在线成人小视频| 国产无一区二区| 久久久精品天堂| 亚洲国产另类av| 欧美色成人综合| 日韩av高清在线观看| 日韩你懂的在线观看| 国产自产v一区二区三区c| 日本一区二区免费在线| 91蜜桃婷婷狠狠久久综合9色| 亚洲精品国产精华液| 91精品国产91久久久久久最新毛片| 青娱乐精品视频| 精品国产乱码久久久久久久久 | 成人av免费观看| 一区二区三区毛片| 欧美日韩亚洲不卡| 美腿丝袜一区二区三区| 精品国产乱码久久久久久久| 午夜av一区二区三区| 一本到三区不卡视频| 91浏览器入口在线观看| 91精品国产一区二区| 亚洲精品一区二区三区在线观看| 国产高清不卡一区| 成人手机电影网| 亚洲一区二区欧美日韩 | 亚洲在线视频网站| 91麻豆精品国产91久久久 | 免费人成在线不卡| 国产欧美日韩在线| 欧美日本乱大交xxxxx| 国产成人亚洲综合a∨婷婷图片| 亚洲午夜电影在线观看| 日本一区二区视频在线| 91精品国产综合久久精品app | 色综合久久久久网| 国产麻豆视频精品| 偷拍与自拍一区| 专区另类欧美日韩| 久久在线免费观看| 欧洲一区在线电影| 亚洲成人av福利| 国产无人区一区二区三区| 69av一区二区三区| 在线看不卡av| 国产精品1024久久| 久久99九九99精品| 日韩不卡在线观看日韩不卡视频| ...中文天堂在线一区| 精品美女被调教视频大全网站| 欧美亚洲国产一区二区三区va| 99精品欧美一区二区三区综合在线| 国产美女av一区二区三区| 午夜久久久久久| 亚洲婷婷综合色高清在线| 国产亚洲福利社区一区| 欧美成人官网二区| 欧美日韩国产一级二级| 欧美视频一区二区三区四区| 一区二区激情小说| 国产一区二区0| 中文字幕一区日韩精品欧美| 国产精品久久午夜| 欧美电影免费观看高清完整版在线 | 久久久99免费| 国产亚洲欧美一级| 亚洲精品va在线观看| 另类成人小视频在线| www.性欧美| 粉嫩欧美一区二区三区高清影视| 国产欧美一区二区三区在线看蜜臀 | 亚洲va中文字幕| 一本大道久久精品懂色aⅴ| 国产精品色在线观看| 91精品综合久久久久久| 99久久精品一区二区| 国产最新精品免费| 99re亚洲国产精品| 欧美理论片在线| 欧美国产日韩在线观看| 亚洲影院理伦片| 粉嫩aⅴ一区二区三区四区五区| 色猫猫国产区一区二在线视频| 在线观看国产日韩| 亚洲精品中文字幕在线观看| 成人动漫一区二区| 国产91丝袜在线播放| 欧美影片第一页| 26uuu亚洲| 亚洲一区二区不卡免费| 国产一区二区0| 欧美精品在线视频| 亚洲色欲色欲www| 国内成+人亚洲+欧美+综合在线 | 午夜亚洲福利老司机| 国产高清视频一区| 欧美日韩成人一区二区| 中文字幕一区二区三区视频| 久久99久久久欧美国产| 91成人免费网站| 国产精品理论片| 韩国av一区二区三区在线观看| 欧美日韩久久一区二区| 亚洲欧美影音先锋| 国产乱码精品一区二区三区五月婷| 欧美精品欧美精品系列| 亚洲精品免费视频| 成人av午夜影院| www精品美女久久久tv| 视频在线观看一区| 欧洲在线/亚洲| 亚洲天堂久久久久久久| 成人在线综合网| 日本一区二区三区四区在线视频| 狠狠v欧美v日韩v亚洲ⅴ| 日韩一区二区三区在线视频| 亚洲图片自拍偷拍| 欧美性猛交一区二区三区精品| 国产精品伦理一区二区| 成人亚洲精品久久久久软件| 精品国产乱码91久久久久久网站| 日韩电影一区二区三区四区| 欧美日韩国产一二三| 亚洲综合色视频| 欧美性色黄大片| 一级精品视频在线观看宜春院| 色综合中文字幕国产 | 青青草国产精品亚洲专区无| 欧美日韩国产高清一区二区三区| 亚洲欧美日韩中文播放| 97久久精品人人做人人爽| 国产精品免费久久| 99久久免费视频.com| 亚洲激情五月婷婷| 欧美性欧美巨大黑白大战| 亚洲电影在线免费观看| 欧美日韩午夜影院| 麻豆精品新av中文字幕| 精品国产一区二区三区四区四| 午夜视频一区二区三区| 5858s免费视频成人| 亚洲成人免费看| 日韩欧美一二区| 国产999精品久久久久久绿帽| 久久久久久一级片| 成人午夜视频网站| 亚洲最大成人网4388xx| 欧美欧美午夜aⅴ在线观看| 免费观看久久久4p| 久久男人中文字幕资源站| 国产在线精品国自产拍免费| 国产精品区一区二区三| 在线看不卡av| 免费成人在线观看视频| 国产精品天美传媒| 日本道免费精品一区二区三区| 午夜欧美一区二区三区在线播放| 日韩一区二区三区电影在线观看 | 9人人澡人人爽人人精品| 一区二区日韩电影| 91精品国产综合久久精品麻豆 | 91蜜桃网址入口| 日本女人一区二区三区| 久久久精品人体av艺术| 一本色道久久加勒比精品| 蜜桃精品视频在线| 国产精品欧美久久久久无广告 | 韩国成人精品a∨在线观看| 亚洲视频在线观看三级| 欧美人妖巨大在线| 成人一区二区三区在线观看| 亚洲国产中文字幕在线视频综合| 精品国产欧美一区二区| 91捆绑美女网站| 精品一区二区精品| 亚洲在线中文字幕| 国产三级精品三级| 欧美日韩成人在线| 成人妖精视频yjsp地址| 蜜桃av一区二区三区| 亚洲色图都市小说| 精品sm捆绑视频| 欧美影片第一页| 成熟亚洲日本毛茸茸凸凹| 天堂久久一区二区三区| 亚洲欧美综合色| 久久久久久亚洲综合影院红桃 | av在线综合网| 国产原创一区二区三区| 亚洲h在线观看| 亚洲欧美成人一区二区三区|