mrpre 发表于 2014-08-13 11:53

polarssl 与 openssl

看了一星期的openssl,实在不行了。看openssl看不懂的地方,就先去看公司自己的代码,然后反过来猜openssl,这样一来,花了一星期,才把客户端握手的流程看完(不包括算法实现,以及extension处理)。

今天同事推荐polarssl,尼玛,一上午就看完了握手阶段。
流程爆清晰。。。openssl还是当库来使用比较好,真要学习ssl原理,我觉得openssl不太合适。

mrpre 发表于 2014-08-13 11:57

而且同样是开源代码:outu:

Tinnal 发表于 2014-08-13 22:24

mrpre 发表于 2014-08-13 11:57 static/image/common/back.gif
而且同样是开源代码

呵呵,很少开源项目以良好的文档和可读的代码来做卖点点,polarssl算另类的了:

Easy to use
PolarSSL offers an SSL library with an intuitive API and readable source code, so you can actually understand what the code does. Also the PolarSSL modules are as loosely coupled as possible and written in the portable C language. This allows you to use the parts you need, without having to include the total library.

和PolarSSL形成鲜明的对比,GLIBC让大神也会情神分裂!{:2_180:} 。

mrpre 发表于 2014-08-14 15:06

回复 3# Tinnal


看openssl源码有啥技巧吗{:2_179:} ,我之前你除了打调试信息还是打调试信息。。
页: [1]
查看完整版本: polarssl 与 openssl