Minor changes in the generic hash and MAC interfaces.