3 ms·
""Encrypt entire IP packet using peer ABCDEFGH's public key."" Really? 1. RSA & ECC are both too slow for this to be performant 2. Padding??? Certainly you
by dmitrygr 10y ago
""Encrypt entire IP packet using peer ABCDEFGH's public key.""
Really?
1. RSA & ECC are both too slow for this to be performant
2. Padding???
Certainly you meant "encrypt using a negotiated symmetric key". And earlier you meant to say "negotiate symmetric key with peer"
- zx2c4 10y agoYour concern (1) is valid, but fortunately that's an over-simplification in the casual introduction part of documentation, which I'll fix. Sorry about that. This should read more like, "Encrypt entire IP packet using the symmetric session associated with peer ABCDEFGH." Thanks for pointing this out. As for (2), WireGuard indeed does padding; see the protocol page or the paper for details.
- dmitrygr 10y agoMy concern is alleviated Thanks!