Skip to content
Snippets Groups Projects
  1. Dec 01, 2010
  2. Apr 15, 2009
  3. Aug 28, 2008
  4. May 01, 2008
  5. Mar 08, 2008
  6. Feb 22, 2008
  7. Jan 10, 2008
    • Herbert Xu's avatar
      [CRYPTO] eseqiv: Add Encrypted Sequence Number IV Generator · 806d183a
      Herbert Xu authored
      
      This generator generates an IV based on a sequence number by xoring it
      with a salt and then encrypting it with the same key as used to encrypt
      the plain text.  This algorithm requires that the block size be equal
      to the IV size.  It is mainly useful for CBC.
      
      It has one noteworthy property that for IPsec the IV happens to lie
      just before the plain text so the IV generation simply increases the
      number of encrypted blocks by one.  Therefore the cost of this generator
      is entirely dependent on the speed of the underlying cipher.
      
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      806d183a
Loading