Searched hist:"74524 a75126ced1911a1b59f26284dd435154b85" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/lib/libtomcrypt/ |
| H A D | rsa.c | 74524a75126ced1911a1b59f26284dd435154b85 Mon Jun 07 14:52:37 UTC 2021 Cedric Neveux <cedric.neveux@nxp.com> libtomcrypt: fix rsa key generation public exponent
Fix libtomcrypt crypto_acipher_gen_rsa_key() to call rsa_make_key_bn_e() API to generate a RSA key with a public exponent up to 256 bits.
RSA standard specify that public exponent e can be between 65537 (included) and 2^256 (excluded).
Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com> Reviewed-by: Jerome Forissier <jerome@forissier.org>
|