summaryrefslogtreecommitdiffstats
path: root/Modules/sha1module.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18742: Expose the internal hash type object for ABCs.Christian Heimes2013-10-221-1/+10
|
* Change the builtin hash algorithms' names to lower case namesChristian Heimes2013-08-151-1/+1
| | | | as promised by hashlib's documentation.
* Issue #18599: Fix name attribute of _sha1.sha1() object. It now returnsChristian Heimes2013-07-301-1/+1
|\ | | | | | | | | 'SHA1' instead of 'SHA'. Add more tests for hashlib and hash object attributes
| * Issue #18599: Fix name attribute of _sha1.sha1() object. It now returnsChristian Heimes2013-07-301-1/+1
| | | | | | | | 'SHA1' instead of 'SHA'.
* | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macrosVictor Stinner2013-06-041-5/+1
| | | | | | | | multiprocessing.h: remove unused MIN and MAX macros
* | merge 3.3Benjamin Peterson2013-04-161-7/+2
|\ \ | |/
| * remove pointless code (closes #17738)Benjamin Peterson2013-04-161-7/+2
| |
* | Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() inChristian Heimes2013-01-031-0/+2
|\ \ | |/ | | | | | | non-pydebug builds. Several extension modules now compile cleanly when assert()s are enabled in standard builds (-DDEBUG flag).
| * Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() inChristian Heimes2013-01-031-0/+2
| | | | | | | | | | non-pydebug builds. Several extension modules now compile cleanly when assert()s are enabled in standard builds (-DDEBUG flag).
* | Issue #9566: Explicit downcast to fix compiler warnings on Win64Victor Stinner2012-10-301-1/+1
|/
* sha1_{init,process,done}: make staticdoko@ubuntu.com2012-06-211-3/+6
|
* Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)Victor Stinner2012-04-271-0/+1
| | | | | | * In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError()
* Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner2011-10-141-5/+3
|
* Implement PEP 393.Martin v. Löwis2011-09-281-7/+3
|
* Issue #9566: cast unsigned int to Py_ssize_t in md5 and sha1 modulesVictor Stinner2011-07-071-1/+1
| | | | Fix a compiler warning on Windows 64 bits.
* Issue #9566: use Py_ssize_t instead of intVictor Stinner2011-01-041-2/+2
|
* Rename some macros in the sha1 module to no longer conflict with termios.h.Brett Cannon2010-07-231-28/+28
|
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-39/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Fixed memory leak on failure. This is related to issue5403 but won't crash ↵Hirokazu Yamamoto2009-03-031-2/+7
| | | | on py3k.
* Fixes Issue #3745: Fix hashlib to always reject unicode and nonGregory P. Smith2009-02-121-5/+12
| | | | | buffer-api supporting objects as input no matter how it was compiled (built in implementations or external openssl library).
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-1/+1
| | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong.
* Zero-initialize buf. Fixes #3557.Martin v. Löwis2008-08-151-0/+1
|
* Use s* to receive data. Fixes #3552.Martin v. Löwis2008-08-141-10/+11
|
* Fix module initialization glitches.Martin v. Löwis2008-06-111-2/+0
|
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-5/+16
|
* Renamed PyString to PyBytesChristian Heimes2008-05-261-1/+1
|
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes2007-12-191-2/+2
|
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵Christian Heimes2007-12-021-2/+2
| | | | in intobject.h
* Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum2007-11-061-1/+1
| | | | | | | | | | | | | | No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list.
* Adds stand alone _md5 and _sha1 modules for use by hashlib on systemsGregory P. Smith2007-09-091-0/+537
when the OpenSSL library is either not present or not found by setup.py. These are derived from the public domain libtomcrypt (libtom.org) just like the existing sha256 and sha512 modules.