This changes the short time nonces (usages of st_nonce) to use the c/rn counters, i.e. Hello always has nonce=0, vouch/cookie always 1, and thus messages start from n=2. Thus, every time a short time nonce is used, it is simply incremented by 1, and likewise this is validated on the remote end.
Make's curve_tun work with @krestenkrab's C implementation.
This changes the short time nonces (usages of st_nonce) to use the
c
/rn
counters, i.e. Hello always has nonce=0, vouch/cookie always 1, and thus messages start from n=2. Thus, every time a short time nonce is used, it is simply incremented by 1, and likewise this is validated on the remote end.Make's curve_tun work with @krestenkrab's C implementation.