Small RSA or DSA lib without dependencies

断了今生、忘了曾经 提交于 2020-01-12 03:11:07

问题


Is there a small library for RSA or DSA without any dependencies like GMP or OpenSSL? (Written in C or Asm)


回答1:


Take a look at axTLS it's a BSD licensed TLSv1 SSL in C for embedded systems. It's built for POSIX sockets, but is easily ported.

The one thing it's missing is RSA key generation, but it can read X.509 certificates.

It's about 32KB of code space with a small RAM footprint.




回答2:


You may find LibTomCrypt useful. It's written in C, supports RSA and DSA (along with a host of other algorithms), and is public domain software. You can read about it here.




回答3:


Okay I found myself one after searching not so common coder sites http://z0mbie.daemonlab.org/ it's under PGP/RSA-RELATED if someones interested. But are there any others?



来源:https://stackoverflow.com/questions/1735374/small-rsa-or-dsa-lib-without-dependencies

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!