]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: blake2b - merge _update to api callback
authorDavid Sterba <dsterba@suse.com>
Tue, 12 Nov 2019 10:20:29 +0000 (11:20 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:35 +0000 (18:48 +0800)
commit15631b7f2d8889fcf7c5f9facaa65684a2cd4c08
treee27d67dad915981ab30b544bc36e20cd9c986e64
parent91df36d17e5c009490fba6e6dae04d70ac90b02d
crypto: blake2b - merge _update to api callback

Now that there's only one call to blake2b_update, we can merge it to the
callback and simplify. The empty input check is split and the rest of
code un-indented.

Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/blake2b_generic.c