Commit Graph

11 Commits

Author SHA1 Message Date
Christian Heimes 743e0cd6b5 Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified
endianess detection and handling.
2012-10-17 23:52:17 +02:00
Christian Heimes 7707f6fd32 Issue #16234: Modify sha3's block_size method to return NotImplemented.
This makes the sha3 types unusable from the hmac module. HMAC-SHA3 hasn't been specified yet.
2012-10-14 22:16:27 +02:00
Christian Heimes 1f476504fe Update comment: SPARC requires proper alignment 2012-10-14 14:36:09 +02:00
Christian Heimes 12e6a53b99 get 64bit platforms without uint64 right again 2012-10-14 04:17:50 +02:00
Christian Heimes 784fde7cb4 Force 32bit Keccak implementation on SPARC. It look like the Solaris CC compiler doesn't like the address alignment. 2012-10-14 02:52:01 +02:00
Christian Heimes ba3e4a0bc0 Keccak: fromBytesToWord() and fromWordToBytes() are required on 64bit big endian platforms 2012-10-14 00:59:29 +02:00
Christian Heimes 8836eefb1e brg_endian.h is back again 2012-10-07 23:38:44 +02:00
Christian Heimes dbc573ff29 re-add brg_endian.h to debug issue in big endian SPARC machine 2012-10-07 22:44:41 +02:00
Christian Heimes 2649105cdd remove #warning from sha3module.c 2012-10-06 15:44:29 +02:00
Christian Heimes c018f57186 fix possible memory leak, dealloc newobj 2012-10-06 15:09:06 +02:00
Christian Heimes 4a0270d82b Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00