Wrappers for some of OpenSSL's crypto hash functions
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 17 Jun 2016 01:30:25 +0000 (18:30 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Fri, 17 Jun 2016 01:38:23 +0000 (18:38 -0700)
commitcc5485f8934b5a6024a80ac2cea147aa7816c0c8
treee27d1fcabcfcd4c4a02bd2ff9ebee35aa898e26d
parentb57cfc00ce7e280fb89a421fc2402cfcc14337b7
Wrappers for some of OpenSSL's crypto hash functions

Summary:
[Folly] Wrappers for some of OpenSSL's crypto hash functions.

Wraps some of the OpenSSL crypto hash functions with variants that take `ByteRange` for input and `MutableByteRange` for output, and also variants that take `const IOBuf&` for input as well.

These are a bit nicer to use than passing pointers and lengths separately.

Reviewed By: ivmaykov

Differential Revision: D3434562

fbshipit-source-id: 3688ef11680a029b7664ac417a7781e70f9c6926
folly/Makefile.am
folly/ssl/OpenSSLHash.cpp [new file with mode: 0644]
folly/ssl/OpenSSLHash.h [new file with mode: 0644]
folly/ssl/test/OpenSSLHashTest.cpp [new file with mode: 0644]
folly/test/Makefile.am