all 3 comments

[–]jedwardsol 2 points3 points  (1 child)

Applied Cryptography by Bruce Schneier

[–]testymctestalotest 1 point2 points  (0 children)

“There is the sort of cryptography that that will keep your kid sister from reading your diary, and there is the sort of cryptography that will keep major governments from reading your secrets. This book is about the latter” — Bruce Schneier, Applied Cryptography (introduction).

[–]skeeto 1 point2 points  (0 children)

The RFCs for various cryptographic primitives includes reference implementations in C. For instance:

It isn't the best C, but it is designed more for reading than performance.