treewide: use get_random_bytes() when possible
[platform/kernel/linux-starfive.git] / arch / powerpc / crypto / crc-vpmsum_test.c
index c1c1ef9..273c527 100644 (file)
@@ -82,7 +82,7 @@ static int __init crc_test_init(void)
 
                        if (len <= offset)
                                continue;
-                       prandom_bytes(data, len);
+                       get_random_bytes(data, len);
                        len -= offset;
 
                        crypto_shash_update(crct10dif_shash, data+offset, len);