[PATCH RFC 2/2] babel: Add HMAC support
Martin Mares
mj at ucw.cz
Sun Jul 15 00:37:30 CEST 2018
Hi Toke,
just a random thought:
> + getrandom(n->hmac_nonce, BABEL_HMAC_NONCE_LEN, 0);
I think we cannot rely on getrandom() being available on all systems.
It probably needs wrapping in sysdep code.
Have a nice fortnight
--
Martin `MJ' Mares <mj at ucw.cz> http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
int random(void) { return 4; /* Random number chosen by a fair dice roll. */ }
More information about the Bird-users
mailing list