当前位置:网站首页>第0章 前言和环境配置
第0章 前言和环境配置
2022-07-24 11:39:00 【小原小原吃汤圆】
最近在学习SM2,但是对于大数运算一窍不通,然后看到了libtommath库和书籍《大数运算:加密多精度算法的理论与实现》。这本书讲解了libtommath库的实现和应用,但是其中的代码注释写的并不是很容易理解,而且并没有给出相应的编程使用实例。因此在这里博主打算对其进行一些完善。
这一篇文章的主要内容在于对环境的配置。
文件如下:这个文件里是已经编译好的libtommath库,直接使用即可(Linux下)。
文件下载
如何使用:
gcc test.cpp -L. -lCoreCpt -Iinclude
export LD_LIBRARY_PATH="."
./a.out
这样就可以运行一个简单的例子了
如何懂得如何使用make的话,就可以自己进行相应的修改,这里不再赘述。
边栏推荐
- Text message verification of web crawler
- Recommended SSH cross platform terminal tool tabby
- [golang] golang implements the URLEncode URLDecode function
- Shell script "< < EOF" my purpose and problems
- 什么是云原生,云原生技术为什么这么火?
- Video playback | how to become an excellent reviewer of international journals in the field of Geoscience and ecology?
- Reprint of illustrations in nature, issue 3 - area map (part2-100)
- Hcip OSPF interface network type experiment day 4
- Grep actually uses ps/netstat/sort
- 离散分布常用公式及应用场景
猜你喜欢

Nodejs ctf 基础
![[markdown grammar advanced] make your blog more exciting (IV: set font style and color comparison table)](/img/a5/c92e0404c6a970a62595bc7a3b68cd.gif)
[markdown grammar advanced] make your blog more exciting (IV: set font style and color comparison table)

Performance test summary (I) -- basic theory

【Markdown语法高级】让你的博客更精彩(四:设置字体样式以及颜色对照表)

08.01 adjacency matrix

Is there any charge for PDF processing? impossible!

Two important laws about parallelism

Video playback | how to become an excellent reviewer of international journals in the field of Geoscience and ecology?

String -- 344. Reverse string

JMeter runtime controller
随机推荐
[QNX Hypervisor 2.2用户手册]9.2 cmdline
Is there any charge for PDF processing? impossible!
Build resume editor based on Nocode
In BS4.String and Difference between text
Hash - 242. valid alphabetic ectopic words
Ctfshow ThinkPHP topic 1
一周精彩内容分享(第13期)
[golang] golang implements the post request to send form type data function
Judge whether a group of cards can become shunzi (the size of the king is 14,15)
Two important laws about parallelism
Tensor and numpy convert "suggested collection" to each other
String - Sword finger offer 05. replace spaces
[golang] golang implements MD5 encryption function
[golang] golang implements simple Memcache
Hash - 349. Intersection of two arrays
scrapy-redis写项目备忘
Linked list - 142. Ring linked list II
Fastcgi operation principle and PHP FPM parameter configuration
Video playback | how to become an excellent reviewer of international journals in the field of Geoscience and ecology?
Depth first search and breadth first search of Graphs