]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: blake2b - merge _final implementation to callback
authorDavid Sterba <dsterba@suse.com>
Tue, 12 Nov 2019 10:20:24 +0000 (11:20 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:34 +0000 (18:48 +0800)
commitfb16d11fedc1ac30de8c63018f4c27919103a803
tree64d375d5af416fc4e20e91601cf574a6f148468a
parent0da6e112efd031e2222518c3aa083f7d6eec1740
crypto: blake2b - merge _final implementation to callback

blake2b_final is called only once, merge it to the crypto API callback
and simplify. This avoids the temporary buffer and swaps the bytes of
internal buffer.

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