hmac_init cleanup and fix key zeroization issue