Tag: fips

Openssl FIPS版本为iPhone armv7,armv7s&arm64

我试图编译用于armv7,armv7s和arm64的FIPS模块的OpenSSL。 我正在使用的脚本是 https://github.com/virtru/iOS-openSSL-FIPS/tree/develop 但是,这个脚本出错了 Undefined symbols for architecture armv7: "_FIPS_ec_group_new_curve_gf2m", referenced from: _EC_GROUP_new_curve_GF2m in libcrypto.a(ec_cvt.o) "_fips_ec_gf2m_simple_method", referenced from: _EC_GF2m_simple_method in libcrypto.a(ec2_smpl.o) ld: symbol(s) not found for architecture armv7 我也试过了 https://gist.github.com/jostster/ebbc6925c668b632d8b185293080256c 哪个出错了 ./fips_standalone_sha1 fipscanister.o > fipscanister.o.sha1 /bin/sh: ./fips_standalone_sha1: Bad CPU type in executable 有没有人有任何经验和成功获得openssl编译iOS的armv7,armv7s和arm64? 更新:为了澄清我遵循了OpenSSL文档,并得到它为armv7罚款。 但是,我的应用程序支持armv7s和arm64以及它不会与openssl fips armv7版本编译。 因此,我还需要为其他平台编译openssl。

为arm64构buildOpenSSL FIPS

我发现build立非FIPS openssl for arm64的参考,但我需要build立FIPS版本。 像https://github.com/GotoHack/iOS-openSSL-FIPS这样的项目构buildarmv7版本,但我似乎无法将它们扩展到arm64。 有没有人成功做到这一点? 我使用os-x编译,目标是IOS