summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2004-01-28Add the missing parts for DES CFB1 and CFB8.Richard Levitte
Add the corresponding AES parts while I'm at it. make update
2004-01-28make updateRichard Levitte
2004-01-28Unsigned vs. signed problem removedRichard Levitte
2004-01-27#undef _POSIX_C_SOURCE in ui_openssl.c ruined IRIX builds. Comment on whyAndy Polyakov
_POSIX_C_SOURCE needed in first place.
2004-01-27CFB DES sync-up with FIPS branch.Andy Polyakov
2004-01-27Avoid signed vs. unsigned warnings (which are treated like errors onRichard Levitte
Windows).
2004-01-26S_IFBLK and S_IFCHR may not exist in some places (like Windows), soRichard Levitte
let's check for those macros, and if they aren't defined, let's assume there aren't Unixly devices on this platform.
2004-01-25Even though C specification explicitly says that constant type "stretches"Andy Polyakov
automatically to accomodate the value, some compilers fail to do so. Most notably 0x0123456789ABCDEF should come out as long long in 32-bit context, but HP compiler truncates it to 32-bit value. Which in turn breaks GF(2^m) arithmetics in hpux-parisc2-cc build. Therefore this fix...
2004-01-24Fix declaration inconsistency in ecparam.c.Andy Polyakov
2004-01-24Get rid of bogus warning when compiling with Sun vendor compiler.Andy Polyakov
2004-01-24We're passed p, so let's use p instead of making assumptions.Richard Levitte
2004-01-22Typo...Richard Levitte
2004-01-21Replace expired certificate.Dr. Stephen Henson
2004-01-21SHA-1 assembler tune-up for Intel P4Andy Polyakov
2004-01-10Adding a slash between the directoryt and the file is a problem withRichard Levitte
VMS. The C RTL can handle it well if the "directory" is a logical name with no colon, therefore ending being 'logname/file'. However, if the given logical names actually has a colon, or if you use a full VMS-syntax directory, you end up with 'logname:/file' or 'dev:[dir1.dir2]/file', and that isn't handled in any good way. So, on VMS, we need to check if the directory string ends with a separator (one of ':', ']' or '>' (< and > can be used instead [ and ])), and handle that by not inserting anything between the directory spec and the file name. In all other cases, it's assumed the directory spec is a logical name, so we need to place a colon between it and the file. Notified by Kevin Greaney <kevin.greaney@hp.com>.
2004-01-08Cover all DSA setups when running testsLutz Jänicke
PR: #748 Submitted by: Kirill Kochetkov <kochet@ixbt.com>
2004-01-08Updates to s_time manual pageLutz Jänicke
PR: #570 Submitted by: Martin Witzel <MWITZEL@de.ibm.com>
2004-01-04Add s_time manual pageLutz Jänicke
Submitted by: "Martin Witzel" <MWITZEL@de.ibm.com> PR: #570
2004-01-04Update URILutz Jänicke
Submitted by: Gertjan van Oosten <gertjan@West.NL> PR: #804
2004-01-04unintptr_t and <inttypes.h> are not strictly portable with respect toLutz Jänicke
ANSI C 89. Undo change to maintain compatibility.
2003-12-27Fix Perl problems on sparc64.Richard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Avoid including cryptlib.h, it's not really needed.Richard Levitte
Check if IDEA is being built or not. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Only use environment variables if uid and gid are the same as euid and egid.Richard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Check if a random "file" is really a device file, and treat itRichard Levitte
specially if it is. Add a few OpenBSD-specific cases. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Correct documentation typos.Richard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27OpenBSD-internal changes.Richard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Use sh explicitely to run point.shRichard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Include strings.h so strcasecmp() and strncasecmp() get properly declared.Richard Levitte
2003-12-27Use BUF_strlcpy() instead of strcpy().Richard Levitte
Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Add a newline at the end of the last line.Richard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-20Typos.Dr. Stephen Henson
2003-12-11To figure out if we're going outside the buffer, use the size of the buffer,Richard Levitte
not the size of the integer used to index in said buffer. PR: 794 Notified by: Rhett Garber <rhett_garber@hp.com>
2003-12-10Document that you need to include x509.h (to get [i2d|d2i]_RSA_PUBKEY()).Richard Levitte
Correct the typo PUKEY...
2003-12-10Document that you need to include x509.h (to get [i2d|d2i]_DSA_PUBKEY()).Richard Levitte
Correct the typo PUKEY...
2003-12-06Add "dif" variable to clean up the loop implementations.Ulf Möller
Submitted by: Nils Larsch
2003-12-06Skip a curve with generator of non-prime order.Ulf Möller
Submitted by: Nils Larsch
2003-12-06Avoid segfault if ret==0.Ulf Möller
Submitted by: Nils Larsch
2003-12-03Restructure make targets to allow parallel make.Lutz Jänicke
Submitted by: Witold Filipczyk <witekfl@poczta.gazeta.pl> PR: #513
2003-12-02Incremental cleanups to bn_lib.c.Geoff Thorpe
- Add missing bn_check_top() calls and relocate some others - Use BN_is_zero() where appropriate - Remove assert()s that bn_check_top() is already covering - Simplify the code in places (esp. bn_expand2()) - Only keep ambiguous zero handling if BN_STRICT isn't defined - Remove some white-space and make some other aesthetic tweaks
2003-12-02Use the BN_is_odd() macro in place of code that (inconsistently) does muchGeoff Thorpe
the same thing. Also, I have some stuff on the back-burner related to some BN_CTX notes from Peter Gutmann about his cryptlib hacks to the bignum code. The BN_CTX comments are there to remind me of some relevant points in the code.
2003-12-02BN_FLG_FREE is of extremely dubious usefulness, and is only referred toGeoff Thorpe
once in the source (where it is set for the benefit of no other code whatsoever). I've deprecated the declaration in the header and likewise made the use of the flag conditional in bn_lib.c. Note, this change also NULLs the 'd' pointer in a BIGNUM when it is reset but not deallocated.
2003-12-01Declare the static BIGNUM "BN_value_one()" more carefully.Geoff Thorpe
2003-12-01Add missing bn_check_top()s to bn_kron.c, remove some miscellaneousGeoff Thorpe
white-space, and include extra headers to satisfy debugging builds.
2003-12-01Add missing bn_check_top()s to bn_gf2m.c and remove some miscellaneousGeoff Thorpe
white-space.
2003-12-01The bn_set_max() macro is only "used" by the bn_set_[low|high]() macrosGeoff Thorpe
which, in turn, are used nowhere at all. This is a good thing because bn_set_max() would currently generate code that wouldn't compile (BIGNUM has no 'max' element). The only apparent use for bn_set_[low|high] would be for implementing windowing algorithms, and all of openssl's seem to use bn_***_words() helpers instead (including the BN_div() that Nils fixed recently, which had been using independently-coded versions of what these unused macros are intended for). I'm therefore consigning these macros to cvs oblivion in the name of readability.
2003-12-01bn_fix_top() exists for compatibility's sake and is mapped toGeoff Thorpe
bn_correct_top() or bn_check_top() depending on debug settings. For internal source, all bn_fix_top()s should be converted one way or the other depending on whether the use of bn_correct_top() is justified. For BN_div_recp(), these cases should not require correction if the other bignum functions are doing their jobs properly, so convert to bn_check_top().
2003-12-01It was pointed out to me that if the requested size is 0, we shouldn'tRichard Levitte
ty to allocate anything at all. This will allow eNULL to still work. PR: 751 Notified by: Lutz Jaenicke
2003-12-01Check that OPENSSL_malloc() really returned some memory.Richard Levitte
PR: 751 Notified by: meder@mcs.anl.gov Reviewed by: Lutz Jaenicke, Richard Levitte
2003-12-01CRYPTO_malloc(), CRYPTO_realloc() and variants of them should return NULLRichard Levitte
if the give size is 0. This is a thought that came up in PR 751.
2003-12-01Some more ASFLAGS settings requiredLutz Jänicke
PR: #735 Submitted by: Tim Rice <tim@multitalents.net>