Searched refs:rand (Results 1 – 4 of 4) sorted by relevance
29 return g_cmac_shm.rand->cmr_active; in cmac_rand_is_active()39 if (next == g_cmac_shm.rand->cmr_out) { in cmac_rand_is_full()53 next = g_cmac_shm.rand->cmr_in + 1; in cmac_rand_get_next()70 next = g_cmac_shm.rand->cmr_in; in cmac_rand_fill()72 g_cmac_shm.rand->cmr_buf[next] = buf[0]; in cmac_rand_fill()74 g_cmac_shm.rand->cmr_in = next; in cmac_rand_fill()76 if (next == g_cmac_shm.rand->cmr_out) { in cmac_rand_fill()
5 rand.c
124 struct cmac_shm_rand *rand; member
119 g_cmac_shm.rand = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_rand); in resolve_shm_ptrs()