aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec/xform_esp.c
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2007-05-09 19:37:02 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2007-05-09 19:37:02 +0000
commit559d3390d07890da9ca8ad6427f1ae7df7a9257a (patch)
treeab6a97da261f87bb2e97c008d467da3311010b9e /sys/netipsec/xform_esp.c
parentbd1d3456dc7793248b50167423e82bbe977cccf9 (diff)
downloadsrc-559d3390d07890da9ca8ad6427f1ae7df7a9257a.tar.gz
src-559d3390d07890da9ca8ad6427f1ae7df7a9257a.zip
Integrate the Camellia Block Cipher. For more information see RFC 4132
and its bibliography. Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp> MFC after: 1 month
Notes
Notes: svn path=/head/; revision=169425
Diffstat (limited to 'sys/netipsec/xform_esp.c')
-rw-r--r--sys/netipsec/xform_esp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netipsec/xform_esp.c b/sys/netipsec/xform_esp.c
index fad3547b8f23..36bd01ee013e 100644
--- a/sys/netipsec/xform_esp.c
+++ b/sys/netipsec/xform_esp.c
@@ -113,6 +113,8 @@ esp_algorithm_lookup(int alg)
return &enc_xform_skipjack;
case SADB_EALG_NULL:
return &enc_xform_null;
+ case SADB_X_EALG_CAMELLIACBC:
+ return &enc_xform_camellia;
}
return NULL;
}
@@ -1006,6 +1008,7 @@ esp_attach(void)
MAXIV(enc_xform_cast5); /* SADB_X_EALG_CAST128CBC */
MAXIV(enc_xform_skipjack); /* SADB_X_EALG_SKIPJACK */
MAXIV(enc_xform_null); /* SADB_EALG_NULL */
+ MAXIV(enc_xform_camellia); /* SADB_X_EALG_CAMELLIACBC */
xform_register(&esp_xformsw);
#undef MAXIV