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
jsing
233036e0f3
Add ChaCha to libcrypto, based on djb's public domain implementation.
ok deraadt@
10 years ago
tedu
74c23bc915
nibbles aren't enough random, use bytes. does a better job of picking
a free chunk at random and may allow to increase delayed chunk array.
ok otto
10 years ago
sthen
a82252ad47
first cut at documenting the change to malloc doing a partial 'junk' by
default and the new 'j' option to disable this; ok jmc@
10 years ago
dcoppa
9a6537b480
tedu ~/.klogin
10 years ago
sperreault
80275baf44
Implement AI_ADDRCONFIG
This is a getaddrinfo() flag that is defined thusly in RFC 3493:
If the AI_ADDRCONFIG flag is specified, IPv4 addresses shall be
returned only if an IPv4 address is configured on the local system,
and IPv6 addresses shall be returned only if an IPv6 address is
configured on the local system. The loopback address is not
considered for this case as valid as a configured address.
For example, when using the DNS, a query for AAAA records should
occur only if the node has at least one IPv6 address configured
(other than IPv6 loopback) and a query for A records should occur
only if the node has at least one IPv4 address configured (other
than the IPv4 loopback).
The flag is set by default when hints is NULL.
ok Eric Faurot, Jason McIntyre
10 years ago
okan
82176404fa
re-add _ppp for npppd here as well; ok ajacoutot
10 years ago
jsing
aafd2acc1e
We do not need a separate file for two compatibility wrapper functions.
ok miod@
10 years ago
yasuoka
ed2d182d9e
Get back "_ppp" user and "_ppp" group. From now they will be solely
used by npppd.
ok deraadt
10 years ago
bluhm
69a1f54006
Redirecting stderr to /dev/null suppresses all errors. Instead use
the new status=none feature to make dd quiet.
OK halex@
10 years ago
tedu
296ccc2fdf
jmc spotted more ruptime tentacles
10 years ago
tedu
f6ba35880f
rm rwhod tentacles
10 years ago
aoyama
b94f030537
regen
10 years ago
aoyama
b61302dbc3
Add pcex{mem,io} entries to MAKEDEV.
ok miod@
10 years ago
tedu
c0d30f0eb0
remove Z option and default to something halfway to J.
we always junk small chunks now, and the first part of pages,
but only after free. J still does the old thing. j disables everything.
Consider experimental as we evaluate performance in the real world.
ok otto
10 years ago
espie
41f1e88953
explain a bit more what's going on for stupid me.
okay otto@
10 years ago
ajacoutot
bc9e3c6e93
Remove krb5 bits from rc(8).
ok reyk@
10 years ago
otto
8a0e8854ef
Better, cleaner hash function that computes the same on be and le archs.
Should improve sparc64 and other be archs. ok matthew@ miod@
10 years ago
beck
e96a30fc99
Make libssl and libcrypto compile with -Werror
ok miod@
10 years ago
jmc
c1238dcae0
- one more mallocarray -> reallocarray
- use <>
10 years ago
tedu
07d1cf3ec2
change mallocarray to reallocarray. useful in a few more situations.
malloc can, as always, be emulated via realloc(NULL).
ok deraadt
10 years ago
reyk
0b6d3f347f
Remove the kerberos login methods.
ok henning@
10 years ago
reyk
43494a61b1
Remove kerberosV, it is not special anymore.
ok henning@
10 years ago
reyk
e6ebb39335
Remove kerberosV from etc/
ok deraadt@ guenther@
10 years ago
reyk
2c8daf3056
Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).
ok deraadt@
10 years ago
guenther
3010025998
Add errc/verrc/warnc/vwarnc family: versions of err/... that take the errno
value to use for the strerror() message as an argument. Originally from
FreeBSD 3.0
Patch from Steffen Nurpmeso (sdaoden (at) gmail.com) with minor tweaks.
10 years ago
guenther
9eccc10b89
Remove historical comment about <varargs.h> and warn people from using
the _* functions outside libc
10 years ago
deraadt
58a64bf376
correct man page section
10 years ago
deraadt
00d28c4faf
Introducing: void *mallocarray(size_t nmemb, size_t size);
Like calloc(), except without the cleared-memory gaurantee
ok beck guenther, discussed for more than a year...
10 years ago
okan
7cf71550c8
remove rshd example; ok sthen
10 years ago