|
| MOCK_CONST_METHOD0 (hashLength, size_t()) |
|
| MOCK_CONST_METHOD0 (blankHash, folly::ByteRange()) |
|
| MOCK_METHOD4 (_expandLabel, Buf(folly::ByteRange secret, folly::StringPiece label, Buf &hashValue, uint16_t length)) |
|
| MOCK_METHOD3 (_hkdfExpand, Buf(folly::ByteRange secret, Buf &info, uint16_t length)) |
|
Buf | expandLabel (folly::ByteRange secret, folly::StringPiece label, Buf hashValue, uint16_t length) override |
|
Buf | hkdfExpand (folly::ByteRange secret, Buf info, uint16_t length) override |
|
| MOCK_METHOD3 (deriveSecret, std::vector< uint8_t >(folly::ByteRange secret, folly::StringPiece label, folly::ByteRange messageHash)) |
|
| MOCK_METHOD2 (hkdfExtract, std::vector< uint8_t >(folly::ByteRange salt, folly::ByteRange ikm)) |
|
| MOCK_METHOD2 (hash, void(const folly::IOBuf &in, folly::MutableByteRange out)) |
|
| MOCK_METHOD3 (hmac, void(folly::ByteRange key, const folly::IOBuf &in, folly::MutableByteRange out)) |
|
virtual | ~KeyDerivation ()=default |
|
virtual size_t | hashLength () const =0 |
|
virtual folly::ByteRange | blankHash () const =0 |
|
virtual std::vector< uint8_t > | deriveSecret (folly::ByteRange secret, folly::StringPiece label, folly::ByteRange messageHash)=0 |
|
virtual std::vector< uint8_t > | hkdfExtract (folly::ByteRange salt, folly::ByteRange ikm)=0 |
|
virtual void | hash (const folly::IOBuf &in, folly::MutableByteRange out)=0 |
|
virtual void | hmac (folly::ByteRange key, const folly::IOBuf &in, folly::MutableByteRange out)=0 |
|
Definition at line 17 of file Mocks.h.