Searched defs:sha1_context (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c108 SHA1_CTX sha1_context; local
128 SHA1Init(&sha1_context);
129 SHA1Update(&sha1_context, (unsigned char *)XVAL, SHA1BYTES);
138 SHA1Update(&sha1_context, (unsigned char *)zero,
142 * sha1_context, which is of type SHA1_CTX, defined in sha1.h.
150 x_j[i] = sha1_context.state[i];
154 xvalconv(x_j, sha1_context.state, SHA1BYTES/4);

Completed in 513 milliseconds