| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is the counterpart to block_init which is called from ALGnew.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
|
| |
|
|
|
|
|
| |
This should fix compilation on HP-UX 11.31. Thanks Adam Woodbeck for
reporting this.
|
|
|
|
| |
The solution is to include Python.h before string.h is included.
|
| |
|
|
|
|
|
|
|
| |
We use <sys/inttypes.h> on Solaris platforms that don't have <stdint.h>.
This should fix https://bugs.launchpad.net/pycrypto/+bug/518871, reported by
Sebastian Kayser.
|
|
|
|
|
|
|
| |
These are the easy ones. We don't release the GIL on cipher initialization,
hash initialization, or hash finalization, because those functions might make
Python API calls, and we would need to add a mechism for re-acquiring the GIL
in those cases.
|
| |
|
|
|
|
|
|
|
| |
Apparently OS X declares an "encrypt" function in its unistd.h.
Patch posted to Lauchpad by Kouki Hashimoto.
See https://bugs.launchpad.net/pycrypto/+bug/361058
|
|
|
|
| |
Handy command: nm -g --extern-only `find . -name \*.so`
|
|
|
|
|
| |
I wrote this implementation last year without looking at any other
implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because:
- Blowfish: Uses the original (ambiguous) PyCrypto license. The
documentation says "the Blowfish algorithm has been placed in the public
domain and can be used freely", but this seems to be referring to
patents, not copyright.
- DES: The file says "Copyright (C) 1993 Eric Young", and appears to have
been taken from SSLeay. The license of SSLeay is not GPL-compatible,
since it has an advertising clause.
- DES3: Same reason as for the DES module.
- IDEA: Patent-encumbered.
- RC5: Patent-encumbered.
- XOR: Insecure as a stream cipher, and it silently truncates "keys"
to 32 bytes. The strxor module is a better replacement if you want to
do a bitwise exclusive-or between strings.
|
|
|
|
|
| |
[project @ 2002-05-16 20:34:11 by akuchling]
Re-indent into Python C style; no other changes
|
|
[project @ 2002-05-16 16:30:50 by akuchling]
Move C implementation files into src/
|