commit | 8af7b0f809a3d34657433ec545d64dff9808ce34 | [log] [tgz] |
---|---|---|
author | Victoria Milhoan <vicki.milhoan@freescale.com> | Mon Jun 15 16:52:57 2015 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 16 14:35:07 2015 +0800 |
tree | a35024c4de3b7066fb381b474f4e22ceee885ec7 | |
parent | d37e296979ed1652aec6850e2d736bd0ebf0cdb1 [diff] |
crypto: caam - Fix incorrect size when DMA unmapping buffer The CAAM driver uses two data buffers to store data for a hashing operation, with one buffer defined as active. This change forces switching of the active buffer when executing a hashing operation to avoid a later DMA unmap using the length of the opposite buffer. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>