⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.bntest

📁 包含哈希,对称以及非对称的经典算法 包含经典事例
💻 BNTEST
字号:
Test driver for low-level BigNum library correctness.In addition to the generic "bntest" program, which picks a sizeat compile time, there are specific test drivers, bntest16,bntest32 and bntest64 that you can compile specifically, e.g.to test multiple word sizes.bntest is different from other programs in that it invokes thelow-level BigNum functions directly.  It need only be linked withlbnmem.o, lbn32.o and legal.o.  This is not normally desirable, butit lets this test driver isolate errors better in the bottom-levelprimitives.It's served very well in tracking down errors.  If you write some newassembly primitives and it doesn't find a problem with them, youcan have a good deal of confidence that they're correct.This program also does timing tests on basic modular exponentiation.It is invoked as bntest [modsize [expsize [expsize2]]].If modsize is not specified, it only runs consistency checks.If expsize is not specified, it defaults to modsize.If expsize2 is not specified, it defaults to expsize.Invalid arguments produce a usage message.Example invocation lines:bntestbntest 512bntest 1024 160

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -