summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.ibm.com>2026-01-15 15:00:24 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-01-31 05:52:30 +0300
commit2dfca611197e4ac0fcca03dc82594bab38464964 (patch)
tree9977f10a75aa48002a827f061d68f1afdb23c826 /include/uapi/linux/errqueue.h
parentcf0840cc7f578c21e64810ef85e838d44d275d9c (diff)
downloadlinux-2dfca611197e4ac0fcca03dc82594bab38464964.tar.xz
s390/pkey: Support new xflag PKEY_XFLAG_NOCLEARKEY
Introduce a new xflag PKEY_XFLAG_NOCLEARKEY which when given refuses the conversion of "clear key tokens" to protected key material. Some algorithms (PAES, PHMAC) have the need to construct "clear key tokens" to be used during selftest. But in general these algorithms should only support clear key material for testing purpose. So now the algorithm implementation can signal via xflag PKEY_XFLAG_NOCLEARKEY that a conversion of clear key material to protected key is not acceptable and thus the pkey layer (usually one of the handler modules) refuses clear key material with -EINVAL. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions