> pr_warn("%s: invalid hash algoritm %d\n", algoritm -> algorithm (also present in other patches) > if (ret < hmac_len) > ret = -ENOKEY; > *ret_digest = hmac; > ret = 0; Setting ret to -ENOKEY has no effect as it gets set to 0 after.