Hello, I need to implement AES with CTS mode for NFSv4 (rfc3962 & rfc4121). I have implemented CTS starting with a copy of CBC (crypto/cbc.c), since CTS is the same as CBC except for the last two blocks. A problem that I'm running into is that the NFS/RPC code needs to call the crypt functions in chunks as we currently do for other encryption types. However, I am not seeing a way to inform the crypto code of the total length to be encrypted such that it can just do regular CBC until the last two blocks (of the last chunk). Am I missing something, or is there an example of this sort of thing that I am missing? Any other suggestions? Thanks, K.C. - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html