]> asedeno.scripts.mit.edu Git - linux.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)
commit0b4b5f10ac1ffb7f51db1832d189c33955c0d4c1
treee27d67dad915981ab30b544bc36e20cd9c986e64
parenta2e4bdce0f6e69c6cf9e460c4fe158bcc0db351f
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