miod
064d2ff729
Crank libcrypto minor (addition of BN_consttime_swap and CRYPTO_memcmp)
and libssl major (ssl_check_clienthello_tlsext split into two functions)
10 years ago
miod
717653a071
No longer define OPENSSL_NO_EC_NISTP_64_GCC_128 on amd64; requested by djm
10 years ago
miod
19582a6077
Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.
ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.
10 years ago
tedu
659d4a87d0
use char * for strings, saving casts. add return codes to base64 functions
10 years ago
tedu
09f67ccdde
fix an error in the stride calculations. the math only works for multiples
of the stride. don't overwrite past the end of the buffer, and also save
that amount for later so the array is completely filled. ok deraadt djm
reported by Dmitry Chestnykh (dchest)
10 years ago
schwarze
87bf6d22d3
Add some missing names to the NAME sections.
For inet(3), go the other way, remove some bogus symlinks.
Found while testing the new makewhatis(8).
ok jmc@
10 years ago
beck
6760fef4ba
put $OpenBSD$ back.. notice by philip.
10 years ago
schwarze
93c318776d
Update Copyright notice; ok otto@ beck@ deraadt@.
This is merely a by-product of figuring out the amount of phk@ code
contained herein; i'm not planning to hack on this file.
10 years ago
beck
c707ba23e7
I have discussed these licenses with Poul-Henning Kamp and he has agreed to
this license change. We will remember that we all still like beer.
10 years ago
beck
241e064849
Poul-Henning Kamp informed me he is allright with this licensing change.
10 years ago
tedu
ea175c36fd
oops, merge error
10 years ago
tedu
edb424679c
clear stack variables, suggested by djm
10 years ago
naddy
32386fdf7d
Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."
ok deraadt@, man pages ok jmc@
10 years ago
tedu
c830a7ee52
some improvements suggested by djm.
use better constant for salt size.
always copy ":" to gerror, in case somebody is dumb enough to overwrite it
timingsafe_bcmp before somebody whines about strcmp
10 years ago
tedu
521978eee8
two functions don't need to be exported
10 years ago
tedu
5ca97b2032
minimal change to implementation of bcrypt to not require static globals.
add some friendlier functions.
move the classic static data api into wrapper functions.
a few more changes to come...
10 years ago
tedu
661d769f4e
remove the never used bm string functions
10 years ago
tedu
5d4103f5b3
switch to shorter ISC license. this was ok with Niels Provos.
10 years ago
tedu
2a80bbb144
consolidate the base64 code in one place, and remove inadequate test code
10 years ago
tedu
3beb8e286a
right or wrong, bcrypt() is declared in pwd.h, not unistd.h
10 years ago
miod
7766679fe4
Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping
this hardware alive is becoming increasingly difficult, and I should heed the
message sent by the three disks which have died on me over the last few days.
Noone sane will mourn these ports anyway. So long, and thanks for the fish.
10 years ago
guenther
5ebaeabad3
lint is dead (long live the lint!), so stop using it as a cpp conditional
(namespace pollution!) or talking about its opinion on code.
ok krw@
10 years ago
tedu
0b9e1f8234
solar's testsuite revealed insufficient validation of invalid input hashes.
add a more complete check for the rounds parameter. ok deraadt
10 years ago
schwarze
0f060ca5c4
in HISTORY, say where this actually came from;
ok deraadt@ bentley@
10 years ago
tedu
d1419f7b10
remove redundant test
10 years ago
tedu
ddd68ca1c6
sticking strlen into a char leads to wraparound at 256. fix this and
introduce a new 'b' hash minor. still generate 'a' minors for now.
reported by solar designer. diff by some combination of solar and jca.
ok deraadt
10 years ago
stsp
8c495fa1f9
Remove unnecessary stdio.h include.
Patch by Jean-Philippe Ouellet ; ok krw@
10 years ago
tedu
a0c81f7a45
explicit_bzero where useful
10 years ago
jmc
8d7315b175
add explicit_bzero to NAME;
10 years ago
tedu
2beb8f104d
add explicit_bzero to libc. implementation subject to change, but start
the ball rolling. ok deraadt.
10 years ago
deraadt
425e578efb
Ouch... recommend arc4random, not random.
spotted by tedu
10 years ago
schwarze
fbd81370eb
obvious .Pa fixes; found with mandocdb(8)
10 years ago
schwarze
938b39d868
Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).
10 years ago
schwarze
7227c1c1df
Usually, you don't want macros in the .Nd line, so remove instances of .Tn
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET).
While here, remove .Tn markup from the same words in the body
of these pages, too.
10 years ago
schwarze
e2b8a435dc
Punctuation after macro arguments needs to be in a separate argument.
Found while testing mandocdb(8).
10 years ago
jsing
3d91c77a21
Wrap long line.
10 years ago
tedu
9bdaa18357
calling HashFinal with a null digest should crash, not be silently ignored
10 years ago
deraadt
b66e338b72
rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 support
is also pulled in
10 years ago
kettenis
b612c6c4a1
Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass the
right __dso_handle and have dlopen'ed shared objects run their atexit handlers
when they get unloaded. This is what Linux does, and several ports depend on
this behaviour (and will crash upon exit without this chang).
Based on an earlier diff from matthew@
Tested by ajacoutot@
ok deraadt@
11 years ago
eric
abf1c90f5d
constify data parameter in imsg_add() and imsg_compose()
ok deraadt@
11 years ago
tedu
d8bf2218c6
remove unneeded check for null context. ok deraadt gilles millert
11 years ago
tedu
daca58aea1
tweak comment
11 years ago
jmc
097b4e760e
fix double word error;
11 years ago
millert
d14d049245
Split out strncpy and strncat from strcpy and strcat manuals.
Requested by deraadt@
11 years ago
deraadt
bc8778bde6
pseudo-code corrections from Solar Designer <solar@openwall.com>
11 years ago
jmc
7197069ae1
no more regexp(3), so point to regex(3);
as advised by deraadt
11 years ago
deraadt
4c65102df3
fairly simple unsigned char casts for ctype
ok krw
11 years ago
benno
9acc266dad
document that ibuf_write() and msgbuf_write() can now return EAGAIN
from and with deraadt@
11 years ago
benno
82969df044
original bug diagnosed by sthen: automatic retry in msgbuf_write on
EAGAIN causes spinning.
fix from claudio:
"Let msgbuf_write return -1 with errno EAGAIN. The users then must
check if this was the case and readd the event or poll again. The
current handling in the imsg code is wrong for sure."
ok gilles
11 years ago
deraadt
a728e0155c
avoid arithetic on void *
ok guenther otto
11 years ago