Hi: This series of patches introduces IV generators which can be accessed through the givencrypt and givdecrypt operations on block ciphers and AEADs (other than crypto_blkcipher which should not be used for new code). The givencrypt operation is identical to encrypt except that the IV is generated by the algorithm instead of given by the user. Ditto for givdecrypt although it is only suitable for IV generators which are deterministic. It will be used by dm-crypt in future. Algorithms can either provide their own IV generator or (as most will do) use the default IV generators provided by the system. If no IV generator is specified by the system, then chainiv will be used for synchronous algorithms and eseqiv will be used for asynchronous algorithms. Counter mode algorithms (which include some stream ciphers) must choose something other than the default to ensure uniqueness for the IV. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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