commit | 31c028134b03c27ff926548854819193fc7822e5 | [log] [tgz] |
---|---|---|
author | Clement Faure <clement.faure@nxp.com> | Tue Feb 07 15:31:44 2023 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Wed Feb 08 12:40:06 2023 +0100 |
tree | b50341f6191c5ea3804c112525f07e654b3f1fd4 | |
parent | 28788536d84a96c21e656eff72438a54df628342 [diff] |
libutee: add TEE_MAIN_ALGO_SHAKE values The CAAM driver relies on TEE_ALG_GET_MAIN_ALG() macro to retrieve the main algorithm ID from the TEE_ALG_* value. With the addition of TEE_ALG_SHAKE128 and TEE_ALG_SHAKE256, TEE_ALG_GET_MAIN_ALG() would return 0x01 (TEE_MAIN_ALGO_MD5) and 0x02 (TEE_MAIN_ALGO_SHA1). These returned values are wrong. Add TEE_MAIN_ALGO_SHAKE128 and TEE_MAIN_ALGO_SHAKE256 values for respectively TEE_ALG_SHAKE128 and TEE_ALG_SHAKE256. Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers