s390/crypto: Introduce function for tokenize clearkeys
authorHolger Dengler <dengler@linux.ibm.com>
Fri, 25 Oct 2024 15:12:47 +0000 (17:12 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 29 Oct 2024 10:17:19 +0000 (11:17 +0100)
commit20a5f640ca7f7b8486d8f5bd286ef7f58b88ea68
tree3306969800bf23819d657ce2dbc37c5ce8034ba7
parent6e98c81063d2bc48705c89faa4fa50ddc2861f8d
s390/crypto: Introduce function for tokenize clearkeys

Move the conversion of a clearkey blob to token into a separate
function.

The functionality of the paes module is not affected by this commit.

Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/crypto/paes_s390.c