It does exactly that. Though you should have a good working knowledge of C beforehand as the author in my opinion misses his goal of readable code at some points.
There's a great book that shows direct implementations for many of the algorithms used in the SSL/TLS protocol (including 3DES): https://www.amazon.com/Implementing-SSL-TLS-Using-Cryptography/dp/0470920416/
It also includes explanations for many of the algorithms. It's a great read if you're into cryptography.
Implementing SSL / TLS Using Cryptography and PKI https://www.amazon.com/dp/0470920416/ref=cm_sw_r_cp_api_cjlSxbDR408NS
And
SSL and TLS: Designing and Building Secure Systems https://www.amazon.com/dp/0201615983/ref=cm_sw_r_cp_api_qklSxbYBFZX2E