summaryrefslogtreecommitdiffstats
path: root/include/net/esp.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-07-30 15:41:01 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-21 11:46:14 +1000
commit6b7326c8497f954c2cfcb4c49fe42be5b80887bc (patch)
tree5739c37f7a72d1ef281fbbb5bbc1483226eec198 /include/net/esp.h
parent04ff12609445c7b462d7fc7f2d30dad442c922f3 (diff)
downloadlinux-6b7326c8497f954c2cfcb4c49fe42be5b80887bc.tar.bz2
[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.h2
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
* >= crypto_tfm_alg_ivsize(tfm). */
int ivlen;
int padlen; /* 0..255 */
- struct crypto_tfm *tfm; /* crypto handle */
+ struct crypto_blkcipher *tfm; /* crypto handle */
} conf;
/* Integrity. It is active when icv_full_len != 0 */