I am Dave Jing Tian, an Assistant Professor in the Department of Computer Science at Purdue University working on system security. My research involves embedded systems, operating systems, trusted and confidential computing, and hardware security and trust. All opinions are my own.
- 236,456 hits
All blogs on this website are licensed under a Creative Commons Attribution 4.0 International License.
Tag Archives: Diffie-Hellman
Diffie-Hellman key exchange algorithm – deeper and better
In my last post on D-H algorithm (http://daveti.blog.com/2011/04/21/diffiehellman-key-exchange-dh-algorithm-in-c/), we talked about 2 implementation using C. However, I’ve been thinking about one thing here these days – if there is any potential integer overflow risk in both functions (though for unsigned … Continue reading
Posted in Programming Tagged C, DH, Diffie-Hellman, Overflow Leave a comment
Diffie–Hellman key exchange (DH algorithm in C)
I am recently doing feature on authentication between MGC (Media Gateway Controller) and MG (Media Gateway). One important thing involved in Diffie-Hellman key exchange. Not sure if because the key formula ‘g^a mod(P)’ looks simple and stupid, it is hard … Continue reading
Posted in Programming Tagged C, DH, Diffie-Hellman 2 Comments