Cryptographic Engineering
The material is available under a Creative Commons Attribution-ShareAlike license:
You can get it as as one (fairly large) book, or individual chapters:
- Part I : Preliminaries
- Part II : Primitives
- Part III : Protocols
- Part IV : Attacks