incore utility error - ELF64 is supported only natively at ../FIPs/openssl-fips-2.0.2/util/incore line 45.

2014-06-04 Thread Bala
: ELF64 is supported only natively at ../FIPs/openssl-fips-2.0.2/util/incore line 45. Steps done: export HOSTCC=gcc export MACHINE=mips64 export RELEASE=2.6.32.27-Cavium-Octeon export SYSTEM=Linux export ARCH=linux-mips64 export CROSS_COMPILE=../bin/mips64-octeon-linux-gnu-gcc Also i have

incore error - ELF64 is supported only natively at ../FIPs/openssl-fips-2.0.2/util/incore line 45.

2014-06-04 Thread Bala Duvvuri
: ELF64 is supported only natively at ../FIPs/openssl-fips-2.0.2/util/incore line 45. Steps done: export HOSTCC=gcc export MACHINE=mips64 export RELEASE=2.6.32.27-Cavium-Octeon export SYSTEM=Linux export ARCH=linux-mips64 export CROSS_COMPILE=../bin/mips64-octeon-linux-gnu-gcc Also i

OpenSSL FIPs Cross compile error - ELF64 is supported only natively at incore line 45

2014-06-03 Thread Bala Duvvuri
: ELF64 is supported only natively at ../FIPs/openssl-fips-2.0.2/util/incore line 45. Steps done: export HOSTCC=gcc export MACHINE=mips64 export RELEASE=2.6.32.27-Cavium-Octeon export SYSTEM=Linux export ARCH=linux-mips64 export CROSS_COMPILE=../bin/mips64-octeon-linux-gnu-gcc Also i have appended

fipsld/incore from the command line

2014-03-06 Thread Jeffrey Walton
OPENSSLDIR -iname fips_premain.c 2>/dev/null` FIPS_INCORE=`find $OPENSSLDIR/fips-2.0 -iname incore 2>/dev/null` If FIPS_PREMAIN is not empty, it gets added to C_SOURCES and compiled. So FIPS_text_start, FIPS_text_end, FIPS_rodata_start, FIPS_rodata_end, and FIPS_signature are present in the

incore

2013-02-27 Thread T J
Does anyone know what the incore script is supposed to do in some detail or point me to some documentation about it? I don't know perl and am struggling to get past a fingerprint mismatch error when attempting to enter FIPS mode. In the previous version (0.9.8r + FIPSv1.2.3), where i

Incore adjust?

2012-10-29 Thread TJ
In the previous version of the FIPS module (openssl-fips-1.2.3), the incore script had an incore_adjust value. The new version (openssl-fips-2.0.1) is a perl script and I cannot see how to adjust the offset for our processor. Can anyone point me in the right direction here

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-19 Thread Jakob Bohm
g Cc: Sent: Wednesday, July 18, 2012 6:55 PM Subject: Re: FIPS: Incore fingerprint check fails on Android? On Wed, Jul 18, 2012, AJ wrote: This explains it -- thank you -- I was using a static library -- so I would need to use fipsld, if I continue to use static. However, knowing this, I wan

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-19 Thread AJ
this point would seem to going back to static build, and getting fipsld working for the android build.  Unless I am missing something. Thanks, AJ - Original Message - From: Dr. Stephen Henson To: openssl-users@openssl.org Cc: Sent: Wednesday, July 18, 2012 6:55 PM Subject: Re: FIPS:

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread Dr. Stephen Henson
On Wed, Jul 18, 2012, AJ wrote: > This explains it -- thank you -- I was using a static library -- so I would > need to use fipsld, if I continue to use static.   > > However, knowing this, I wanted to try with shared OpenSSL library instead, > but my build fails on "multiple definition" errors

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread AJ
iple definition of `fips_rsa_padding_add_none' /usr/local/ssl/fips-2.0/lib//fipscanister.o:fips_canister.c:(.text+0x283f8): first defined here Any ideas?    Thanks, AJ - Original Message - From: Dr. Stephen Henson To: openssl-users@openssl.org Cc: Sent: Wednesday, July 18, 2012 4:15

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread Dr. Stephen Henson
On Wed, Jul 18, 2012, AJ wrote: > Its my application producing the error. > > I've been reading more... perhaps I need to get Android build to link via > fipsld to get the valid fingerprint? > > Does this sound right? Any tips? > How are you linking your application? If it is to the OpenSSL

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread Jeffrey Walton
-- Original Message - > From: Jeffrey Walton > To: openssl-users@openssl.org > Cc: > Sent: Wednesday, July 18, 2012 2:27 PM > Subject: Re: FIPS: Incore fingerprint check fails on Android? > > On Wed, Jul 18, 2012 at 11:15 AM, Aunt Jomamma wrote: >> Sorry if this is

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread AJ
I'm running on 4.0.4 and 2.3.4, with same results on both. - Original Message - From: Jeffrey Walton To: openssl-users@openssl.org Cc: Sent: Wednesday, July 18, 2012 2:27 PM Subject: Re: FIPS: Incore fingerprint check fails on Android? On Wed, Jul 18, 2012 at 11:15 AM, Aunt Jo

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread Jeffrey Walton
c OSX. > > However, I cannot pass FIPS_mode_set(1). > I get the following error: "FIPS > routines:FIPS_check_incore_fingerprint:fingerprint does not match" > > I am using the incore script provided from openssl-fips-2.0/util/incore. > > My setup is as follows:

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread AJ
Its my application producing the error. I've been reading more... perhaps I need to get Android build to link via fipsld to get the valid fingerprint? Does this sound right? Any tips? Thanks. "Dr. Stephen Henson" wrote: >On Wed, Jul 18, 2012, Aunt Jomamma wrote: > >> Sorry if this is duplica

Re: FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread Dr. Stephen Henson
On Wed, Jul 18, 2012, Aunt Jomamma wrote: > Sorry if this is duplicate, but I had an issue with the mailer, and not sure > if this went... > > I have successfully built openssl-fips-2.0 + openssl-1.0.1c for Android using > ndk-r8.   > I am doing cross-compile on Mac OSX. > > However, I cannot

FIPS: Incore fingerprint check fails on Android?

2012-07-18 Thread Aunt Jomamma
;FIPS routines:FIPS_check_incore_fingerprint:fingerprint does not match" I am using the incore script provided from openssl-fips-2.0/util/incore. My setup is as follows:     # Edit this to wherever you unpacked the NDK     export ANDROID_NDK=/home/android-ndk-r8     # Edit to wherever you