Remove sha512 inplace implementation