1
0
mirror of https://github.com/rg3/libbcrypt.git synced 2026-10-25 00:19:18 +03:00

22 Commits

Author SHA1 Message Date
Ricardo Garcia
d4bac5883f Make all nonstatic functions start with bcrypt_
This is irrelevant for the dynamic library thanks to
-fvisibility=hidden, but it can be important to avoid symbol name
collisions in the static library.
2017-12-07 12:42:07 +01:00
Ricardo Garcia
6e766f40de Remove the _base64 suffix from the SHA-512 and SHA3-512 functions 2017-12-07 10:49:11 +01:00
Ricardo Garcia
a5cb49d267 Add bcrypt_sha512_base64 and bcrypt_sha3_512_base64 2017-12-06 00:17:08 +01:00
Ricardo Garcia
e7dc89cbc4 Make the default work factor an exported macro 2017-11-26 22:35:50 +01:00
Ricardo Garcia
6e5f4bba8f Make libbcrypt a shared library and move tests to their own file 2017-11-26 22:29:37 +01:00
Ricardo Garcia
914085b5bb Use -fPIC and set symbol visibility for the different symbols 2017-11-26 20:41:13 +01:00
Ricardo Garcia
e74670a073 Replace /dev/urandom with getentropy as the entropy source 2017-11-26 20:33:04 +01:00
Ricardo Garcia
b1e3dea0a1 Update email address 2015-05-31 14:42:16 +02:00
Ricardo Garcia
3abaecaadc Update release years 2015-05-16 23:33:02 +02:00
Ricardo Garcia
96dbd34061 Change bcrypt_checkpw to report errors and document its exit codes 2015-05-16 23:30:02 +02:00
Ricardo Garcia
9bc05149bc Improve timing_safe_strcmp
Check length before iterating and use unsigned char for bitwise
operations.
2015-05-16 23:28:04 +02:00
Alex Young
e27fcc3d4b implemented time safe string comparison 2015-05-16 10:08:49 +01:00
Alex Young
7a5bc2a2ae updated interface for consistency with py-bcrypt 2015-05-16 09:13:21 +01:00
Alex Young
5babb78234 bcrypt_verify function for simplified comparisons 2015-05-14 20:52:18 +01:00
Ricardo Garcia
8ab7fae5c1 Better EOF and zero count reads handling in try_read (fixes #3) 2014-09-30 19:35:16 +02:00
Ricardo Garcia
1e94a4255b Avoid arithmetic with void pointers 2014-09-30 19:27:29 +02:00
Ricardo Garcia
166c2bd00c Drop need for crypt_blowfish.a and a modified Makefile 2014-07-13 10:15:14 +02:00
Ricardo Garcia
3a7c907d48 Avoid sloppy use of assert in tests and examples 2014-02-15 14:02:57 +01:00
Ricardo Garcia
04a7947cca Add CC0 license to improve legal status 2014-02-07 18:16:33 +01:00
Ricardo Garcia
4aefe29a06 Randomize input and not the salt itself 2011-08-10 09:45:32 +02:00
Ricardo Garcia
d63e5fc787 Reorganize bcrypt_gensalt implementation and document its error codes 2011-04-07 00:19:54 +02:00
Ricardo Garcia
c583484ca2 Initial commit 2011-04-06 21:38:14 +02:00