Here is a really great SHA2 implementation in C:
http://www.ouah.org/ogay/sha2/

Should be work without any changes with Lite-C


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com