Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ltc: Implement mp_rand for mpa_desc
When enabling the flag LTC_RSA_BLINDING the code uses the mp_rand() function, which isn't implemented for the mpa_desc descriptor. Implement it as rand() in mpa_desc and mpa_get_random_digits() in libmpa. Fixes: OP-TEE-2016-0003 which was reported by Applus+ Laboratories. Signed-off-by: Joakim Bech <email@example.com> Reviewed-by: Jerome Forissier <firstname.lastname@example.org> Reviewed-by: Jens Wiklander <email@example.com> Acked-by: Etienne Carriere <firstname.lastname@example.org> Tested-by: Jerome Forissier <email@example.com> (HiKey, GP) Tested-by: Etienne Carriere <firstname.lastname@example.org> (b2260, GP)
- Loading branch information
Showing with 46 additions and 0 deletions.