From 38b76f06232a188e2b053370458b6901b745948b Mon Sep 17 00:00:00 2001 From: gnn Date: Wed, 9 May 2007 19:37:02 +0000 Subject: Integrate the Camellia Block Cipher. For more information see RFC 4132 and its bibliography. Submitted by: Tomoyuki Okazaki MFC after: 1 month --- sys/netipsec/xform_esp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/netipsec/xform_esp.c') diff --git a/sys/netipsec/xform_esp.c b/sys/netipsec/xform_esp.c index fad3547..36bd01e 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 -- cgit v1.1