[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What price security?
>5 to 7 uS per 100 bytes v.s about 15 uS per 100 bytes. Unfortunately
>the key setup is more expensive, about 200 uS v.s. 80 uS. For lots of
>short messages which require different keys it is slower than D3DES.
The key setup in my code is slower because I never optimized the key
scheduling code. I wasn't out to crack keys, and I figured that it was
better anyway to handle the multiple key case by just creating each
key schedule once and passing the appropriate one to the encrypt and
decrypt routines. That's faster than continually calling even the
fastest key scheduling function...