Lines Matching refs:MINEXTRACTBYTES
75 #define MINEXTRACTBYTES 20 macro
311 rndc_addbytes(rndbuf, MINEXTRACTBYTES); in notify_done()
313 bzero(rndbuf, MINEXTRACTBYTES); in notify_done()
314 kmem_free(rndbuf, MINEXTRACTBYTES); in notify_done()
354 rndbuf = kmem_alloc(MINEXTRACTBYTES, KM_NOSLEEP); in rngprov_getbytes_nblk()
364 pd->pd_sid, rndbuf, MINEXTRACTBYTES, 0, 0); in rngprov_getbytes_nblk()
388 blen = min(MINEXTRACTBYTES, len); in rngprov_getbytes_nblk()
390 if (len < MINEXTRACTBYTES) in rngprov_getbytes_nblk()
392 MINEXTRACTBYTES - len); in rngprov_getbytes_nblk()
411 bzero(rndbuf, MINEXTRACTBYTES); in rngprov_getbytes_nblk()
412 kmem_free(rndbuf, MINEXTRACTBYTES); in rngprov_getbytes_nblk()
516 while (rnbyte_cnt < MINEXTRACTBYTES) { in rnd_get_bytes()
659 if ((rnbyte_cnt < MINEXTRACTBYTES) || in rnd_generate_pseudo_bytes()
921 if (rnbyte_cnt >= MINEXTRACTBYTES) in kcf_rnd_chpoll()
948 len = MINEXTRACTBYTES; in rnd_handler()
987 if (rnbyte_cnt >= MINEXTRACTBYTES) in rnd_handler()