Fix warning with MD/SHA ALT implementation

backport of 8b2641d

see #239
7 files changed