Age | Commit message (Collapse) | Author |
|
Add the corresponding AES parts while I'm at it.
make update
|
|
|
|
|
|
_POSIX_C_SOURCE needed in first place.
|
|
|
|
Windows).
|
|
let's check for those macros, and if they aren't defined, let's assume
there aren't Unixly devices on this platform.
|
|
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>.
|
|
PR: #748
Submitted by: Kirill Kochetkov <kochet@ixbt.com>
|
|
PR: #570
Submitted by: Martin Witzel <MWITZEL@de.ibm.com>
|
|
Submitted by: "Martin Witzel" <MWITZEL@de.ibm.com>
PR: #570
|
|
Submitted by: Gertjan van Oosten <gertjan@West.NL>
PR: #804
|
|
ANSI C 89.
Undo change to maintain compatibility.
|
|
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
Check if IDEA is being built or not.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
specially if it is.
Add a few OpenBSD-specific cases.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
|
|
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>
|
|
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
|
|
|
|
not the size of the integer used to index in said buffer.
PR: 794
Notified by: Rhett Garber <rhett_garber@hp.com>
|
|
Correct the typo PUKEY...
|
|
Correct the typo PUKEY...
|
|
Submitted by: Nils Larsch
|
|
Submitted by: Nils Larsch
|
|
Submitted by: Nils Larsch
|
|
Submitted by: Witold Filipczyk <witekfl@poczta.gazeta.pl>
PR: #513
|
|
- 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
|
|
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.
|
|
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.
|
|
|
|
white-space, and include extra headers to satisfy debugging builds.
|
|
white-space.
|
|
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.
|
|
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().
|
|
ty to allocate anything at all. This will allow eNULL to still work.
PR: 751
Notified by: Lutz Jaenicke
|
|
PR: 751
Notified by: meder@mcs.anl.gov
Reviewed by: Lutz Jaenicke, Richard Levitte
|
|
if the give size is 0.
This is a thought that came up in PR 751.
|
|
PR: #735
Submitted by: Tim Rice <tim@multitalents.net>
|