python-cryptoplus.git
10 years agoImprove Englishmaster
Philippe Teuwen [Sat, 22 Mar 2014 18:47:15 +0000 (22 19:47 +0100)]
Improve English

10 years agoFixes indentation error
Alex Hughson [Mon, 3 Feb 2014 21:35:52 +0000 (3 21:35 +0000)]
Fixes indentation error

10 years agoFixes an annoying installation issue on recent distributions...
Adam Laurie [Wed, 9 Oct 2013 18:53:41 +0000 (9 20:53 +0200)]
Fixes an annoying installation issue on recent distributions...

11 years agoNo more arbitrary default value for segment_size in CFB mode (thanks Adam Laurie)
Philippe Teuwen [Sun, 16 Sep 2012 14:19:06 +0000 (16 16:19 +0200)]
No more arbitrary default value for segment_size in CFB mode (thanks Adam Laurie)

13 years agoUse IV for AES-CMAC mode
Adam Laurie [Thu, 4 Nov 2010 17:40:19 +0000 (4 18:40 +0100)]
Use IV for AES-CMAC mode

Signed-off-by: Philippe Teuwen <phil-git@teuwen.org>
15 years agoHappier pylint...
Philippe Teuwen [Fri, 14 Nov 2008 01:07:31 +0000 (14 02:07 +0100)]
Happier pylint...

15 years agoRadioGatun: further parametrized
Christophe Oosterlynck [Thu, 13 Nov 2008 17:39:59 +0000 (13 18:39 +0100)]
RadioGatun: further parametrized

doesn't crash anymore when changing beltWidth and using a beltLength<13

15 years agoHash API: unified -> default value for data in new() is None instead of ""
Christophe Oosterlynck [Wed, 12 Nov 2008 16:53:42 +0000 (12 17:53 +0100)]
Hash API: unified -> default value for data in new() is None instead of ""

15 years agoVarious fixes for RadioGatun
Christophe Oosterlynck [Wed, 12 Nov 2008 16:50:07 +0000 (12 17:50 +0100)]
Various fixes for RadioGatun

- F_I() and XOR for input mapping are now 1 function (speed improvement)
- Parametrized remaining constants in R()
- doctests: now also for other hashlengths besides 256 bits
            and for wordlengths 16 and 8
- ...

15 years agoLicense includes hash functions
Christophe Oosterlynck [Mon, 10 Nov 2008 09:01:19 +0000 (10 10:01 +0100)]
License includes hash functions

15 years agoMerge branch 'hash_module'
Christophe Oosterlynck [Tue, 28 Oct 2008 13:52:09 +0000 (28 14:52 +0100)]
Merge branch 'hash_module'

15 years agoHash: added doctests + little fixeshash_module
Christophe Oosterlynck [Thu, 23 Oct 2008 20:08:23 +0000 (23 22:08 +0200)]
Hash: added doctests + little fixes

15 years agoPBKDF2: added doctest
Christophe Oosterlynck [Thu, 23 Oct 2008 18:25:28 +0000 (23 20:25 +0200)]
PBKDF2: added doctest

15 years agoRadioGatun: "count" is int instead of list
Christophe Oosterlynck [Thu, 23 Oct 2008 18:24:37 +0000 (23 20:24 +0200)]
RadioGatun: "count" is int instead of list

15 years agoRadioGatun: fixed copy() method
Christophe Oosterlynck [Thu, 23 Oct 2008 10:15:06 +0000 (23 12:15 +0200)]
RadioGatun: fixed copy() method

deepcopy can be used

15 years agoRadioGatun: added testvectors
Christophe Oosterlynck [Thu, 23 Oct 2008 09:54:20 +0000 (23 11:54 +0200)]
RadioGatun: added testvectors

tests for radiogatun[32] and radiogatun[64] from
http://radiogatun.noekeon.org/

15 years agoRadioGatun: little error
Christophe Oosterlynck [Thu, 23 Oct 2008 09:30:13 +0000 (23 11:30 +0200)]
RadioGatun: little error

15 years agoRadioGatun: first version
Christophe Oosterlynck [Wed, 22 Oct 2008 16:25:36 +0000 (22 18:25 +0200)]
RadioGatun: first version

15 years agoMerge branch 'hash_module' of git+ssh://tiftof@repo.or.cz/srv/git/python-cryptoplus...
Christophe Oosterlynck [Thu, 16 Oct 2008 21:51:20 +0000 (16 23:51 +0200)]
Merge branch 'hash_module' of git+ssh://tiftof@repo.or.cz/srv/git/python-cryptoplus into hash_module

