Home
last modified time | relevance | path

Searched hist:bd3efa266345b839df177478159343144d05d0f3 (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_svc_cryp.cbd3efa266345b839df177478159343144d05d0f3 Tue Oct 31 16:28:46 UTC 2017 Zeng Tao <prime.zeng@hisilicon.com> core: crypto: add overflow check

In some use cases, the input value may cause add_overflow, this patch make
the xxx_to_binary functions reporting the overflow errors instead of just
let it to be void, allowing the upper layer to deal with it.

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>
[jf: fix typo in commit subject]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>