Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/crypto/io/
H A Dswrand.c320 HASH_CTX hashctx; in swrand_get_entropy() local
369 HashInit(&hashctx); in swrand_get_entropy()
370 HashUpdate(&hashctx, (uint8_t *)srndpool, RNDPOOLSIZE); in swrand_get_entropy()
371 HashFinal(digest, &hashctx); in swrand_get_entropy()
472 HASH_CTX hashctx; in swrand_mix_pool() local
503 HashInit(&hashctx); in swrand_mix_pool()
507 HashUpdate(&hashctx, &pool[start], HASHBUFSIZE); in swrand_mix_pool()
509 HashUpdate(&hashctx, &pool[start], in swrand_mix_pool()
511 HashUpdate(&hashctx, pool, in swrand_mix_pool()
514 HashFinal(digest, &hashctx); in swrand_mix_pool()