Home
last modified time | relevance | path

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

/optee_os/core/tee/
H A Dtee_svc_cryp.cc9366c1eeaa1c3dcecafeb03bef24e9e6fc660c4 Fri Mar 26 08:56:27 UTC 2021 Jens Wiklander <jens.wiklander@linaro.org> core: fix rsa public exponent check

Fixes the check of the RSA Public Exponent in check_pub_rsa_key(). Prior
to this patch was the wrong byte used to check if the bignum was odd.
With this patch is the correct byte selected in the big-endian bignum.

Fixes: 338b123ee66c ("core: syscall_obj_generate_key() check public rsa exponent")
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Suggested-by: Cedric Neveux <cedric.neveux@nxp.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>