15 years agoSHA512: testvectors
Christophe Oosterlynck [Thu, 16 Oct 2008 21:49:57 +0000 (16 23:49 +0200)]
SHA512: testvectors

15 years agotypos
Philippe Teuwen [Tue, 14 Oct 2008 17:33:36 +0000 (14 19:33 +0200)]
typos

15 years agoCFB: added segment_size to docstring of the cipher wrappers
Christophe Oosterlynck [Thu, 16 Oct 2008 20:01:47 +0000 (16 22:01 +0200)]
CFB: added segment_size to docstring of the cipher wrappers

15 years agotypos
Philippe Teuwen [Tue, 14 Oct 2008 22:29:29 +0000 (15 00:29 +0200)]
typos

15 years agoSlight change in copyright notice
Philippe Teuwen [Thu, 16 Oct 2008 20:45:17 +0000 (16 22:45 +0200)]
Slight change in copyright notice

15 years agoSlight change in copyright notice
Philippe Teuwen [Thu, 16 Oct 2008 20:45:17 +0000 (16 22:45 +0200)]
Slight change in copyright notice

15 years agoCFB: added segment_size to docstring of the cipher wrappers
Christophe Oosterlynck [Thu, 16 Oct 2008 20:01:47 +0000 (16 22:01 +0200)]
CFB: added segment_size to docstring of the cipher wrappers

15 years agoadded whole SHA2 family from http://reikon.us/sha2/
Christophe Oosterlynck [Thu, 16 Oct 2008 16:16:37 +0000 (16 18:16 +0200)]
added whole SHA2 family from reikon.us/sha2/

15 years agoinitial population of Hash module
Christophe Oosterlynck [Thu, 16 Oct 2008 14:45:58 +0000 (16 16:45 +0200)]
initial population of Hash module

not very usable, just an initial structure

15 years agoMangling email addresses against spammers, hope it's not too late already...
Philippe Teuwen [Wed, 15 Oct 2008 21:35:10 +0000 (15 23:35 +0200)]
Mangling email addresses against spammers, hope it's not too late already...
(cherry picked from commit 3a6586eb529bf667ee04e814c63384fa215f4a5b)

15 years agoMangling email addresses against spammers, hope it's not too late already...
Philippe Teuwen [Wed, 15 Oct 2008 21:35:10 +0000 (15 23:35 +0200)]
Mangling email addresses against spammers, hope it's not too late already...

15 years agotypos
Philippe Teuwen [Tue, 14 Oct 2008 22:29:29 +0000 (15 00:29 +0200)]
typos

15 years agoMerge branch 'master' of ssh://doegox@repo.or.cz/srv/git/python-cryptoplus
Philippe Teuwen [Tue, 14 Oct 2008 22:27:17 +0000 (15 00:27 +0200)]
Merge branch 'master' of ssh://doegox@repo.or.cz/srv/git/python-cryptoplus

15 years agopadding added to test_doctests.py + little doc update in blockcipher.py
Christophe Oosterlynck [Tue, 14 Oct 2008 20:31:55 +0000 (14 22:31 +0200)]
padding added to test_doctests.py + little doc update in blockcipher.py

15 years agotypos
Philippe Teuwen [Tue, 14 Oct 2008 17:33:36 +0000 (14 19:33 +0200)]
typos

15 years agoadded LICENSE file and added license to padding.py
Christophe Oosterlynck [Tue, 14 Oct 2008 17:23:24 +0000 (14 19:23 +0200)]
added LICENSE file and added license to padding.py

15 years agopadding: updated docstrings
Christophe Oosterlynck [Tue, 14 Oct 2008 16:55:46 +0000 (14 18:55 +0200)]
padding: updated docstrings

15 years agosimplified padding using chr() and ord()
Christophe Oosterlynck [Tue, 14 Oct 2008 16:46:49 +0000 (14 18:46 +0200)]
simplified padding using chr() and ord()

15 years agoremoved roundup
Christophe Oosterlynck [Tue, 14 Oct 2008 16:38:18 +0000 (14 18:38 +0200)]
removed roundup

15 years agoupdated padding
Christophe Oosterlynck [Tue, 14 Oct 2008 16:37:49 +0000 (14 18:37 +0200)]
updated padding

15 years agodefault "segment size" now set in blockcipher.py instead of wrappers
Christophe Oosterlynck [Tue, 14 Oct 2008 16:03:52 +0000 (14 18:03 +0200)]
default "segment size" now set in blockcipher.py instead of wrappers

