]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
crypto: ccree - adjust hash length to suit certain context specifics
authorYael Chemla <yael.chemla@foss.arm.com>
Thu, 18 Oct 2018 12:59:57 +0000 (13:59 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Nov 2018 09:36:49 +0000 (17:36 +0800)
commitf1e52fd0fbd67fbf342932506cd7a6e27c090c5f
tree7211af73721ae914ad8ae31bcb68a31cde6c0ea7
parent9b8d51f812ce5c8bfffe440391fe85f6e5349f07
crypto: ccree - adjust hash length to suit certain context specifics

Adjust hash length such that it will not be fixed and general for all algs.
Instead make it suitable for certain context information.
This is preparation for SM3 support.

Signed-off-by: Yael Chemla <yael.chemla@foss.arm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_aead.c
drivers/crypto/ccree/cc_driver.c
drivers/crypto/ccree/cc_driver.h
drivers/crypto/ccree/cc_hash.c