Re: [openssl-users] QNX cross-compiled openssl with fips

2015-04-03 Thread Piotr Łobacz
Ok i have finally managed to find what is the problem. The generated value of digest under linux had bad value. Now i have to correct incore file for QNX platform. Wish me luck or if anybody can help me with this i would be pleased. :) Dnia 2015-04-03, pią o godzinie 11:16 +0200, Piotr Łobacz pisz

Re: [openssl-users] QNX cross-compiled openssl with fips

2015-04-03 Thread Piotr Łobacz
Ok, whith few modifications to fipsld++ i can now link to libcrypto.so and libcrypto.a and applications are working correctly, but mine problem still persists because if i would like to dlopen my shared library compiled with static libcrypto.a and i'll try to run fips mode from that library i get a

Re: [openssl-users] QNX cross-compiled openssl with fips

2015-04-01 Thread Piotr Łobacz
Yeah i have tried with it and modified it. But mine problem is that i am cross-compiling. I have used incore to generate digest and it works with qcc and i386-pc-nto-qnx6.4.0-gcc. But with i386-pc-nto-qnx6.4.0-g++ and QCC which is for c++ it does not work it generates bad digest. What is a problem

Re: [openssl-users] QNX cross-compiled openssl with fips

2015-04-01 Thread Piotr Łobacz
Ok finally my app is working and compiled with c++ compiler but the problem persist because elf incore is bad for QNX apps compiled with g++ or QCC compiler. It generates bad digest. Even incore2 generates bad digest, and i dunno why that happens. Any sugesstions? Dnia 2015-03-31, wto o godzinie 1

Re: [openssl-users] QNX cross-compiled openssl with fips

2015-03-31 Thread Piotr Łobacz
Ok i have finally managed to cross-compile openssl with fips for QNX platform. What i did wass modifing the fipsld script not to input this magical number[ $? -ne 42 ] && exit $? and the returned output of "${FIPS_SIG}" -exe "${TARGET}" was saved in SIG variable, because this line SIG=`"${TARGET}"

Re: [openssl-users] QNX cross-compiled openssl with fips

2015-03-27 Thread Piotr Łobacz
Another problem is that compiled cross-compiled OpenSSL with fips should start in its own prompt but it only spews the expected signature and exits. I have modified fipsld scripts as shown in the manual and this does not help. Incore was used from the tarball but maybe i have to use some special mo

[openssl-users] QNX cross-compiled openssl with fips

2015-03-26 Thread Piotr Łobacz
Hello, i have been able to cross-compile openssl with fips module and what i want now is to use it within my project which is using C++. According to the manual https://wiki.openssl.org/index.php/Fipsld_and_C%2B%2B i have to modify fipsld to fipsld++. Everything works properly if i'm compiling my o