Home
last modified time | relevance | path

Searched refs:rnbyte_cnt (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_random.c107 static int rnbyte_cnt; /* Number of bytes in the cache */ variable
156 rnbyte_cnt = 0; in kcf_rnd_init()
476 if (len <= rnbyte_cnt) { in rnd_get_bytes()
507 if (how == NONBLOCK_EXTRACT && (rnbyte_cnt < len)) in rnd_get_bytes()
516 while (rnbyte_cnt < MINEXTRACTBYTES) { in rnd_get_bytes()
529 bytes = min(len, rnbyte_cnt); in rnd_get_bytes()
659 if ((rnbyte_cnt < MINEXTRACTBYTES) || in rnd_generate_pseudo_bytes()
921 if (rnbyte_cnt >= MINEXTRACTBYTES) in kcf_rnd_chpoll()
947 else if (rnbyte_cnt < RNDPOOLSIZE) in rnd_handler()
986 if (rnbyte_cnt >= MINEXTRACTBYTES) in rnd_handler()
[all …]