aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crypto: encrypt mbuf in placeMatt Dunwoodie2021-04-191-0/+9
| | | | | | | | | | | This introduces a couple of routines to encrypt the mbufs in place. It is likely that these will be replaced by something in opencrypto, however for the time being this fixes a heap overflow and sets up wg_noise for the "correct" API. When the time comes, this should make it easier to drop in new crypto. It should be noted, this was written at 0500. Signed-off-by: Matt Dunwoodie <ncon@noconroy.net>
* Initial importJason A. Donenfeld2021-03-171-0/+103
There's still more to do with wiring this up properly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>