Re: high-performance HMAC module

Paul Lambert <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
> would be worth writing an HMAC module in C.

No, not for this purpose.  It would be better to move to a real encryption algorithm (like AES) written in C than to use p2.


Paul

> -----Original Message-----
> From: Jason R. Mastaler [mailto:[email protected]]
> Sent: Tuesday, May 28, 2002 3:10 PM
> To: [email protected]
> Subject: high-performance HMAC module
> 
> 
> I'm currently using a pure Python HMAC implementation in one of my
> applications based on the one in Paul Rubin's p2.py[1].
> 
> This application does lots of HMAC manipulation, and I wonder if it
> would be worth writing an HMAC module in C.  On the other hand, I
> wonder how much this would really speed things up since the underlying
> hash function modules (sha, md5) are already written in C.
> 
> Any ideas?
> 
> Footnotes:
> 1.  http://www.nightsong.com/phr/crypto/p2.py
> 
> --
> (http://tmda.sourceforge.net/)
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.