15 years agochaining modes accessed like stream cipher record amount of total bytes
Christophe Oosterlynck [Tue, 14 Oct 2008 15:57:19 +0000 (14 17:57 +0200)]
chaining modes accessed like stream cipher record amount of total bytes

needed for adding padding

15 years agoblockcipher.py: updated docstring of final()
Christophe Oosterlynck [Tue, 14 Oct 2008 15:42:51 +0000 (14 17:42 +0200)]
blockcipher.py: updated docstring of final()

15 years agoCFB: added support for "segmentsize"
Christophe Oosterlynck [Tue, 14 Oct 2008 14:43:13 +0000 (14 16:43 +0200)]
CFB: added support for "segmentsize"

previously the segmentsize wasn't explicitly used in the code and the CFB
mode acted as if the segmentsize was equal to the blocksize.

15 years agoIV default is an "all zero" string by default
Christophe Oosterlynck [Tue, 14 Oct 2008 12:56:42 +0000 (14 14:56 +0200)]
IV default is an "all zero" string by default

15 years agorestructered padding
Christophe Oosterlynck [Tue, 14 Oct 2008 12:05:20 +0000 (14 14:05 +0200)]
restructered padding

15 years agoblockcipher.py: removed unused error classes and exception import
Christophe Oosterlynck [Tue, 14 Oct 2008 11:33:58 +0000 (14 13:33 +0200)]
blockcipher.py: removed unused error classes and exception import

15 years agoblockcipher.py: removed unused struct import
Christophe Oosterlynck [Tue, 14 Oct 2008 11:22:59 +0000 (14 13:22 +0200)]
blockcipher.py: removed unused struct import

15 years agoOFB, CTR: Array->List
Christophe Oosterlynck [Tue, 14 Oct 2008 11:43:34 +0000 (14 13:43 +0200)]
OFB, CTR: Array->List

15 years agoCFB: Array->List
Philippe Teuwen [Tue, 14 Oct 2008 08:08:58 +0000 (14 10:08 +0200)]
CFB: Array->List

15 years agoChaining Modes: docstrings & minor tuning
Philippe Teuwen [Mon, 13 Oct 2008 22:08:21 +0000 (14 00:08 +0200)]
Chaining Modes: docstrings & minor tuning

15 years agoblockcipher.py: added license
Christophe Oosterlynck [Mon, 13 Oct 2008 17:28:52 +0000 (13 19:28 +0200)]
blockcipher.py: added license

15 years agoMerge branch 'master' of ssh://tiftof@repo.or.cz/srv/git/python-cryptoplus
Christophe Oosterlynck [Mon, 13 Oct 2008 16:14:41 +0000 (13 18:14 +0200)]
Merge branch 'master' of ssh://tiftof@repo.or.cz/srv/git/python-cryptoplus

15 years agoPRESENT: added version string
Christophe Oosterlynck [Mon, 13 Oct 2008 16:04:48 +0000 (13 18:04 +0200)]
PRESENT: added version string

15 years agoRemoving test
Philippe Teuwen [Mon, 13 Oct 2008 16:01:02 +0000 (13 18:01 +0200)]
Removing test

15 years agoTesting new git repo
Philippe Teuwen [Mon, 13 Oct 2008 16:00:06 +0000 (13 18:00 +0200)]
Testing new git repo

