第十五章 摘要与HMAC / 15.2 openssl摘要实现

openssl摘要实现的源码位于crypto目录下的各个子目录下,如下所示:

Ø         crypto/ripemd:ripemd摘要实现(包括汇编代码)及其测试程序;

Ø         crypto/md2:md2摘要实现及其测试程序;

Ø         crypto/mdc2:mdc2摘要实现及其测试程序;

Ø         crypto/md4:md4摘要实现及其测试程序;

Ø         crypto/md5:md5摘要实现及其测试程序;

Ø         crypto/sha:sha、sha1、sha256、sha512实现及其测试程序(包含汇编源码)。

上述各种摘要源码在openssl中都是底层的函数,相对独立,能单独提取出来,而不必包含openssl的libcrypto库(因为这个库一般比较大)。