I understood.
How did you integrate your built OpenSSL binaries to a android project?
I wrote wrapper.c file and build wrapper.so file on the same linux.
Now I renamed the wrapper.so to the libwrapper.so and copied to
<my_project>/libs/armeabi/
Now I wrote java class:
public class OpenSslJniWrapper {
static {
try {
System.loadLibrary("wrapper");
} catch (Throwable e) {
Log.e("TEST", "wrapper FAILED", e);
}
}
public native String testGetString(String msg);
public native int enableFipsMode();
}
And in Application class I call the method enableFipsMode().
But I received the runtime error:
OpenSslJniWrapper errorCode 755413103, errror FIPS_mode_set failed: 2d06b06f.
Reason: error:2D06B06F:FIPS routines:FIPS_check_incore_fingerprint:fingerprint
does not match
What am I do wrong?
> On Feb 5, 2015, at 14:55, Emile Belanger <[email protected]> wrote:
>
> For clarifcation it was built using this:
> http://wiki.openssl.org/index.php/Android
> Not in FIPS mode.
> I personally built it because I needed a few crypto functions
>
> On Thursday, February 5, 2015 at 10:41:21 AM UTC, Emile Belanger wrote:
> If you are getting warning about OpenSSL here is the latest version built for
> x86 and Arm:
>
> https://github.com/emileb/OpenSSL-for-Android-Prebuilt
> <https://github.com/emileb/OpenSSL-for-Android-Prebuilt>
>
> Hopefully useful to someone.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Security Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to
> [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/android-security-discuss
> <http://groups.google.com/group/android-security-discuss>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.