diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2007-02-19 08:55:42 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2007-02-19 08:55:42 +0000 |
commit | 435fe6f49a52da02ed19bf951a7f2a8f0492b706 (patch) | |
tree | a74bf9c2354fb231634ff84468695bca29a6d09d | |
parent | 53e6c3ad6e39192d41ae16db7f779cb38dc91b30 (diff) |
minimum blocksize for ESP is 32 bit, so adjust blocksize of NULL
encryption accordingly. Makes NULL encryption useable with ESP.
Noticed by Martin Hedenfalk <martin.hedenfalk at gmail.com>.
ok markus@
-rw-r--r-- | sys/crypto/xform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c index b0b9b513092..7eee9e258e5 100644 --- a/sys/crypto/xform.c +++ b/sys/crypto/xform.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xform.c,v 1.29 2005/05/25 05:47:53 markus Exp $ */ +/* $OpenBSD: xform.c,v 1.30 2007/02/19 08:55:41 hshoexer Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -189,7 +189,7 @@ struct enc_xform enc_xform_arc4 = { struct enc_xform enc_xform_null = { CRYPTO_NULL, "NULL", - 1, 0, 0, 256, + 4, 0, 0, 256, null_encrypt, null_decrypt, null_setkey, |