Re: libcrypto.a and FIPs module in OpenSSL 3.0

2021-03-26 Thread Matt Caswell
On 26/03/2021 10:47, Bala Duvvuri via openssl-users wrote: Hi All, We build the "crypto" code in OpenSSL to generate "libcrypto.a" for MIPs platform. Our application links statically with "libcrypto.a" and uses the OpenSSL crypto API's accordingly. With

libcrypto.a and FIPs module in OpenSSL 3.0

2021-03-26 Thread Bala Duvvuri via openssl-users
Hi All, We build the "crypto" code in OpenSSL to generate "libcrypto.a" for MIPs platform. Our application links statically with "libcrypto.a" and uses the OpenSSL crypto API's accordingly. With this compilation model, will it be feasible to integrate with

RE: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-18 Thread Floodeenjr, Thomas
- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Michael Wojcik Sent: Monday, November 18, 2019 5:29 AM To: openssl-users@openssl.org Subject: RE: Static linking libssl.a and libcrypto.a on Linux x64 fails > From: Aijaz Baig [mailto:aijazba...@gmail.com] >

RE: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-18 Thread Michael Wojcik
> From: Aijaz Baig [mailto:aijazba...@gmail.com] > Sent: Wednesday, November 13, 2019 19:58 > However my current concern here is meeting libSSL and libCrypto's > dependencies on > host libraries on Linux platform. For instance, when I talked about 'linking' > errors > with respect to symbols lik

Re: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-13 Thread Aijaz Baig
d suffice for any application that requires openssl functionality. I've created certain wrappers over the original SSL APIs and the object files that contain this functionality (let's call this collectively as libapp.a) would be 'bundled' along with libssl.a and libcrypto.a. So as m

Re: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-13 Thread Aijaz Baig
ocus.com> wrote: > > From: openssl-users [mailto:openssl-users-boun...@openssl.org] On > Behalf Of Aijaz Baig > > Sent: Wednesday, November 13, 2019 01:45 > > > I am trying to statically link libssl.a and libcrypto.a into a static > library of my own > > which I will

Re: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-13 Thread Jakob Bohm via openssl-users
On 13/11/2019 15:23, Michael Wojcik wrote: From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Aijaz Baig Sent: Wednesday, November 13, 2019 01:45 I am trying to statically link libssl.a and libcrypto.a into a static library of my own which I will be using in an

