Lines Matching refs:prandom_u32

818 	unsigned int len = prandom_u32() % (max_len + 1);
820 switch (prandom_u32() % 4) {
837 bitpos = prandom_u32() % (size * 8);
844 buf[prandom_u32() % size] ^= 0xff;
854 if (prandom_u32() % 4 == 0) {
855 num_flips = min_t(size_t, 1 << (prandom_u32() % 8), size * 8);
861 if (prandom_u32() % 4 == 0) {
862 num_flips = min_t(size_t, 1 << (prandom_u32() % 8), size);
878 switch (prandom_u32() % 8) { /* Choose a generation strategy */
882 switch (prandom_u32() % 4) {
890 b = (u8)prandom_u32();
898 increment = (u8)prandom_u32();
899 b = (u8)prandom_u32();
907 buf[i] = (u8)prandom_u32();
922 if (div == &divs[max_divs - 1] || prandom_u32() % 2 == 0)
925 this_len = 1 + (prandom_u32() % remaining);
928 if (prandom_u32() % 4 == 0)
929 div->offset = (PAGE_SIZE - 128) + (prandom_u32() % 128);
930 else if (prandom_u32() % 2 == 0)
931 div->offset = prandom_u32() % 32;
933 div->offset = prandom_u32() % PAGE_SIZE;
934 if (prandom_u32() % 8 == 0)
939 switch (prandom_u32() % 4) {
951 prandom_u32() % 2 == 0)
998 if (prandom_u32() % 2 == 0) {
1003 if (prandom_u32() % 2 == 0) {
1008 switch (prandom_u32() % 4) {
1024 prandom_u32() % 2 == 0) {
1037 if (!cfg->inplace && prandom_u32() % 2 == 0) {
1046 if (prandom_u32() % 2 == 0) {
1047 cfg->iv_offset = 1 + (prandom_u32() % MAX_ALGAPI_ALIGNMASK);
1051 if (prandom_u32() % 2 == 0) {
1052 cfg->key_offset = 1 + (prandom_u32() % MAX_ALGAPI_ALIGNMASK);
1613 if (prandom_u32() % 4 == 0)
1614 vec->ksize = 1 + (prandom_u32() % maxkeysize);
2178 if (prandom_u32() % 2 == 0 && vec->alen > aad_tail_size) {
2181 if (prandom_u32() % 2 == 0)
2184 if (prandom_u32() % 2 == 0) {
2209 (prefer_inauthentic || prandom_u32() % 4 == 0);
2217 if (inauthentic && prandom_u32() % 2 == 0) {
2281 if (prandom_u32() % 4 == 0)
2282 vec->klen = prandom_u32() % (maxkeysize + 1);
2291 if (prandom_u32() % 4 == 0)
2292 authsize = prandom_u32() % (maxauthsize + 1);
2302 if (prandom_u32() % 4 == 0)
2923 if (prandom_u32() % 4 == 0)
2924 vec->klen = prandom_u32() % (maxkeysize + 1);