15 years agoPRESENT: added 2nd example + doctest execution when module run as main
tiftof [Mon, 13 Oct 2008 14:37:07 +0000 (13 14:37 +0000)]
PRESENT: added 2nd example + doctest execution when module run as main

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@97 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: updated doctest testvectors
tiftof [Mon, 13 Oct 2008 14:10:40 +0000 (13 14:10 +0000)]
PRESENT: updated doctest testvectors

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@96 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: added license and doctest example
tiftof [Mon, 13 Oct 2008 14:10:40 +0000 (13 14:10 +0000)]
PRESENT: added license and doctest example

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@95 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: updated testvectors
tiftof [Mon, 13 Oct 2008 14:10:39 +0000 (13 14:10 +0000)]
PRESENT: updated testvectors

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@94 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: changed salting behaviour when generating roundkeys
tiftof [Mon, 13 Oct 2008 14:10:33 +0000 (13 14:10 +0000)]
PRESENT: changed salting behaviour when generating roundkeys

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@93 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agotypo
tiftof [Mon, 13 Oct 2008 14:10:32 +0000 (13 14:10 +0000)]
typo

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@92 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoKey check bug fixed when checking for tuple of length = 2 in XTS mode
tiftof [Mon, 13 Oct 2008 14:10:31 +0000 (13 14:10 +0000)]
Key check bug fixed when checking for tuple of length = 2 in XTS mode

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@91 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: changed intern indexes of encrypt/decrypt
phil [Fri, 10 Oct 2008 22:22:30 +0000 (10 22:22 +0000)]
PRESENT: changed intern indexes of encrypt/decrypt

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@90 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: misc changes in docstrings
phil [Fri, 10 Oct 2008 22:22:28 +0000 (10 22:22 +0000)]
PRESENT: misc changes in docstrings

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@89 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoMinor changes: range->xrange, [].extend(.. for i) -> [... for i]
phil [Fri, 10 Oct 2008 22:22:25 +0000 (10 22:22 +0000)]
Minor changes: range->xrange, [].extend(.. for i) -> [... for i]

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@88 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: inverse SBox is calculated on import
tiftof [Fri, 10 Oct 2008 15:12:16 +0000 (10 15:12 +0000)]
PRESENT: inverse SBox is calculated on import

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@87 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: inverse PBox is calculated on import -> speed gain
tiftof [Fri, 10 Oct 2008 15:01:39 +0000 (10 15:01 +0000)]
PRESENT: inverse PBox is calculated on import -> speed gain

using the "index()" method on PBox all the time in pLayer_dec was
slowing things down

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@86 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoPRESENT: finished switching all internal representations to integers
tiftof [Fri, 10 Oct 2008 15:01:38 +0000 (10 15:01 +0000)]
PRESENT: finished switching all internal representations to integers

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@85 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoChanged keychecking behaviour
tiftof [Fri, 10 Oct 2008 13:53:26 +0000 (10 13:53 +0000)]
Changed keychecking behaviour

- keychecking done in blockcipher base class instead of in the wrappers
- wrappers now provide a "key_error_message" variable and a
"keylen_valid" method

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@84 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoBegin to switch to int representation: first the roundkey generation
phil [Fri, 10 Oct 2008 00:48:20 +0000 (10 00:48 +0000)]
Begin to switch to int representation: first the roundkey generation

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@83 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoConsistency fixes in key check in ciphers python_*
phil [Thu, 9 Oct 2008 22:37:33 +0000 (9 22:37 +0000)]
Consistency fixes in key check in ciphers python_*

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@82 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoFix Rijndael error msg
phil [Thu, 9 Oct 2008 22:17:56 +0000 (9 22:17 +0000)]
Fix Rijndael error msg

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@81 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoAdd condition on blocksize for XTS in Rijndael docstring
phil [Thu, 9 Oct 2008 21:45:14 +0000 (9 21:45 +0000)]
Add condition on blocksize for XTS in Rijndael docstring

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@80 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoFix blocksizes in docstrings of modes
phil [Thu, 9 Oct 2008 21:40:51 +0000 (9 21:40 +0000)]
Fix blocksizes in docstrings of modes

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@79 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoSimplify T update in XTS
phil [Thu, 9 Oct 2008 21:34:56 +0000 (9 21:34 +0000)]
Simplify T update in XTS

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@78 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoCosmetic & language changes in blocksipher.py
phil [Thu, 9 Oct 2008 21:34:54 +0000 (9 21:34 +0000)]
Cosmetic & language changes in blocksipher.py

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@77 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoserpent test was disabled since last commit
tiftof [Thu, 9 Oct 2008 21:11:59 +0000 (9 21:11 +0000)]
serpent test was disabled since last commit

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@76 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoTwofish testvectors added
tiftof [Thu, 9 Oct 2008 21:09:56 +0000 (9 21:09 +0000)]
Twofish testvectors added

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@75 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoadded tests for validating input
tiftof [Thu, 9 Oct 2008 19:04:27 +0000 (9 19:04 +0000)]
added tests for validating input

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@74 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agofixed testvectors for PRESENT with more than 32 rounds with a 80 bit key
tiftof [Thu, 9 Oct 2008 19:04:25 +0000 (9 19:04 +0000)]
fixed testvectors for PRESENT with more than 32 rounds with a 80 bit key

previous testvectors were generated with the reference C code for
PRESENT which had a bug in it. Salting the key during roundkeys
generation for a 80bit key was done wrong.

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@73 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agocorrected behaviour of key generations when using more than 32 rounds
tiftof [Thu, 9 Oct 2008 15:14:23 +0000 (9 15:14 +0000)]
corrected behaviour of key generations when using more than 32 rounds

