bn

所属分类:加密解密
开发工具:C/C++
文件大小:318KB
下载次数:9
上传日期:2013-02-21 17:22:07
上 传 者珠飘2007
说明:  大数运算的一些函数和程序,验证通过,RSA算法需要的
(Computation of large numbers of functions and procedures, verify through the RSA algorithm needs)

文件列表:
bn\asm\alpha-mont.pl (5588, 2013-02-11)
bn\asm\armv4-gf2m.pl (6767, 2013-02-11)
bn\asm\armv4-mont.pl (5443, 2013-02-11)
bn\asm\bn-586.pl (16420, 2013-02-11)
bn\asm\co-586.pl (5640, 2013-02-11)
bn\asm\ia64-mont.pl (26021, 2013-02-11)
bn\asm\ia64.S (45314, 2013-02-11)
bn\asm\mips-mont.pl (8878, 2013-02-11)
bn\asm\mips.pl (50341, 2013-02-11)
bn\asm\mips3-mont.pl (5362, 2013-02-11)
bn\asm\mips3.s (37614, 2013-02-11)
bn\asm\modexp512-x86_64.pl (34519, 2013-02-11)
bn\asm\pa-risc2.s (48599, 2013-02-11)
bn\asm\pa-risc2W.s (46674, 2013-02-11)
bn\asm\parisc-mont.pl (26991, 2013-02-11)
bn\asm\ppc-mont.pl (7591, 2013-02-11)
bn\asm\ppc.pl (44972, 2013-02-11)
bn\asm\ppc64-mont.pl (26444, 2013-02-11)
bn\asm\s390x-gf2m.pl (5139, 2013-02-11)
bn\asm\s390x-mont.pl (6679, 2013-02-11)
bn\asm\s390x.S (12636, 2013-02-11)
bn\asm\sparcv8.S (28245, 2013-02-11)
bn\asm\sparcv8plus.S (33130, 2013-02-11)
bn\asm\sparcv9-mont.pl (13711, 2013-02-11)
bn\asm\sparcv9a-mont.pl (20723, 2013-02-11)
bn\asm\via-mont.pl (8990, 2013-02-11)
bn\asm\vms.mar (109455, 2013-02-11)
bn\asm\x86\add.pl (1339, 2013-02-11)
bn\asm\x86\comba.pl (5377, 2013-02-11)
bn\asm\x86\div.pl (229, 2013-02-11)
bn\asm\x86\f (38, 2013-02-11)
bn\asm\x86\mul.pl (1384, 2013-02-11)
bn\asm\x86\mul_add.pl (1716, 2013-02-11)
bn\asm\x86\sqr.pl (1049, 2013-02-11)
bn\asm\x86\sub.pl (1339, 2013-02-11)
bn\asm\x86-gf2m.pl (7713, 2013-02-11)
bn\asm\x86-mont.pl (16468, 2013-02-11)
bn\asm\x86.pl (623, 2013-02-11)
bn\asm\x86_64-gcc.c (13535, 2013-02-11)
... ...

All assember in this directory are just version of the file crypto/bn/bn_asm.c. Quite a few of these files are just the assember output from gcc since on quite a few machines they are 2 times faster than the system compiler. For the x86, I have hand written assember because of the bad job all compilers seem to do on it. This normally gives a 2 time speed up in the RSA routines. For the DEC alpha, I also hand wrote the assember (except the division which is just the output from the C compiler pasted on the end of the file). On the 2 alpha C compilers I had access to, it was not possible to do ***b x ***b -> 128b calculations (both long and the long long data types were *** bits). So the hand assember gives access to the 128 bit result and a 2 times speedup :-). There are 3 versions of assember for the HP PA-RISC. pa-risc.s is the origional one which works fine and generated using gcc :-) pa-risc2W.s and pa-risc2.s are *** and 32-bit PA-RISC 2.0 implementations by Chris Ruemmler from HP (with some help from the HP C compiler).

近期下载者

相关文件


收藏者