diff options
author | ume <ume@FreeBSD.org> | 2003-10-13 14:57:41 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-13 14:57:41 +0000 |
commit | fd41336ef5a14e7f322b0a8af359c45ce03d4cc8 (patch) | |
tree | 2a5d44fe2e98a214421d56ae5f3dea9a73bd2413 /sys/netinet6/esp_rijndael.c | |
parent | b24bb74b9ee088f076e89f68095367a214f7cc1d (diff) | |
download | FreeBSD-src-fd41336ef5a14e7f322b0a8af359c45ce03d4cc8.zip FreeBSD-src-fd41336ef5a14e7f322b0a8af359c45ce03d4cc8.tar.gz |
- support AES counter mode for ESP.
- use size_t as return type of schedlen(), as there's no error
check needed.
- clear key schedule buffer before freeing.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/esp_rijndael.c')
-rw-r--r-- | sys/netinet6/esp_rijndael.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/esp_rijndael.c b/sys/netinet6/esp_rijndael.c index 950bbe8..e8c6995 100644 --- a/sys/netinet6/esp_rijndael.c +++ b/sys/netinet6/esp_rijndael.c @@ -51,7 +51,7 @@ #include <net/net_osdep.h> /* as rijndael uses assymetric scheduled keys, we need to do it twice. */ -int +size_t esp_rijndael_schedlen(algo) const struct esp_algorithm *algo; { |