diff options
author | ume <ume@FreeBSD.org> | 2003-10-19 21:28:34 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-19 21:28:34 +0000 |
commit | 8ff2c775d48aeb09b416398bc2663a6d3c1a7893 (patch) | |
tree | 172d5e9a98aecc47e017ec65b4c98d49e3752488 /sys/netinet6/ah_core.c | |
parent | be405a4cbded7cdf17be85da15ed406cd32d25cf (diff) | |
download | FreeBSD-src-8ff2c775d48aeb09b416398bc2663a6d3c1a7893.zip FreeBSD-src-8ff2c775d48aeb09b416398bc2663a6d3c1a7893.tar.gz |
- revert to old rijndael code. new rijndael code broke gbde.
- since aes-xcbc-mac and aes-ctr require functions in new
rijndael code, aes-xcbc-mac and aes-ctr are disabled for now.
Diffstat (limited to 'sys/netinet6/ah_core.c')
-rw-r--r-- | sys/netinet6/ah_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet6/ah_core.c b/sys/netinet6/ah_core.c index ef5a491..80270a0 100644 --- a/sys/netinet6/ah_core.c +++ b/sys/netinet6/ah_core.c @@ -189,10 +189,12 @@ ah_algorithm_lookup(idx) "hmac-ripemd160", ah_hmac_ripemd160_init, ah_hmac_ripemd160_loop, ah_hmac_ripemd160_result, }, +#ifdef ENABLE_AES_XCBC_MAC { ah_sumsiz_1216, ah_common_mature, 128, 128, "aes-xcbc-mac", ah_aes_xcbc_mac_init, ah_aes_xcbc_mac_loop, ah_aes_xcbc_mac_result, }, +#endif }; switch (idx) { @@ -214,8 +216,10 @@ ah_algorithm_lookup(idx) return &ah_algorithms[7]; case SADB_X_AALG_RIPEMD160HMAC: return &ah_algorithms[8]; +#ifdef ENABLE_AES_XCBC_MAC case SADB_X_AALG_AES_XCBC_MAC: return &ah_algorithms[9]; +#endif default: return NULL; } |