proxygen
|
#include <Utils.h>
Static Public Member Functions | |
static bool | equal (folly::ByteRange a, folly::ByteRange b) |
static void | clean (folly::MutableByteRange range) |
static void | init () |
|
static |
Overwrites the memory in range.
Definition at line 38 of file Utils.cpp.
References folly::Range< Iter >::data(), and folly::Range< Iter >::size().
Referenced by fizz::server::AeadTokenCipher< AeadType, HkdfType >::clearSecrets().
|
static |
Returns true if a and b are identical.
Constant time in terms of the contents of a and b (but not in terms of length).
Definition at line 31 of file Utils.cpp.
References folly::Range< Iter >::data(), and folly::Range< Iter >::size().
Referenced by fizz::sm::generateTicket(), fizz::sm::handleCertMsg(), and fizz::sm::setupSchedulerAndContext().
|
static |