diff options
author | Thara Gopinath <thara.gopinath@linaro.org> | 2021-02-11 15:01:20 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-07 15:13:16 +1100 |
commit | f0d078dd6c490535ccd7f1694813295dae99814e (patch) | |
tree | 2b33bedf51a37363d9d58c25dd21013505ff781e /drivers/fpga/fpga-region.c | |
parent | 38de3cf21fc057f37ae6fb1f46a6fbe852792789 (diff) |
crypto: qce - Return unsupported if key1 and key 2 are same for AES XTS algorithm
Crypto engine does not support key1 = key2 for AES XTS algorithm; the
operation hangs the engines. Return -EINVAL in case key1 and key2 are the
same.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions