Richard Levitte
9e9f48f0b1
Don't use global variables. Instead, use a function that returns the
...
proper value.
There are a few more spots where FIPS makes use of global variables.
This is problematic on some non-Unix platforms. I will deal with them
later.
2004-04-16 09:52:50 +00:00
Richard Levitte
0ae9a77679
Make fips_gettime work on Win32 (lets hope the Win32 function we use
...
is OK with NIST. Otherwise, we have a problem).
Avoid depending on 32-bit longs.
Provided by Dr Stephen Henson <shenson@drh-consultancy.co.uk>
2004-04-15 16:28:05 +00:00
Ben Laurie
a5ad942b70
Improve selftests, check for stuck PRNG(!).
2004-02-17 11:51:54 +00:00
Andy Polyakov
326e02b260
Reserve for unaligned buffer. The problem was "pointed out" be HPUX64
...
gcc, which failed to compile it with "not aligned" at higher optimization
levels.
2004-01-24 15:04:38 +00:00
Richard Levitte
a7d64957b9
Include e_os.h to get the proper definition of OPENSSL_UNISTD, and use
...
that macro.
It's possible that OPENSSL_UNISTD_IO should be used instead of
OPENSSL_UNISTD, for the MSDOS case...
2003-09-05 14:09:40 +00:00
Richard Levitte
6b211d8cd2
Include string.h and stdlib.h where needed, to avoid warnings about
...
strlen(), memcmp(), exit() and others to be used without a proper
declaration.
Update the appropriate fingerprints accordingly.
2003-09-05 12:22:21 +00:00
Ben Laurie
4ccac96346
Automagically seed FIPS PRNG. Add OPENSSL_FIPS flag.
2003-09-04 10:22:13 +00:00
Ben Laurie
75622f1ece
Unfinished FIPS stuff for review/improvement.
2003-07-27 17:00:51 +00:00