proxygen
|
#include <OpenSSLHash.h>
Public Member Functions | |
Digest () | |
Digest (const Digest &other) | |
Digest & | operator= (const Digest &other) |
void | hash_init (const EVP_MD *md) |
void | hash_update (ByteRange data) |
void | hash_update (const IOBuf &data) |
void | hash_final (MutableByteRange out) |
Private Attributes | |
const EVP_MD * | md_ = nullptr |
EvpMdCtxUniquePtr | ctx_ {nullptr} |
Definition at line 31 of file OpenSSLHash.h.
|
inline |
|
inline |
Definition at line 35 of file OpenSSLHash.h.
References folly::ssl::OpenSSLHash::check_libssl_result(), ctx_, folly::portability::ssl::EVP_MD_CTX_new(), hash_init(), and md_.
|
inline |
Definition at line 62 of file OpenSSLHash.h.
References folly::ssl::OpenSSLHash::check_libssl_result(), folly::ssl::OpenSSLHash::check_out_size(), ctx_, folly::Range< Iter >::data(), md_, and folly::size().
Referenced by proxygen::HTTP1xCodec::generateWebsocketAccept(), fizz::HandshakeContextImpl< Hash >::getHandshakeContext(), folly::ssl::OpenSSLHash::hash(), and TEST_F().
|
inline |
Definition at line 49 of file OpenSSLHash.h.
References folly::ssl::OpenSSLHash::check_libssl_result(), ctx_, and md_.
Referenced by Digest(), proxygen::HTTP1xCodec::generateWebsocketAccept(), fizz::HandshakeContextImpl< Hash >::HandshakeContextImpl(), folly::ssl::OpenSSLHash::hash(), and TEST_F().
|
inline |
Definition at line 53 of file OpenSSLHash.h.
References folly::ssl::OpenSSLHash::check_libssl_result(), ctx_, folly::Range< Iter >::data(), and folly::Range< Iter >::size().
Referenced by fizz::HandshakeContextImpl< Hash >::appendToTranscript(), proxygen::HTTP1xCodec::generateWebsocketAccept(), folly::ssl::OpenSSLHash::hash(), hash_update(), folly::ssl::OpenSSLHash::Hmac::hash_update(), and TEST_F().
|
inline |
Definition at line 57 of file OpenSSLHash.h.
References hash_update().
|
private |
Definition at line 73 of file OpenSSLHash.h.
Referenced by Digest(), hash_final(), folly::ssl::OpenSSLHash::Hmac::hash_final(), hash_init(), folly::ssl::OpenSSLHash::Hmac::hash_init(), hash_update(), and folly::ssl::OpenSSLHash::Hmac::hash_update().
|
private |
Definition at line 72 of file OpenSSLHash.h.
Referenced by Digest(), hash_final(), folly::ssl::OpenSSLHash::Hmac::hash_final(), hash_init(), and folly::ssl::OpenSSLHash::Hmac::hash_init().