简体   繁体   English

编译适用于Android armv6的OpenSSL FIPS

[英]Compile OpenSSL FIPS for Android armv6

I have seen several answers for how to compile OpenSSL for Android, and the FIPS module for Android armv7 (which I followed), but I have yet to figure out how to make the FIPS module for armv6 on Android. 对于如何编译适用于Android的OpenSSL和适用于Android armv7的FIPS模块(我遵循了),我已经看到了几个答案,但是我还没有弄清楚如何为Android上的armv6编写FIPS模块。 Currently if I follow the directions here: Android, build openssl-fips-2.0 everything works but the app will not run on an armv6 processor. 目前,如果我按照这里的指示进行操作: Android,构建openssl-fips-2.0一切正常,但该应用程序将无法在armv6处理器上运行。

but I have yet to figure out how to make the FIPS module for armv6 on Android 但是我还没有弄清楚如何为Android上的armv6制作FIPS模块

You can't when using FIPS Validated OpenSSL provided by Certificate 1747. That FIPS Validated OpenSSL only supports the following two platforms: 使用证书1747提供的FIPS验证的OpenSSL时不能使用。该FIPS验证的OpenSSL仅支持以下两个平台:

  • Android on ARMv7 32 bit Android在ARMv7 32位
  • Android on ARMv7 with NEON 32 bit 带有NEON 32位的ARMv7上的Android

See the OpenSSL FIPS 2.0 User Guide , Section 3.2, Known Supported Platforms, page 25/198. 请参阅《 OpenSSL FIPS 2.0用户指南》第3.2节,已知支持的平台,第25/198页。

I think you need to engage the OpenSSL Foundation for a private label validation that supports the platform and configurations you desire. 我认为您需要聘请OpenSSL Foundation进行私有标签验证,以支持所需的平台和配置。


if I follow the directions here: Android, build openssl-fips-2.0 everything works 如果我按照这里的指示进行操作:Android,构建openssl-fips-2.0一切正常

Related: OpenSSL has a tutorial on its Wiki. 相关:OpenSSL在其Wiki上有一个教程。 See FIPS Library and Android . 请参阅FIPS库和Android (Its too large to simply paste in some instructions because of the cross-compile setup). (由于交叉编译设置,它太大而不能简单地粘贴一些指令)。

Modern Android toolchains from the NDK builds for ARMv7 by default. 默认情况下,NDK的现代Android工具链适用于ARMv7。 So you might have to revert to an earlier NDK and toolchain that build for ARMv5 by default, and attempt to enable ARMv6. 因此,您可能必须还原到默认情况下为ARMv5构建的较早的NDK和工具链,并尝试启用ARMv6。

Unfortunately, I don't know what version of the NDK that might be. 不幸的是,我不知道可能是什么版本的NDK。 I would begin looking between R4 and R6: 我将开始在R4和R6之间寻找:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM