| 47 | |
| 48 | |
| 49 | LibTomCryptHashContext::LibTomCryptHashContext(MemoryPool& pool, const Descriptor* aDescriptor) |
| 50 | : descriptor(aDescriptor), |
| 51 | statePtr(FB_NEW_POOL(pool) State), |
| 52 | buffer(pool) |
| 53 | { |
| 54 | descriptor->tcDesc->init(&statePtr->tcState); |
| 55 | } |
| 56 | |
| 57 | LibTomCryptHashContext::~LibTomCryptHashContext() |
| 58 | { |