From 4cfb6c95b1ab0638d49f7ca20e627986d57093e3 Mon Sep 17 00:00:00 2001 From: tobhe Date: Sat, 13 Nov 2021 20:56:51 +0000 Subject: [PATCH] The key/nonce disclaimers were copied from ipsec.conf.5 but aren't relevant to iked. Encryption keys and nonces are generated by the handshake and don't have to be supplied in the config. --- sbin/iked/iked.conf.5 | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/sbin/iked/iked.conf.5 b/sbin/iked/iked.conf.5 index a584060e9a3..78dfbbfa1d1 100644 --- a/sbin/iked/iked.conf.5 +++ b/sbin/iked/iked.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iked.conf.5,v 1.90 2021/11/09 22:38:25 tobhe Exp $ +.\" $OpenBSD: iked.conf.5,v 1.91 2021/11/13 20:56:51 tobhe Exp $ .\" .\" Copyright (c) 2010 - 2014 Reyk Floeter .\" Copyright (c) 2004 Mathieu Sauve-Frankel All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 9 2021 $ +.Dd $Mdocdate: November 13 2021 $ .Dt IKED.CONF 5 .Os .Sh NAME @@ -996,15 +996,6 @@ can only be used with the .Ic childsa keyword. .Pp -3DES requires 24 bytes to form its 168-bit key. -This is because the most significant bit of each byte is used for parity. -.Pp -The keysize of AES-CTR can be 128, 192, or 256 bits. -However as well as the key, a 32-bit nonce has to be supplied. -Thus 160, 224, or 288 bits of key material, respectively, have to be supplied. -The same applies to AES-GCM, AES-GMAC and Chacha20-Poly1305, -however in the latter case the keysize is 256 bit. -.Pp Using AES-GMAC or NULL with ESP will only provide authentication. This is useful in setups where AH cannot be used, e.g. when NAT is involved. .Pp -- 2.20.1