Add key length check to rsa_kem operation.
authorShane Lontis <shane.lontis@oracle.com>
Wed, 23 Sep 2020 01:49:38 +0000 (11:49 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Thu, 24 Sep 2020 12:45:25 +0000 (22:45 +1000)
commit21e5be854deb65f54661c8231a9a30a453a173e0
tree4c69893cfa0789c735aa22249bff5090cf91af47
parent4e0723bc93373da6affd1c2ce7dcad39281ebb9b
Add key length check to rsa_kem operation.

This uses similiar code used by other rsa related operations.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12955)
providers/implementations/kem/rsa_kem.c