MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / stateAbsorb

Function stateAbsorb

plugins/wasi_crypto/symmetric/state.cpp:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100WasiCryptoExpect<void> stateAbsorb(StateVariant &StateVariant,
101 Span<const uint8_t> Data) noexcept {
102 return std::visit([Data](auto &State) noexcept { return State.absorb(Data); },
103 StateVariant);
104}
105
106WasiCryptoExpect<void> stateSqueeze(StateVariant &StateVariant,
107 Span<uint8_t> Out) noexcept {

Callers 1

symmetricStateAbsorbMethod · 0.85

Calls 1

absorbMethod · 0.45

Tested by

no test coverage detected