summaryrefslogtreecommitdiff
path: root/arch/s390/crypto
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-02-08 18:44:45 +0300
committerVasily Gorbik <gor@linux.ibm.com>2021-02-13 19:17:55 +0300
commitfc4a925f7774fe14f8f6318d0d7ed7d2596f073f (patch)
tree587f0c53e7c22a7bdda8a3716aef001f2693820f /arch/s390/crypto
parent01f224b9d7227208a2dba8ef93b8fe1a29d0b9f1 (diff)
downloadlinux-fc4a925f7774fe14f8f6318d0d7ed7d2596f073f.tar.xz
s390/crypto: use store_tod_clock_ext()
Use store_tod_clock_ext() in order to be able to get rid get_tod_clock_ext(). Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/crypto')
-rw-r--r--arch/s390/crypto/prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c
index b2f219ec379c..234d791ca59d 100644
--- a/arch/s390/crypto/prng.c
+++ b/arch/s390/crypto/prng.c
@@ -414,7 +414,7 @@ static int __init prng_sha512_instantiate(void)
}
/* append the seed by 16 bytes of unique nonce */
- get_tod_clock_ext(seed + seedlen);
+ store_tod_clock_ext((union tod_clock *)(seed + seedlen));
seedlen += 16;
/* now initial seed of the prno drng */