diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-11 06:16:16 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 00:58:02 -0400 |
commit | bbbee4679afd7c29a58087f133ffe241597f3144 (patch) | |
tree | b49da1e7b303948fc1d39580df375071c1703494 /.mailmap | |
parent | 113adefc73c291f93f875fe515a46d8f76252fff (diff) |
crypto: padlock - Switch sha to shash
This patch converts the padlock-sha implementation to shash.
In doing so the existing mechanism of storing the data until
final is no longer viable as we do not have a way of allocating
data in crypto_shash_init and then reliably freeing it.
This is just as well because a better way of handling the problem
is to hash everything but the last chunk using normal sha code
and then provide the intermediate result to the padlock device.
This is good enough because the primary application of padlock-sha
is IPsec and there the data is laid out in the form of an hmac
header followed by the rest of the packet. In essence we can
provide all the data to the padlock as the hmac header only needs
to be hashed once.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions