History log of /openbsd-src/lib/libc/crypt/bcrypt.c (Results 26 – 50 of 58)
Revision Date Author Comments
# 60bc2a0f 23-Mar-2014 tedu <tedu@openbsd.org>

two functions don't need to be exported


# 9573d548 23-Mar-2014 tedu <tedu@openbsd.org>

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...


# be33bfdf 22-Mar-2014 tedu <tedu@openbsd.org>

switch to shorter ISC license. this was ok with Niels Provos.


# 419393fb 19-Mar-2014 tedu <tedu@openbsd.org>

consolidate the base64 code in one place, and remove inadequate test code


# 0e59d8e3 24-Feb-2014 tedu <tedu@openbsd.org>

solar's testsuite revealed insufficient validation of invalid input hashes.
add a more complete check for the rounds parameter. ok deraadt


# a8dd92c8 17-Feb-2014 tedu <tedu@openbsd.org>

remove redundant test


# 4ffb3abb 17-Feb-2014 tedu <tedu@openbsd.org>

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 a

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

show more ...


# 51141693 19-Dec-2013 deraadt <deraadt@openbsd.org>

pseudo-code corrections from Solar Designer <solar@openwall.com>


# 769d2f2f 04-Sep-2012 tedu <tedu@openbsd.org>

arc4random_buf is the easy way to fill a buffer now. ok deraadt


# 426a059f 02-Apr-2008 millert <millert@openbsd.org>

Zero state buffers on return. OK deraadt@


# 4b0565fd 19-Mar-2007 ray <ray@openbsd.org>

Get rid of useless #if 0 block, especially since the code is included
immediately after.

OK millert@.


# 0420c874 20-Feb-2007 ray <ray@openbsd.org>

Change hard coded numbers to sizeof(buf). Also change some
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size.

Based on diff from Charles Longeau <chl at tuxfamily dot org> lon

Change hard coded numbers to sizeof(buf). Also change some
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size.

Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago.

OK millert@.

show more ...


# 8537e1c9 04-Jul-2006 otto <otto@openbsd.org>

allocate gsalt large enough; from Matthew R. Dempsky <mrd at alkemio
dot org>; ok djm@ deraadt@


# 21e836b7 03-Apr-2006 deraadt <deraadt@openbsd.org>

be more careful with atoi() result; ok otto


# e0c55b37 22-Dec-2004 otto <otto@openbsd.org>

Test the upper limit for the max # of rounds to, to avoid wrapping and ending
up with a low number of rounds. Spotted by mpech@; ok mpech@ millert@


# d95d3dc4 07-Aug-2003 deraadt <deraadt@openbsd.org>

ansi


# 74637cb2 25-Jun-2003 deraadt <deraadt@openbsd.org>

protos


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 6dd23de7 04-Jan-2001 todd <todd@openbsd.org>

grammer/spelling


# 296b7048 02-Aug-2000 provos <provos@openbsd.org>

return error if salt is too small; pr 1336


# 27ad40b1 10-Aug-1998 provos <provos@openbsd.org>

fix base64 encoding, this problem was reported by
Solar Designer <solar@false.com> some time ago.


# 2ef6c3f7 18-Feb-1998 provos <provos@openbsd.org>

#if __STDC__ -> #ifdef __STDC__, now all of them.


# 8f9b423b 10-Sep-1997 deraadt <deraadt@openbsd.org>

indentation cleanup


# b7113356 25-Jul-1997 mickey <mickey@openbsd.org>

#if __STDC__ --> #ifdef __STDC__


123