diff options
author | Eric Biggers <ebiggers@google.com> | 2019-10-09 16:03:49 -0700 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-12-12 23:45:16 +0200 |
commit | 135a5b27c8ddf6f5f681f7e1bc15d350a83220f9 (patch) | |
tree | efb405a9744fd41eabad631ea093772ab60bc4cc /crypto/hmac.c | |
parent | d34dbafdc1260d158a3ff7dac3edb06b680ee343 (diff) | |
download | linux-crypto-135a5b27c8ddf6f5f681f7e1bc15d350a83220f9.tar.gz linux-crypto-135a5b27c8ddf6f5f681f7e1bc15d350a83220f9.zip |
KEYS: asymmetric: return ENOMEM if akcipher_request_alloc() fails
No error code was being set on this error path.
Cc: stable@vger.kernel.org
Fixes: 61e4c308f504 ("KEYS: asym_tpm: Implement encryption operation [ver #2]")
Fixes: 62e395f6b1be ("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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions