Home
last modified time | relevance | path

Searched hist:"050 ba6786de08aace129d6fc47b510d09dd661b6" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_svc_cryp.c050ba6786de08aace129d6fc47b510d09dd661b6 Fri Nov 25 09:44:24 UTC 2016 Jerome Forissier <jerome.forissier@linaro.org> core: crypto: avoid undefined bit shifts by a negative amount (-1)

The GET_ATTRIBUTE() and SET_ATTRIBUTE() macros are replaced with static
functions that properly handle the case when the attribute is not found.

Fixes: Coverity CID:1378609 CID:1378610 CID:1378611 CID:1378612
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>