While studying Carter-Wegman message authentication codes MAC, I got two different notations for the broader concept and have problems with understanding the difference, if any exist.
Let $K, K_1, K_2$ be randomly sampled keys, $k_i$ be a unique randomly sampled key (random nonce) for message $M_i$, and $h$ be a keyed strongly universal function (I assume making the strongly universal (hash) function keyed corresponds to random sampling the function).
I would define the concept of Carter-Wegman MAC as follows:
$$ Mac(K, M_i) = h(K, M_i) \oplus k_i $$
Now, I have seen multiple times that (e.g. here) that it can also be noted as follows:
$$ Mac(K_1 || K_2, M_i) = h(K_1, M_i) \oplus f(K_2, k_i) $$
(I introduce a second key because I already keyed $h$ to emphasize being a secret / randomly sampled hash function)
Can someone explain the difference in more detail? I see problems with the first definition because $k_i$ can be "Xored away", a problem the second notation does not have. But this way I read it from the original paper. Could my confusion arise from the concept of numbered messages?