History log of /openbsd-current/lib/libutil/pkcs5_pbkdf2.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 21-Nov-2019 tedu

overwrite the key in failure modes in case the caller doesn't check.
ok deraadt


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.10 18-Apr-2017 deraadt

use freezero() instead of explicit_bzero+free


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.9 05-Feb-2015 millert

Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@


# 1.8 08-Jan-2015 deraadt

declare a local version of MIN(), call it MINIMUM()
(sorry, my other changes were accidentally premature)


# 1.7 07-Jan-2015 deraadt

Do not need sys/param.h


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 31-Jan-2014 tedu

explicit_bzero where useful


# 1.5 18-Jan-2014 jsing

Wrap long line.


Revision tags: OPENBSD_5_4_BASE
# 1.4 03-Jun-2013 tedu

Add bcrypt_pbkdf, a password based key derivation function using bcrypt.
Technically, it's a slight variant of bcrypt better suited for use as a
pluggable hash with PKCS #5 PBKDF2.
ok djm
(also tweak pkcs5_pbkdf2() prototype to have consistent types.)


Revision tags: OPENBSD_5_3_BASE
# 1.3 09-Sep-2012 matthew

Use "unsigned int" instead of BSD "u_int" in <util.h> so that it can
be included in source files that specify POSIX source. libutil isn't
a standard POSIX library, but no need to be gratuitously incompatible.
Fixes x11/st.

ok tedu, guenther, kettenis


# 1.2 06-Sep-2012 matthew

Move the commented out test program in pkcs5_pbkdf2.c into a proper
regress test.


# 1.1 06-Sep-2012 tedu

move pkcs5_pbkdf5 function to libutil so everybody can play with it
ok deraadt jsing matthew


Revision tags: OPENBSD_6_2_BASE
# 1.10 18-Apr-2017 deraadt

use freezero() instead of explicit_bzero+free


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.9 05-Feb-2015 millert

Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@


# 1.8 08-Jan-2015 deraadt

declare a local version of MIN(), call it MINIMUM()
(sorry, my other changes were accidentally premature)


# 1.7 07-Jan-2015 deraadt

Do not need sys/param.h


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 31-Jan-2014 tedu

explicit_bzero where useful


# 1.5 18-Jan-2014 jsing

Wrap long line.


Revision tags: OPENBSD_5_4_BASE
# 1.4 03-Jun-2013 tedu

Add bcrypt_pbkdf, a password based key derivation function using bcrypt.
Technically, it's a slight variant of bcrypt better suited for use as a
pluggable hash with PKCS #5 PBKDF2.
ok djm
(also tweak pkcs5_pbkdf2() prototype to have consistent types.)


Revision tags: OPENBSD_5_3_BASE
# 1.3 09-Sep-2012 matthew

Use "unsigned int" instead of BSD "u_int" in <util.h> so that it can
be included in source files that specify POSIX source. libutil isn't
a standard POSIX library, but no need to be gratuitously incompatible.
Fixes x11/st.

ok tedu, guenther, kettenis


# 1.2 06-Sep-2012 matthew

Move the commented out test program in pkcs5_pbkdf2.c into a proper
regress test.


# 1.1 06-Sep-2012 tedu

move pkcs5_pbkdf5 function to libutil so everybody can play with it
ok deraadt jsing matthew