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

88 Commits

Author SHA1 Message Date
Ricardo Garcia
120abf91e3 Clarify OpenBSD build has not been tested 2017-12-14 21:46:03 +01:00
Ricardo Garcia
4caf15bd4d Remove references to nonexistent DoS dangers with this implementation 2017-12-14 21:38:27 +01:00
Ricardo Garcia
f9fb52620d Make sure the C compiler choice is respected in crypt_blowfish 2017-12-12 20:54:05 +01:00
Ricardo Garcia
c992dc4074 Use = instead of ?= when assigning values to installation paths 2017-12-12 20:53:06 +01:00
Ricardo Garcia
4c3318c097 Make sure -fPIC and -fvisibility=hidden are always used 2017-12-12 20:52:12 +01:00
Ricardo Garcia
1ed266f012 Fix long-standing typo in the README file 2017-12-12 20:28:48 +01:00
Ricardo Garcia
94c1ce9f5a Minor changes to the CAVEATS manpage section 2017-12-07 12:52:00 +01:00
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
eb61e1d0f2 Unify examples in header and manpage 2017-12-07 11:21:35 +01:00
Ricardo Garcia
609867630c Minor documentation fixes and improvements 2017-12-07 11:21:13 +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
8ce9ada9d3 Make manpage links for the base64 functions 2017-12-06 12:30:29 +01:00
Ricardo Garcia
b4f735ae4b Make internal keccak functions static 2017-12-06 12:27:28 +01:00
Ricardo Garcia
6e5f00a790 Make internal base64 functions and structures static 2017-12-06 12:23:24 +01:00
Ricardo Garcia
dd7a73a29c Create a static library in addition to the shared one 2017-12-06 12:22:32 +01:00
Ricardo Garcia
52c89c4f59 Run check and check_threads under crypt_blowfish as part of the "test" target 2017-12-06 00:17:48 +01:00
Ricardo Garcia
a5cb49d267 Add bcrypt_sha512_base64 and bcrypt_sha3_512_base64 2017-12-06 00:17:08 +01:00
Ricardo Garcia
36a9ee507a Rename the project from "bcrypt" to "libbcrypt" 2017-12-03 10:25:04 +01:00
Ricardo Garcia
3119d2b6f4 Minor improvements to the INSTALL file 2017-12-03 09:50:57 +01:00
Ricardo Garcia
ed937bfe62 Minor improvement to the README file 2017-12-03 09:44:41 +01:00
Ricardo Garcia
15e31895da Fix manpage (format and missing "*") 2017-12-02 23:23:37 +01:00
Ricardo Garcia
d1b13ffd23 Add an INSTALL file 2017-12-01 23:51:40 +01:00
Ricardo Garcia
5fc6812b4b Mention the manpage in the README file 2017-12-01 23:35:01 +01:00
Ricardo Garcia
f80373ae67 Mention the generated hashes are null-terminated strings in every relevant place 2017-12-01 23:31:10 +01:00
Ricardo Garcia
d0b84ebb75 Mention pkg-config support in the manpage 2017-12-01 23:31:10 +01:00
Ricardo Garcia
afc887ed1a Include an example in the manpage 2017-12-01 23:31:10 +01:00
Ricardo Garcia
28adbb46fc Separate the definition of MAN3DIR to the derived paths block 2017-12-01 23:31:10 +01:00
Ricardo Garcia
3c8f9f903e Separate the include subdirectory to its own variable 2017-12-01 23:31:10 +01:00
Ricardo Garcia
46ca7f1ffd Create a pkgconfig file 2017-12-01 23:31:10 +01:00
Ricardo Garcia
77e55b5015 Do not list crypt_blowfish sources and object files explicitly 2017-11-29 07:25:10 +01:00
Ricardo Garcia
10802d09d9 Run ranlib on crypt_blowfish.a just in case 2017-11-29 00:39:30 +01:00
Ricardo Garcia
d3ef711eca Generate manpage as part of the "all" target 2017-11-29 00:36:14 +01:00
Ricardo Garcia
33db4fddca Avoid parallel calls to recursive make 2017-11-29 00:33:34 +01:00
Ricardo Garcia
435e70fcf4 Make non-file targets phony 2017-11-29 00:10:36 +01:00
Ricardo Garcia
04d146af6c Improve Makefile comments 2017-11-29 00:10:20 +01:00
Ricardo Garcia
69ee73b76e Avoid relinking the library file due to a phony dependency 2017-11-29 00:10:00 +01:00
Ricardo Garcia
c9aeb46e26 Make sure we are using the same compiler everywhere 2017-11-29 00:08:40 +01:00
Ricardo Garcia
7d7f97178a Initial version of an install target 2017-11-28 23:03:15 +01:00
Ricardo Garcia
842f410f97 Provide a manpage for the library 2017-11-28 23:02:59 +01:00
Ricardo Garcia
fd62756d66 Update ignore pattern for the shared library 2017-11-28 20:17:02 +01:00
Ricardo Garcia
069da71e86 Make the soname and sofile with a link script when building tests 2017-11-27 22:30:46 +01:00
Ricardo Garcia
81d4f02d9a Use only the major number in the soname 2017-11-27 22:29:13 +01:00
Ricardo Garcia
0189671fbf Put -fPIC -fvisibility=hidden in their own var to reuse when linking 2017-11-27 22:27:03 +01:00
Ricardo Garcia
3a293291d5 Update copyright year in bcrypt.h 2017-11-26 23:21:41 +01:00
Ricardo Garcia
c25451f440 Update .gitignore patterns 2017-11-26 22:55:20 +01:00
Ricardo Garcia
ee8a38427d Make object files depend on bcrypt.h 2017-11-26 22:54:59 +01:00
Ricardo Garcia
9f44232e6c Make tests a bit more useful 2017-11-26 22:54:43 +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