md: Simplify the message digest dispatcher md.c.