RE: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-13 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of > Aijaz Baig > Sent: Wednesday, November 13, 2019 01:45 > I am trying to statically link libssl.a and libcrypto.a into a static library > of my own > which I will be using in an application (Linux

Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-12 Thread Aijaz Baig
So I posted this question over at stackoverflow ( https://stackoverflow.com/questions/58771714/compiling-c-and-c-with-single-makefile) but the gist of it is as follows: I am trying to statically link libssl.a and libcrypto.a into a static library of my own which I will be using in an application

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-07-01 Thread Sahil Gandhi
Hi All, I am now able to solve this problem, myself. We need to do changes in fipsld script. Change 'crypto' or 'libcrypto' to whatever name (u want to specify for the lib) in fipsld utility script and that's it. Thanks, -Sahil Gandhi On Thu, Jun 30, 2016 at 9:28 AM, Sahil Gandhi wrote: > Hi S

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-29 Thread Sahil Gandhi
Hi Steve, Thanks for the reply. Regards, Sahil On Wed, Jun 29, 2016 at 6:25 PM, Steve Marquess wrote: > On 06/29/2016 07:09 AM, Sahil Gandhi wrote: > > Hi Ken, > > > > Sorry for the late reply. I really appreciate your suggestion but I some > > how need to have static library not the dynamic o

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-29 Thread Steve Marquess
On 06/29/2016 07:09 AM, Sahil Gandhi wrote: > Hi Ken, > > Sorry for the late reply. I really appreciate your suggestion but I some > how need to have static library not the dynamic one. You can statically link an application with the FIPS module, using the special "fipsld" link process, but you c

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-29 Thread Sahil Gandhi
>>> >>> Regards, >>> Sahil >>> >>> On Fri, Jun 24, 2016 at 7:13 PM, Jakob Bohm >>> wrote: >>> >>>> On 24/06/2016 15:24, Sahil Gandhi wrote: >>>> >>>>> Hi Steve, >>>>> >>>>

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-27 Thread Ken Chow
; On Fri, Jun 24, 2016 at 7:13 PM, Jakob Bohm >> wrote: >> >>> On 24/06/2016 15:24, Sahil Gandhi wrote: >>> >>>> Hi Steve, >>>> >>>> Could you please help me out? >>>> I tried to re-read that part of user-guide but no success

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-27 Thread Sahil Gandhi
> >> On 24/06/2016 15:24, Sahil Gandhi wrote: >> >>> Hi Steve, >>> >>> Could you please help me out? >>> I tried to re-read that part of user-guide but no success. >>> I know how to generate fingerprint but once i create new static library

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-27 Thread Sahil Gandhi
ser-guide but no success. >> I know how to generate fingerprint but once i create new static library >> out of libcrypto.a and libssl.a. >> And I do generate the finger print of that new library but don't know how >> to proceed further with that. >> >> because

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-24 Thread Jakob Bohm
On 24/06/2016 15:24, Sahil Gandhi wrote: Hi Steve, Could you please help me out? I tried to re-read that part of user-guide but no success. I know how to generate fingerprint but once i create new static library out of libcrypto.a and libssl.a. And I do generate the finger print of that new

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-24 Thread Sahil Gandhi
Hi Steve, Could you please help me out? I tried to re-read that part of user-guide but no success. I know how to generate fingerprint but once i create new static library out of libcrypto.a and libssl.a. And I do generate the finger print of that new library but don't know how to proceed fu

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-24 Thread Steve Marquess
respective fips object module (i.e. Openssl-fips-2.0.10.tar). > > Once I have built Openssl-1.0.1p, libcrypto.a and libssl.a has > been created. > I need to join these 2 libraries and make it one. > > I am doing it using "ar" command as fol

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-24 Thread Sahil Gandhi
have built Openssl-fips-2.0.10.tar on* RHEL Linux* (/_*Same happens >> with Solaris 10*_/). Then I built Openssl-1.0.1p using respective fips >> object module (i.e. Openssl-fips-2.0.10.tar). >> >> Once I have built Openssl-1.0.1p, libcrypto.a and libssl.a has been >> cr

Re: [openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-23 Thread Jakob Bohm
On 24/06/2016 07:59, Sahil Gandhi wrote: Hi All, I have built Openssl-fips-2.0.10.tar on* RHEL Linux* (/_*Same happens with Solaris 10*_/). Then I built Openssl-1.0.1p using respective fips object module (i.e. Openssl-fips-2.0.10.tar). Once I have built Openssl-1.0.1p, libcrypto.a and

[openssl-users] Regarding FIPS capable openssl (I want to combine libcrypto.a and libssl.a)

2016-06-23 Thread Sahil Gandhi
Hi All, I have built Openssl-fips-2.0.10.tar on* RHEL Linux* (*Same happens with Solaris 10*). Then I built Openssl-1.0.1p using respective fips object module (i.e. Openssl-fips-2.0.10.tar). Once I have built Openssl-1.0.1p, libcrypto.a and libssl.a has been created. I need to join these 2

buid libcrypto: libcrypto.so.0.9.8 is not created. only libcrypto.a

2014-05-04 Thread Zvi Vered
was not created. The link, libcrypto.so was created and also the static library libcrypto.a Can you help ? Thanks, Zvika

Re: Getting error for libcrypto.a file in openssl-1.0.1g when making php

2014-04-17 Thread James Butler
sl.org > [mailto:owner-openssl-us...@openssl.org] On Behalf Of James Butler > Sent: Thursday, 17 April, 2014 09:51 > To: openssl-users@openssl.org > Subject: Getting error for libcrypto.a file in openssl-1.0.1g when making php > > I am getting this error from an openssl-1.0.1g fil

RE: Getting error for libcrypto.a file in openssl-1.0.1g when making php

2014-04-17 Thread Michael Wojcik
owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of James Butler Sent: Thursday, 17 April, 2014 09:51 To: openssl-users@openssl.org Subject: Getting error for libcrypto.a file in openssl-1.0.1g when making php I am getting this error from an openssl-1.0.1g file when

Getting error for libcrypto.a file in openssl-1.0.1g when making php

2014-04-17 Thread James Butler
I am getting this error from an openssl-1.0.1g file when trying to make php-5.4.23 /usr/bin/ld: /opt/openssl-1.0.1g/lib/libcrypto.a(cversion.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/openssl-1.0.1g/lib/libcry

RE: libcrypto.a linking problem?

2013-03-18 Thread Floodeenjr, Thomas
@openssl.org Subject: libcrypto.a linking problem? I'm unable to build Git 1.8.1.3 with libcrypto. I've compiled and built OpenSSL with the same LDFLAGS and CPPFLAGS as below. I also have a `/etc/ld.so.conf.d/sandbox.conf` file which loads `/sandbox/builds/lib` as a librar

libcrypto.a linking problem?

2013-03-18 Thread zero modulo
eneric #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 athlon i686 GNU/Linux $ LDFLAGS="-L/sandbox/builds/lib" CPPFLAGS="-I/sandbox/builds/include" ./configure --prefix=$PREFIX [...] $ make /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':

Re: Regrading reducing the size of libcrypto.a

2012-11-20 Thread Jakob Bohm
On 11/20/2012 4:21 PM, jeetendra gangele wrote: No, it gives me .a file then i convert it to .so file. Since it was saying .so not supported yet for arm-linux evn in configure script. i stripped .so file and i could reduce it to 2.5 MB but still its a big one only. Strange, why would it say s

Re: Regrading reducing the size of libcrypto.a

2012-11-20 Thread jeetendra gangele
No, it gives me .a file then i convert it to .so file. Since it was saying .so not supported yet for arm-linux evn in configure script. i stripped .so file and i could reduce it to 2.5 MB but still its a big one only. I am compiling with only few ciphers algorithms like sha256,aes,EC-DH and EC-DSA

Re: Regrading reducing the size of libcrypto.a

2012-11-20 Thread Jakob Bohm
On 11/20/2012 3:53 PM, John Doe wrote: From: jeetendra gangele Please guide me How can i minimize the size since I need only selected algorithms. Can one strip a .a the file...? Mine goes from 3.3M down to 1.8M. But I have no idea if it will still be working... Properly stripping an .a fil

Re: Regrading reducing the size of libcrypto.a

2012-11-20 Thread Jakob Bohm
On 11/20/2012 3:40 PM, jeetendra gangele wrote: Hi, I need to use only AES,SHA-2,EC-DH,EC-DSA. I configure for only those ciphertext and compile the code still I am getting 3.3MB library. How can I minimize it?. When I build with all the ciphertext enable that time also I am getting 3.3 MB size.

Re: Regrading reducing the size of libcrypto.a

2012-11-20 Thread John Doe
From: jeetendra gangele > Please guide me How can i minimize the size since I need only selected > algorithms. Can one strip a .a the file...? Mine goes from 3.3M down to 1.8M. But I have no idea if it will still be working... JD _

Re: 9GB libcrypto.a in openssl-1.0.1c

2012-07-30 Thread Jeremy Hunt
We saw this earlier with another build product. I think the 'ar' program in some of these "build" environments (oh all right IDEs) is just adding entries to an existing libcrypto.a. I suspect that the build environment extracts 'libcrypto.a' plus some othe

Re: 9GB libcrypto.a in openssl-1.0.1c

2012-07-29 Thread Dennis Clarke
- Original Message - From: Zack Weinberg Date: Sunday, July 29, 2012 4:05 pm Subject: Re: 9GB libcrypto.a in openssl-1.0.1c To: openssl-users@openssl.org > On Sun, Jul 29, 2012 at 11:00 AM, Dennis Clarke > wrote: > > > > After a build of openssl-1.0.1c on Solar

Re: 9GB libcrypto.a in openssl-1.0.1c

2012-07-29 Thread Zack Weinberg
On Sun, Jul 29, 2012 at 11:00 AM, Dennis Clarke wrote: > > After a build of openssl-1.0.1c on Solaris 10 with the Sun Studio 12 > compilers I was very surprised to see this : > > # ls -l libcrypto.a > -rw-r--r-- 1 root root 9908820968 Jul 17 19:47 libcrypto.a It&#x

Re: 9GB libcrypto.a in openssl-1.0.1c

2012-07-29 Thread Jakob Bohm
"Baron, Philip" had the same problem about 12 days ago, browse back in the archives to see the details. On 7/29/2012 8:00 PM, Dennis Clarke wrote: After a build of openssl-1.0.1c on Solaris 10 with the Sun Studio 12 compilers I was very surprised to see this : # ls -l libcrypto.

9GB libcrypto.a in openssl-1.0.1c

2012-07-29 Thread Dennis Clarke
After a build of openssl-1.0.1c on Solaris 10 with the Sun Studio 12 compilers I was very surprised to see this : # ls -l libcrypto.a -rw-r--r-- 1 root root 9908820968 Jul 17 19:47 libcrypto.a This is a small machine in any case and 9G vanishing into a single archive seems very

RE: Error when compiling static openSSL (libcrypto.a) into shared library

2011-11-10 Thread Floodeenjr, Thomas
...@openssl.org] On Behalf Of Frank E. Gruman Sent: Thursday, November 10, 2011 8:31 AM To: openssl-users@openssl.org Subject: RE: Error when compiling static openSSL (libcrypto.a) into shared library I have since also reproduced this error when compiliing with openssl-1.0.0e (LATEST). Is there no

RE: Error when compiling static openSSL (libcrypto.a) into shared library

2011-11-10 Thread Frank E. Gruman
...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Frank E. Gruman Sent: Thursday, November 03, 2011 11:09 AM To: openssl-users@openssl.org Subject: Error when compiling static openSSL (libcrypto.a) into shared library Hello all, I am trying to compile a static libcrypto.a into a

Error when compiling static openSSL (libcrypto.a) into shared library

2011-11-03 Thread Frank E. Gruman
Hello all, I am trying to compile a static libcrypto.a into a shared library. Every time I do this I receive the following error: [100%] Building CXX object CMakeFiles/testprovider.dir/soapTestServiceGatewayProxy.cpp.o Linking CXX shared library libtestprovider.so /usr/bin/ld: /usr/lib/gcc

Re: Need help....Building libcrypto.a (FIPS) into a shared library on Windows.

2011-04-06 Thread SarveshT
> > I am using the fiplink.pl and it is also  generating the signature for the > shared library using > > fips_premain_dso , followed by inserting the generated signature into the > library using -DHMAC_SHA1_SIG=\\\"$fips_hash\\\" . > > > Can someone please let me

problems on make - libcrypto.a

2010-05-26 Thread Anders
d without share. None of it works.The 'last words' of the make are these: /usr/bin/ranlib ../../libcrypto.a || echo Never mind. make[2]: Leaving directory `/root/soft/openssl-1.0.0/crypto/ts' if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \ (cd ..; mak

Re: problem about static link libssl.a libcrypto.a to my application(linux platform)

2009-11-04 Thread Mike Frysinger
On Wed, Nov 4, 2009 at 08:24, jj Zhu wrote: >   gcc -static /usr/lib/libssl.a /usr/lib/libcrypto.a error.o wrapsock.o > wrapunix.o driverUtility.o driver.o -o driver >   I get these compile errors: > driver.o: In function `logout': > driver.c:(.text+0x16e): un

problem about static link libssl.a libcrypto.a to my application(linux platform)

2009-11-04 Thread jj Zhu
the command into this: gcc -static /usr/lib/libssl.a /usr/lib/libcrypto.a error.o wrapsock.o wrapunix.o driverUtility.o driver.o -o driver I get these compile errors: driver.o: In function `logout': driver.c:(.text+0x16e): undefined reference to `SSL_library_init' driver.c:(.

Build error: /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value

2009-01-06 Thread Patrick Waldo
../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit s

Need help....Building libcrypto.a (FIPS) into a shared library on Windows.

2008-11-09 Thread Justin A
generated signature into the library using -DHMAC_SHA1_SIG=\\\"$fips_hash\\\" . Can someone please let me know if they have compiled libcrypto.a into a shared library such that FIPS_mode_set() passed and how they did it? Or is there documentation detailing how to do this? The OpenSSL

Re: Mixmaster needs libcrypto.a which is not there

2008-09-26 Thread gabrix
0:43 -0400, [EMAIL PROTECTED] wrote: > Mixmaster 2.9 and 3.0 are not compiling on Darwin Tiger PPC. An > install error message is returned, > > Looking for libcrypto.a... > Not found. > Please get OpenSSL 0.9.6l or greater from http://www.openssl.org/ > > I'm runni

Re: libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a shared object; recompile with -fPIC

2008-04-22 Thread Rodrigo Castro
o <[EMAIL PROTECTED]> > > wrote: > > > > Hello to all, this is my first post here. Can anyone help me with > the > > > > following problem? After configuring and installing openssl, when I > try > > to > > > > compile openldap I get this err

Re: libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a shared object; recompile with -fPIC

2008-04-18 Thread Kyle Hamilton
Apr 18, 2008 at 6:20 AM, Rodrigo Castro <[EMAIL PROTECTED]> > wrote: > > > Hello to all, this is my first post here. Can anyone help me with the > > > following problem? After configuring and installing openssl, when I try > to > > > compile openldap

Re: libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a shared object; recompile with -fPIC

2008-04-18 Thread Rodrigo Castro
6:20 AM, Rodrigo Castro <[EMAIL PROTECTED]> > wrote: > > Hello to all, this is my first post here. Can anyone help me with the > > following problem? After configuring and installing openssl, when I try > to > > compile openldap I get this error about libcrypto.a. What

Re: libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a shared object; recompile with -fPIC

2008-04-18 Thread Kyle Hamilton
d installing openssl, when I try to > compile openldap I get this error about libcrypto.a. What could be done to > solve this? And I apologize in advance if this post doesn't belong here. > > Entering subdirectory libldap > make[2]: Entrando no diretório `/root/openldap-2.3.39/libr

libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a shared object; recompile with -fPIC

2008-04-18 Thread Rodrigo Castro
Hello to all, this is my first post here. Can anyone help me with the following problem? After configuring and installing openssl, when I try to compile openldap I get this error about libcrypto.a. What could be done to solve this? And I apologize in advance if this post doesn't belong

Re: libcrypto.a

2006-04-27 Thread Richard Levitte - VMS Whacker
s is done automagically by "make update". tanish2k> - under [crypto/x509v3] , make a file v3_custom.c and add tanish2k>the code to get and set values. tanish2k> - add the corresponding typedef in x509v3.h tanish2k> - add the entry in ext_dat.h as (extern, X509V3_EXT

Re: libcrypto.a

2006-04-27 Thread Saurabh Arora
Thankyou openssl group for your overwhelming, ZERO help support. i found out libcrypto.a is build everytime you compile the openssl. but i am still having problems. i am trying to add my custom extension under the standard extension stack. (my company have acquired OIDs) steps: - add entries

libcrypto.a

2006-04-26 Thread Saurabh Arora
hello how can we re-build libcrypto.a ??i found a file in [crypto] dir - "crypto-lib.com" which is used to create LIBCYPTO.OLB (may be for windows version), similarly is there a way to re-build libcrypto.a ??ok heres my purpose to re-build it :i am trying to add my custom extension

Problems when linking against libssl.a and libcrypto.a

2005-05-14 Thread Richard
Hello, I am having some problems to link my program with the SSL library libssl.a and libcrypto.a. I have a small program called sslexample.c that just opens a simple SSL connection. However, if I compile the program to use the shared libraries libssl.so and libcrypto.so then everything works

Re: Problem linking libssl.a libcrypto.a and my own lib to anapplication

2000-11-07 Thread Alexander 'Alfe' Fetke
Hi, Ragnar Augustsson ... On Tue, 7 Nov 2000 [EMAIL PROTECTED] wrote: > I am having problem linking libssl.a libcrypto.a and my own lib to an > application. [...] > Then as I started building my application I can not get the gcc or g++ to > link to my library. At first I thought

Re: Problem linking libssl.a libcrypto.a and my own lib to an application

2000-11-07 Thread Lutz Jaenicke
On Tue, Nov 07, 2000 at 01:53:56PM +, [EMAIL PROTECTED] wrote: > I am having problem linking libssl.a libcrypto.a and my own lib to an > application. > #(BTW. I moved the libs into my own directory and I used to use gcc) > tpos3client:libTpos3.a tpo

Problem linking libssl.a libcrypto.a and my own lib to an application

2000-11-07 Thread raggi
I am having problem linking libssl.a libcrypto.a and my own lib to an application. I began by building the SSL library on my x86 based Redhat 7 that was really straight forward. Then I compiled my own library that is linked to libssl.a and libcrypto.a, so far so good... Then as I started

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Louis LeBlanc
Obviously I have misunderstood the manpage for RAND_bytes. What is says is: int RAND_bytes(unsigned char *buf, int num); int RAND_pseudo_bytes(unsigned char *buf, int num); DESCRIPTION RAND_bytes() puts num cryptographically strong pseudo-random bytes into buf. An error o

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Richard Levitte - VMS Whacker
From: Louis LeBlanc <[EMAIL PROTECTED]> leblanc> Anyway, this is what I did: leblanc> unsigned char entropy[4096]; [...] leblanc> RAND_bytes(entropy, 4000); leblanc> RAND_seed(entropy, 3000); And what do you think this gives you? Have you actually thought of checking the returned status code?

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Brian Hatch
> Anyway, this is what I did: > unsigned char entropy[4096]; > > /* Then I call the SSL_load_error_strings() and > OpenSSL_add_all_algorithms() > * routines, and create my context. Then, . . . > */ > > RAND_bytes(entropy, 4000); > RAND_seed(entropy, 3000); you've just seeded with bytes g

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Brian Hatch
> My code miraculously worked without modification when building against > 0.9.4. > 0.9.5a and the snapshot broke the same code at the handshake, giving the > 'PRNG not seeded' message. ... > the cert creation and translation tests and > suggested that I set the RANDFILE environment variable

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Ulf Moeller
On Fri, Jun 30, 2000, Louis LeBlanc wrote: > RAND_bytes(entropy, 4000); > RAND_seed(entropy, 3000); > /* just giving myself some room until the code is working */ > > And everything works. No, nothing works, as you would have noticed, had you checked the RAND_bytes() return value. You still

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Louis LeBlanc
Thank you so much. Your message cleared up a problem I wrestled with for some time. Once you pointed me in the right direction, I found everything in the manpages, and it all fell into context (I have to admit to being a little thick from time to time :). Anyway, this is what I did: unsigned ch

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-30 Thread Richard Levitte - VMS Whacker
From: Louis LeBlanc <[EMAIL PROTECTED]> leblanc> The project involved an https load generator - primarily used leblanc> for correctness testing of another project. I had the worst leblanc> time getting the initial handshake to work. The dreaded leblanc> 'PRNG not seeded' message kept plaguing m

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-29 Thread Louis LeBlanc
I have to admit that I am just putting my 2 cents in at the tail of this discussion, and I did miss some of the earlier posts in this thread, but my recent experience with OpenSSL client coding may shed some light here. The project involved an https load generator - primarily used for correctness

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-28 Thread Richard Levitte - VMS Whacker
From: Lutz Jaenicke <[EMAIL PROTECTED]> Lutz.Jaenicke> To the OpenSSL-Administrators: please update the Lutz.Jaenicke> stunnel entry (considering this to be the new official Lutz.Jaenicke> home of stunnel!?). *clicketiclick* -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Chairman

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-28 Thread Brian Hatch
> Here is "below" :-) > > Until now I did not know of "www.stunnel.org". My bookmarks still contained > the old(?) address in Poland, as does the OpenSSL home page. > The latest version listed there is 3.8 (without p1 etc) and there is no link > to the new site It does contain a link to 'a

Re: Bug relating to /dev/urandom and RAND_egd in libcrypto.a

2000-06-28 Thread Lutz Jaenicke
On Wed, Jun 28, 2000 at 07:24:41AM -0700, Brian Hatch wrote: > > > Before anyone says it's in the FAQ, I've checked this out long and hard > > > and I'm pretty sure this is a bug. > > not terribly hard, its on the stunnel.org page and older > stunnel web faq since march. Yeah, it's a bug. See b