| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This should fix a FreeBSD build issue:
https://bugs.launchpad.net/pycrypto/+bug/1264130
Thanks to Richard Mitchell <richard.j.mitchell@gmail.com> for suggesting
how to fix this.
|
|
|
|
| |
tomcrypt_des.c
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This is the counterpart to block_init which is called from ALGnew.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
The solution is to include Python.h before string.h is included.
|
| |
|
|
|
|
|
|
|
| |
A new module (blockalgo) has been added. It contains a class (BlockAlgo)
all ciphers derive from. The only purpose of such base class
is to centralize all general documentation applicable to all block
ciphers (e.g. modes) into a single file.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
case-insensitive filesystems
I don't know if this would have caused problems on Windows, but I'm doing this
anyway to avoid any potential issues.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/
|