diff options
author | Ingo Franzki <ifranzki@linux.ibm.com> | 2018-08-24 11:29:15 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-10-10 07:37:19 +0200 |
commit | fb1136d6580c93af3ec33bf7a5621d980a711f24 (patch) | |
tree | 3ea0c348815aaf916fdc2aedc30fbb5de74366db /arch/s390/crypto/paes_s390.c | |
parent | cb26b9ff7187ea79698f5e872d713f30affcc0a3 (diff) | |
download | linux-fb1136d6580c93af3ec33bf7a5621d980a711f24.tar.bz2 |
s390/pkey: Introduce new API for transforming key blobs
Introduce a new ioctl API and in-kernel API to transform
a variable length key blob of any supported type into a
protected key.
Transforming a secure key blob uses the already existing
function pkey_sec2protk().
Transforming a protected key blob also verifies if the
protected key is still valid. If not, -ENODEV is returned.
Both APIs are described in detail in the header files
arch/s390/include/asm/pkey.h and arch/s390/include/uapi/asm/pkey.h.
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/crypto/paes_s390.c')
0 files changed, 0 insertions, 0 deletions