You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently block-buffer and digest do not support lazy buffering, which is needed for some algorithms like Skein. Instead of padding those algorithms "tweak" compression function with a flag denoting last block. Lack of support is intentional, since it allows to support BlockBuffer invariant (cursor is always smaller than block size) used by padding functions.
One possible way forward is to generalize digest::core_api::UpdateCoreWrapper over block buffer types, i.e. block-buffer will contain two buffer types: BlockBuffer and LazyBlockBuffer, generalized by a trait.
Activity