diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-07-30 01:41:01 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:46:14 -0400 |
commit | 6b7326c8497f954c2cfcb4c49fe42be5b80887bc (patch) | |
tree | 5739c37f7a72d1ef281fbbb5bbc1483226eec198 /include/net/esp.h | |
parent | 04ff12609445c7b462d7fc7f2d30dad442c922f3 (diff) |
[IPSEC] ESP: Use block ciphers where applicable
This patch converts IPSec/ESP to use the new block cipher type where
applicable. Similar to the HMAC conversion, existing algorithm names
have been kept for compatibility.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/net/esp.h')
-rw-r--r-- | include/net/esp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/esp.h b/include/net/esp.h index 6eb837973c84..af2ff18700c7 100644 --- a/include/net/esp.h +++ b/include/net/esp.h | |||
@@ -22,7 +22,7 @@ struct esp_data | |||
22 | * >= crypto_tfm_alg_ivsize(tfm). */ | 22 | * >= crypto_tfm_alg_ivsize(tfm). */ |
23 | int ivlen; | 23 | int ivlen; |
24 | int padlen; /* 0..255 */ | 24 | int padlen; /* 0..255 */ |
25 | struct crypto_tfm *tfm; /* crypto handle */ | 25 | struct crypto_blkcipher *tfm; /* crypto handle */ |
26 | } conf; | 26 | } conf; |
27 | 27 | ||
28 | /* Integrity. It is active when icv_full_len != 0 */ | 28 | /* Integrity. It is active when icv_full_len != 0 */ |