XOR in salt step should also only be done on max 5 bits of the key when
using 80 bit keys

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@72 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agomodified XTS: T value is now being calculated incrementally
tiftof [Thu, 9 Oct 2008 15:14:22 +0000 (9 15:14 +0000)]
modified XTS: T value is now being calculated incrementally

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@71 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoDecryption tests added where they were missing
tiftof [Thu, 9 Oct 2008 15:14:21 +0000 (9 15:14 +0000)]
Decryption tests added where they were missing

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@70 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agochanged Lu(2) generation in CMAC
tiftof [Thu, 9 Oct 2008 10:45:45 +0000 (9 10:45 +0000)]
changed Lu(2) generation in CMAC

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@69 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoFixed RC5 blocksize handling + updated RC5 docstring & XTS key check
tiftof [Thu, 9 Oct 2008 09:55:11 +0000 (9 09:55 +0000)]
Fixed RC5 blocksize handling + updated RC5 docstring & XTS key check

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@68 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agomoved construction of cipher from wrappers to blockcipher.py
tiftof [Thu, 9 Oct 2008 09:13:37 +0000 (9 09:13 +0000)]
moved construction of cipher from wrappers to blockcipher.py

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@67 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoFix XTS docstring inconsistencies in wrappers
phil [Wed, 8 Oct 2008 12:47:33 +0000 (8 12:47 +0000)]
Fix XTS docstring inconsistencies in wrappers

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@66 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agotest.py (dict) was shadowing builtin dict()
phil [Wed, 8 Oct 2008 12:47:29 +0000 (8 12:47 +0000)]
test.py (dict) was shadowing builtin dict()

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@65 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoUse require() in test files
phil [Wed, 8 Oct 2008 12:25:49 +0000 (8 12:25 +0000)]
Use require() in test files

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@64 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agomv src/* to src/CryptoPlus/* & make setup.py more generic
phil [Wed, 8 Oct 2008 12:25:42 +0000 (8 12:25 +0000)]
mv src/* to src/CryptoPlus/* & make setup.py more generic

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@63 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoseperated "importing" from examples in docstring & removed the need for (un)hexlify...
tiftof [Tue, 7 Oct 2008 21:45:24 +0000 (7 21:45 +0000)]
seperated "importing" from examples in docstring & removed the need for (un)hexlify in docstrings

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@62 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoremoved "new" definition from docstrings + minor RC5, PRESENT docstring update
tiftof [Tue, 7 Oct 2008 19:52:39 +0000 (7 19:52 +0000)]
removed "new" definition from docstrings + minor RC5, PRESENT docstring update

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@61 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agomode constants are only in blockcipher
tiftof [Tue, 7 Oct 2008 17:56:40 +0000 (7 17:56 +0000)]
mode constants are only in blockcipher

"from blockcipher import *" instead of define constant in every wrapper
XTS check was already in blockcipher class

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@60 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agocompatibility with pycrypto 2.0.1 and earlier for python_compat import
tiftof [Tue, 7 Oct 2008 13:40:14 +0000 (7 13:40 +0000)]
compatibility with pycrypto 2.0.1 and earlier for python_compat import

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@59 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoadded SelfTest modules to setup.py
tiftof [Tue, 7 Oct 2008 13:40:12 +0000 (7 13:40 +0000)]
added SelfTest modules to setup.py

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@58 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoTypos & docstring & from blockcipher import *
phil [Tue, 7 Oct 2008 12:23:44 +0000 (7 12:23 +0000)]
Typos & docstring & from blockcipher import *

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@57 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoUsing number2string_N() in XTS
phil [Tue, 7 Oct 2008 12:23:34 +0000 (7 12:23 +0000)]
Using number2string_N() in XTS

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@56 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoFix typos in docstrings
phil [Tue, 7 Oct 2008 12:23:21 +0000 (7 12:23 +0000)]
Fix typos in docstrings

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@55 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agoNew number2string_N() & simplified xorstring()
phil [Tue, 7 Oct 2008 12:23:07 +0000 (7 12:23 +0000)]
New number2string_N() & simplified xorstring()

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@54 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1

15 years agofix setup.py
tiftof [Mon, 6 Oct 2008 23:19:02 +0000 (6 23:19 +0000)]
fix setup.py

git-svn-id: svn+ssh://devel.yobi.be/home/svn/CryptoPlus/trunk@53 49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1