| 97 | } |
| 98 | |
| 99 | TBase* Update(const void* data, size_t dataLen) override |
| 100 | { |
| 101 | auto status = BCryptHashData(_hHash, reinterpret_cast<PBYTE>(const_cast<void*>(data)), static_cast<ULONG>(dataLen), 0); |
| 102 | CngThrowOnBadStatus("BCryptHashData", status); |
| 103 | return this; |
| 104 | } |
| 105 | |
| 106 | TBase::Result Finish() override |
| 107 | { |
no test coverage detected