mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
01f224b9d7
commit
fc4a925f77
|
@ -414,7 +414,7 @@ static int __init prng_sha512_instantiate(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* append the seed by 16 bytes of unique nonce */
|
/* 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;
|
seedlen += 16;
|
||||||
|
|
||||||
/* now initial seed of the prno drng */
|
/* now initial seed of the prno drng */
|
||||||
|
|
Loading…
Reference in New Issue