diff options
author | Harald Freudenberger <freude@linux.vnet.ibm.com> | 2017-03-15 12:58:07 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-03-22 10:21:20 +0300 |
commit | ca681ec860d6533b8debda4f6ab2e70e6d519d89 (patch) | |
tree | e80da949d3bc33bf537d65489e5ad9345fca5c67 /drivers/s390/crypto/ap_card.c | |
parent | 0861b5a754fd5539f527b445aaa61538185c8264 (diff) | |
download | linux-ca681ec860d6533b8debda4f6ab2e70e6d519d89.tar.xz |
s390/pkey: Fix wrong handling of secure key with old MKVP
When a secure key with an old Master Key Verification
Pattern was given to the pkey_findcard function, there was
no responsible card found because only the current MKVP of
each card was compared. With this fix also the old MKVP
values are considered and so a matching card able to handle
the key is reported back to the caller.
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/ap_card.c')
0 files changed, 0 insertions, 0 deletions