gpt4 book ai didi

c - 如何从 OpenSSL 源代码中禁用/删除特定的 OpenSSL 加密算法?

转载 作者:太空宇宙 更新时间:2023-11-04 03:22:18 28 4
gpt4 key购买 nike

如何添加/创建具有特定加密算法的 c/c++ OpenSSL 静态库?假设我不想实现 md5。如何创建没有 md5 的库?

最佳答案

在配置脚本中你可以指定no-<cipher>选项,它会在没有你指定的密码的情况下构建 openssl,你可以引用 openssl 包中的 INSTALL 文件

  no-<cipher>   Build without the specified cipher (bf, cast, des, dh, dsa,
hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha).
The crypto/<cipher> directory can be removed after running
"make depend".

关于c - 如何从 OpenSSL 源代码中禁用/删除特定的 OpenSSL 加密算法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44363269/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com