summaryrefslogtreecommitdiff
path: root/include/apr_md5.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix doxygen error + be consistent in parameter namingjailletc362015-03-251-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1669058 13f79535-47bb-0310-9956-ffa450edef68
* Add support for bcrypt encoded passwords.sf2012-07-051-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | The bcrypt implementation uses code from crypt_blowfish written by Solar Designer <solar openwall com>. The x86 assembler implementation is not used becaused it did not result in significant speed-up on my system. apr_bcrypt_encode creates hashes with "$2y$" prefix, but apr_password_validate also accepts the old prefix "$2a$". * crypto/crypt_blowfish.[ch]: Imported from crypt_blowfish 1.2. The only change compared to the upstream version is setting BF_ASM to 0. * crypto/apr_passwd.c: Add bcrypt support to apr_password_validate, add apr_bcrypt_encode * test/testpass.c: Add new tests, for bcrypt and the old schemes. * include/apr_md5.h: apr_password_validate() is left here fore backward compatibility and apr_bcrypt_encode() is added here as well. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357780 13f79535-47bb-0310-9956-ffa450edef68
* Convert various APU_DECLARE into APR_DECLARE.bojan2009-07-161-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@794523 13f79535-47bb-0310-9956-ffa450edef68
* Merge APR-Util trunk into APR.pquerna2009-03-241-0/+162
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@757704 13f79535-47bb-0310-9956-ffa450edef68
* MD5 is crypto. It belongs in crypto. And as far as I can tell, thiswrowe2002-07-171-187/+0
| | | | | | | didn't even cause any hassles. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63693 13f79535-47bb-0310-9956-ffa450edef68
* Leftovers from my size_t hunt before the weekend.wrowe2002-07-081-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63586 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Add the rest of the doxygen changes for APR.rbb2001-08-121-7/+8
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62147 13f79535-47bb-0310-9956-ffa450edef68
* - adds some trivial error checking. Maybe someonejerenkrantz2001-06-041-0/+11
| | | | | | | | | | | | | | | | | | wants to complete this by adding the less trivial error checks? - adds a direct md5 computation function: apr_status_t apr_md5(unsigned char digest[MD5_DIGESTSIZE], const unsigned char *input, apr_size_t inputLen); This will return the md5 digest of the given input block. Submitted by: Sander Striker <striker@samba-tng.org> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61693 13f79535-47bb-0310-9956-ffa450edef68
* Code reformat and APRization of types.jerenkrantz2001-06-021-10/+8
| | | | | | | | Submitted by: Sander Striker <striker@samba-tng.org> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61690 13f79535-47bb-0310-9956-ffa450edef68
* Byte counts are apr_size_t, win32 declares a goofy ptrdiff_t thatwrowe2001-05-151-2/+2
| | | | | | | corresponds to a normal ssize_t. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61642 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001fielding2001-02-161-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakedougm2001-02-081-11/+11
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
* Add remaining APR_DECLARE()s to all headers. Conditionally addedwrowe2001-01-181-6/+6
| | | | | | | | | | | | | | | | | | | | APR_DECLARES() to the sources, based on compilation emits (there are many that should be changed eventually, but the compiler will emit errors if those sources are added for win32). This change also splits libapr from apr, so the two projects are compiled seperately. Both .dsp files must be kept up-to-date with source file revisions. Finally, libapr.def is no longer needed - so it is gone. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
* Make the APR headers sane.gstein2000-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | *) Reduce the dependencies between APR headers. This assists APR clients who generate dependencies, and (used to) pick up "all" of the APR headers. Basically, this was trimming back the headers to just what was needed. Some unneeded system headers were removed, too. The most common headers to put back in were: apr.h, apr_pools.h, and apr_errno.h. *) move apr_pool_t declaration and a few pool functions from apr_general.h to apr_pools.h. *) move kill_conditions and process_chain from apr_pools.h to apr_thread_proc.h. *) move apr_note_subprocess() from apr_general.h to apr_thread_proc.h *) add stdio.h to apr_pools.c (compensate for removal from apr_general.h) *) add apr_lib.h to apr_strnatcmp.c (compensate for apr_strings.h no longer including apr_lib.h) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60796 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolswrowe2000-10-161-5/+5
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...wrowe2000-08-061-13/+14
| | | | | | | | | | | | | see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
* Document all of the public APR structures with DocBook.rbb2000-08-051-8/+13
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60477 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_dougm2000-08-021-11/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* Update apr_md5.h to use ScanDocrbb2000-07-231-52/+34
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60419 13f79535-47bb-0310-9956-ffa450edef68
* Document the MD5 functions in APR.rbb2000-07-051-0/+61
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60296 13f79535-47bb-0310-9956-ffa450edef68
* Mass update of API_IMPORT/EXPORT symbols TO APR_ symbols.wrowe2000-05-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | APR is -NOT- the Apache server, so the import/export declations cannot use the same defined symbols. Other minor changes API_THREAD_PROC is now APR_THREAD_PROC. API_VAR_IMPORT/EXPORT are now APR_IMPORT/EXPORT_VAR, to allow easier grepping. The new compilation switches APR_STATIC and APR_EXPORT_SYMBOLS allow the builder to select either static linked or the creation of the export symbols for APR. The aprlib and aprlibdll .dsp projects now include the later symbol. More cleanups from recent commits are still needed, as well as a thorough review of the distinction between APR_EXPORT and APR_EXPORT_NONSTD. The later is used only for pure __cdecl required functions, such as variable arguments (not va array arguments, those are not an issue.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60101 13f79535-47bb-0310-9956-ffa450edef68
* Provide a dummy implementation of ap_MD5SetXlate() ontrawick2000-05-181-0/+2
| | | | | | | | | | | platforms where APR doesn't implement character set translation. This is in the same style as the dummy routines in apr_xlate.h. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60067 13f79535-47bb-0310-9956-ffa450edef68
* serious bug fix:trawick2000-05-061-3/+10
| | | | | | | | | | | | | | | | | htdigest didn't init the first parm to ap_open(), so ap_open() segfaults thinking it was passed valid storage build portability: make most src/lib/apr/test/Makefile.in compatible with OS/390 make (no -o outfile after infile specified) MD5 translation support: when APR_HAS_XLATE, low-level routines allow translation handle to be specified when CHARSET_EBCDIC, password-specific routines always translate, but client app must set handle before using git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60027 13f79535-47bb-0310-9956-ffa450edef68
* Finished move of ap_md5 routines to apr_md5. Removed ap_md5.h.fielding2000-04-231-6/+6
| | | | | | | | | Replaced more magic numbers with MD5_DIGESTSIZE. Yuck. Submitted by: William Rowe, Roy Fielding git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59935 13f79535-47bb-0310-9956-ffa450edef68
* Replace APR_MD5_CTX with ap_MD5_ctx_t, as suggested by Bill Rowe.fielding2000-04-231-6/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59934 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1fielding2000-03-311-34/+31
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-101-9/+9
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* The next step in removing the APR HAVE_*_H leak. This removes all of thoserbb1999-12-011-7/+0
| | | | | | | | | checks from the public include files, and removes all unnecessary #include of system headers from public APR headers. The final step will add back in the checks once I can protect the namespace. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59495 13f79535-47bb-0310-9956-ffa450edef68
* Update some dependancies. Move the final two files out of apr/inc and intorbb1999-11-231-1/+0
| | | | | | | | apr/include. Basically just finish some cleanup from some changes I've been making over the last two days. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59485 13f79535-47bb-0310-9956-ffa450edef68
* Begin to update apr/lib files to follow the standard APR function format.rbb1999-11-221-5/+5
| | | | | | | | This is the incredibly low hanging fruit, where all I am doing is standardizing the return codes for functions that already returned int's. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59484 13f79535-47bb-0310-9956-ffa450edef68
* Changed pools to contexts. Tested with prefork and pthread mpm's. I'llrbb1999-08-311-5/+5
| | | | | | | check this out tomorrow and make sure everything was checked in correctly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59183 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionrbb1999-08-171-0/+128
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68