PRESENT: inverse PBox is calculated on import -> speed gain
commit1a629fb87da0fa53dd50f630117c2256058c4621
authortiftof <tiftof@49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1>
Fri, 10 Oct 2008 15:01:39 +0000 (10 15:01 +0000)
committertiftof <tiftof@49921240-e1b6-4d8d-af3b-5ae6c3d9e7c1>
Fri, 10 Oct 2008 15:01:39 +0000 (10 15:01 +0000)
tree37516a80b4bd9853393d85240432a85b563edb64
parentc98e94c10b9cc3837bd6ca43a78e27755cf80414
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
src/CryptoPlus/Cipher/pypresent.py