sthen
b1478de08d
use $2b in the bcrypt example, ok tedu
10 years ago
jsing
0cad80226a
Add a ChaCha20-Poly1305 AEAD EVP implementation to libcrypto, from Adam
Langley's Chromium OpenSSL patches.
ok miod@
10 years ago
jsing
9ec5260ddd
Add an AEAD EVP interface to libcrypto, along with AES-GCM AEAD
implementations. This largely pulls in Adam Langley's AEAD patches from
Chromium's OpenSSL.
ok miod@
10 years ago
tedu
4514bdd79a
stop flushing streams in abort(). it's hackish and unsafe, and no longer
required. try to document this fact and some of the history.
with feedback from deraadt guenther millert
10 years ago
jsing
82c1207976
Add poly1305 to libcrypto utilising Andrew Moon's public domain
implementation.
ok miod@
10 years ago
jmc
4f0b6ce40e
zap trailing whitespace;
10 years ago
miod
65ef63a7ad
Fix format strings involving time_t arguments, fixes `ntpd -d' on sparc (and
probably more 32-bit platforms).
Problem noticed by tobiasu@; ok tobiasu@ dtucker@ sthen@ benno@
10 years ago
espie
b950df0d1c
these files have moved to libutil
10 years ago
miod
1a4a7a3239
Move the `pqueue' part of libcrypto, which is a glorified sorted linked list
of 64-bit data, and only used by DTLS, to libssl where it belongs.
Remove pqueue_print() which is a debugging interface and serves no useful
purpose, except for the regress test, which grows its own pqueue_print()
routine.
Bump libcrypto major and libssl minor.
WARNING: do not update your tree right now, more changes are coming, which
will ride the libcrypto major bump.
10 years ago
tedu
990b65b159
no md5crypt
10 years ago
tedu
5d44aecec4
remove md5crypt.
while changing things, add a crypt_checkpass wrapper that handles most of
the edge cases. (not quite ready for production, though.)
ok deraadt
10 years ago
espie
a7f9b5b34c
move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.
10 years ago
espie
c49c33b22a
tweak interface to do the right thing, after useful comments from millert@
(mostly use a calloc function to avoid potential integer overflow)
10 years ago
tedu
508b771a99
change to having four freelists per size, to reduce another source of
deterministic behavior. four selected because it's more than three, less
than five. i.e., no particular reason.
10 years ago
otto
d7088c5a04
fix MALLOC_STATS code that was broken in rev 1.159, not compiled in by default
10 years ago
deraadt
37fcd04989
wording improvements; David Vasek
10 years ago
deraadt
a14ce349c7
move reallocarray() to a seperate file so that -portable applications
can avoid reinventing the wheel
ok guenther schwarze
10 years ago
miod
2b4aa706d9
regen
10 years ago
miod
194ee296ec
Remove irrelevant devices from the ramdisk target; spotted by deraadt
10 years ago
halex
3a717658e6
comment style fix
ok crickets@
10 years ago
sthen
75a71ee2cd
pass daemon_flags to nsd-control when used to check/reload/stop nsd,
the only useful option here is to specify an alternative config path,
which must be used for these operations as well as for startup.
10 years ago
deraadt
7fa36fd938
miod forgot about fcrypt_b.c being needed, before he went off to get his
beauty sleep. He's probably having a nightmare about this right now....
ok tedu
10 years ago
tedu
11890a8cbe
don't give people bad ideas about pool_debug
10 years ago
miod
30ccf3f156
Sort CFLAGS, SRC and SSLASM stanzas by the directories they apply to, to make
these files similar in layout to the other md Makefile.inc; no functional
change.
10 years ago
tedu
a894866510
missing NULL checks to see if init is needed. found hard way by deraadt.
10 years ago
tedu
7100c7debd
fix stupid commit
10 years ago
tedu
54db51a88a
use explicit_bzero
10 years ago
tedu
54fc405fe7
clear a stack buffer with explicit_bzero
10 years ago
tedu
df773f2da3
move chacha context and buffer out of bss and allow mmap to place them
wherever it decides it would like them. first step. ok deraadt dlg djm
10 years ago
miod
8f084c73f2
Enable assembler code for DES. Assembler code for BN is commented out as it
uses the `umul' and `udiv' instructions directly, which are not supported
on v7 processors.
10 years ago
deraadt
11e026e9b2
delete useless test code
10 years ago
miod
9e87f680ad
Enable the assembler code for BN, which was lost quite some time ago.
10 years ago
miod
974c31ca77
Remove the !SSLASM conditional. Either there is an arch-specific Makefile.inc,
or the !SSLASM list of files applies. This allows for an arch-specific
Makefile.inc to not specify SSLASM.
10 years ago
miod
638fa5fb96
Enable assembler code for AES, DES, GCM, SHA1, SHA256 and SHA512.
The sparcv9 BN code is not enabled, as it expects to run on a 32-bit
userland and will need to be fixed for 64-bit userland first.
10 years ago
miod
8cbb01b51c
Enable assembler code for AES, BN (Montgomery), GCM128, SHA1, SHA256 and SHA512.
Note that GCM128 Neon code is currently not built (and thus not tested), as
the current toolchain does not support Neon instructions.
10 years ago
miod
31c291d25f
Correctly enable Montgomery code.
10 years ago
tedu
b213b4d39d
now that 5.5 has been released with compatibility for 2b hashes,
switch to generating them by default. prodded by deraadt and sthen
10 years ago
tedu
378adff9c2
1. Drop support for no minor. This variant doesn't exist anymore.
2. Pull up the actual minor processing code into the switch that
parses it.
3. atoi is actually simpler than strtonum in this case, but check the
input beforehand so we don't get unexpected results.
4. Slightly more consistent style between various parse and check and
increment operations on salt.
ok deraadt
10 years ago
martynas
b705f6a7c9
Annotate wide character routines so they get protected by Wbounded.
OK millert@
10 years ago
martynas
732efd43a8
- Provide extended-precision math constants req'd by POSIX
- Explicitly cast double-precision constants as needed for
FLT_EVAL_METHOD = 2 archs
OK guenther@, ratchov@
10 years ago
miod
c3f1c42b8f
Enable assembler bits for BN (Montgomery), SHA1 and SHA256.
Assembler bits for AES remain commented out as they run slower than the C code.
10 years ago
miod
62cf4a9553
Correctly enable assembler Montgomery routine.
10 years ago
miod
d226e2231e
Correctly enable assembler Montgomery routine.
10 years ago
miod
4a6d2807e8
Reenable assembler code for SHA384 and SHA512 now that it no longer miscomputes
things. Worth doing as it's twice faster than the C code.
10 years ago
miod
b3754d7e6e
Disable assembler version of SHA512 for now, it produces wrong results.
10 years ago
miod
4ccd8f7b9b
Enable use of assembly code for AES, BN (Montgomery), SHA1, SHA256 and SHA512.
RC4 assembler code is not used, as it runs about 35% slower than the C code.
10 years ago
miod
ccdf39aa22
Enable use of the assembly code for BN (Montgomery) and SHA1.
10 years ago
miod
5e5b6a434e
Enable use of the assembly code for AES, BN, SHA1, SHA256 and SHA512.
10 years ago
jmc
55b1910ad3
tweak previous; ok sthen
10 years ago
miod
f8379a3fa2
+ e_chacha.c, and bump minor
10 years ago