Home
last modified time | relevance | path

Searched hist:ce8e0488 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/
H A Dn2_core.cce8e0488 Sat May 02 00:31:11 CDT 2020 Eric Biggers <ebiggers@google.com> crypto: n2 - use crypto_shash_tfm_digest()

Instead of manually allocating a 'struct shash_desc' on the stack and
calling crypto_shash_digest(), switch to using the new helper function
crypto_shash_tfm_digest() which does this for us.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
ce8e0488 Sat May 02 00:31:11 CDT 2020 Eric Biggers <ebiggers@google.com> crypto: n2 - use crypto_shash_tfm_digest()

Instead of manually allocating a 'struct shash_desc' on the stack and
calling crypto_shash_digest(), switch to using the new helper function
crypto_shash_tfm_digest() which does this for us.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>