symm/seal.c: Fix IV handling through `gcipher' interface.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 22 Mar 2015 01:02:46 +0000 (01:02 +0000)
commit3af7e5375683a92458076bf971124973b9389a0f
tree132552363a47a8df0cf64061df8ffea2b7b81070
parentcc08c5707b2b54dbd6b90799cf6df57ab7cacfc5
symm/seal.c: Fix IV handling through `gcipher' interface.

  * Read the IV as octets (big-endian) rather than as a machine word.

  * Advertise a `block size' of 4 octets.

This is a compatibility break, but I don't think anyone was using SEAL,
and it was nearly impossible to use correctly through this interface
anyway.
symm/seal.c