Linking with fipsld

2013-02-01 Thread Santhosh Kokala
Linking the FIPS capable libraries to our code is proving to be a real pain in the butt. The problem stems from the fact that long before I arrived it was decided that everything is to be linked statically. So that means that fipsld is needed. To compound things our code is c++ and compiled using g

Regarding FIPS_mode_set()

2013-01-31 Thread Santhosh Kokala
Hi All, I have a C++ application that links statically with Openssl library. We already modify some parts of openssl (excludes crypto part) library to extract session keys and other info to encrypt/decrypt traffic for a whole different purpose. My question is since my application is statically l

Re: Undefined reference to 'FIPS_text_start()'

2012-11-26 Thread Santhosh Kokala
I have seen Dr. Stephen's reply in this thread http://www.mail-archive.com/openssl-users@openssl.org/msg63620.html, that fipsld can be modified as long as it follows rules in the security policy. On 11/26/12 4:30 PM, "Santhosh Kokala" wrote: >Thanks Dr. Stephen and Andy for

Re: Undefined reference to 'FIPS_text_start()'

2012-11-26 Thread Santhosh Kokala
Thanks Dr. Stephen and Andy for helping me resolve this issue. I modified fipsld script to use gcc for compiling fips_premain.c and it worked. On 11/25/12 1:42 PM, "Andy Polyakov" wrote: >Santhosh Kokala wrote: >> I would really appreciate, if someone helps me with this iss

RE: Undefined reference to 'FIPS_text_start()'

2012-11-23 Thread Santhosh Kokala
I would really appreciate, if someone helps me with this issue. From: owner-openssl-...@openssl.org [owner-openssl-...@openssl.org] on behalf of Santhosh Kokala [santhosh.kok...@riverbed.com] Sent: Wednesday, November 21, 2012 11:33 AM To: openssl-us

Re: Undefined reference to 'FIPS_text_start()'

2012-11-21 Thread Santhosh Kokala
Jeffrey, This still did not fix my issue. Any other ideas? Santhosh On 11/20/12 4:14 PM, "Jeffrey Walton" wrote: >On Tue, Nov 20, 2012 at 6:16 PM, Santhosh Kokala > wrote: >> Hi, >> I am trying to build an application with the FIPS Object module. I >>followed &

Unable to compile fips_hmac.c file

2012-11-20 Thread Santhosh Kokala
I am trying to compile tips_hmac.c to verify the FIPS build. But I see errors. Can you please let me know what needs to be done to fix this? Errors: gcc -c fips_hmac.c -I/usr/local/ssl/include FIPSLD_CC=gcc /usr/local/ssl/fips-2.0/bin/fipsld -o fips_hmac fips_hmac.o /usr/local/ssl/fips-2.0/lib/

Undefined reference to 'FIPS_text_start()'

2012-11-20 Thread Santhosh Kokala
Hi, I am trying to build an application with the FIPS Object module. I followed the build instructions mentioned in FIPS User Guide 2.0. FIPS Object Module: ./config Make make install Open SSL: ./config fips make depend Make My Application: export FIPSLD_CC=g++ export CC=gcc export CXX=/usr/