Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KEYS: asymmetric: return ENOMEM if akcipher_request_alloc() fails
BugLink: https://bugs.launchpad.net/bugs/1860490 commit bea3741 upstream. No error code was being set on this error path. Cc: stable@vger.kernel.org Fixes: ad4b1eb ("KEYS: asym_tpm: Implement encryption operation [ver #2]") Fixes: c08fed7 ("KEYS: Implement encrypt, decrypt and sign for software asymmetric key [ver #2]") Reviewed-by: James Morris <jamorris@linux.microsoft.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
- Loading branch information