Lines Matching defs:state

144 /* Adjusted round function for rotating state */
157 * SHA512 block compression function. The 512-bit state is transformed via
158 * the 512-bit input block to produce a new state.
161 SHA512_Transform(uint64_t * state, const unsigned char block[SHA512_BLOCK_LENGTH])
171 memcpy(S, state, SHA512_DIGEST_LENGTH);
212 /* 4. Mix local working variables into global state */
214 state[i] += S[i];
244 SHA512_Transform(ctx->state, ctx->buf);
254 SHA512_Transform(ctx->state, ctx->buf);
266 ctx->state[0] = 0x6a09e667f3bcc908ULL;
267 ctx->state[1] = 0xbb67ae8584caa73bULL;
268 ctx->state[2] = 0x3c6ef372fe94f82bULL;
269 ctx->state[3] = 0xa54ff53a5f1d36f1ULL;
270 ctx->state[4] = 0x510e527fade682d1ULL;
271 ctx->state[5] = 0x9b05688c2b3e6c1fULL;
272 ctx->state[6] = 0x1f83d9abfb41bd6bULL;
273 ctx->state[7] = 0x5be0cd19137e2179ULL;
304 SHA512_Transform(ctx->state, ctx->buf);
310 SHA512_Transform(ctx->state, src);
321 * and clears the context state.
331 be64enc_vect(digest, ctx->state, SHA512_DIGEST_LENGTH);
333 /* Clear the context state */
349 ctx->state[0] = 0x8c3d37c819544da2ULL;
350 ctx->state[1] = 0x73e1996689dcd4d6ULL;
351 ctx->state[2] = 0x1dfab7ae32ff9c82ULL;
352 ctx->state[3] = 0x679dd514582f9fcfULL;
353 ctx->state[4] = 0x0f6d2b697bd44da8ULL;
354 ctx->state[5] = 0x77e36f7304c48942ULL;
355 ctx->state[6] = 0x3f9d85a86a1d36c8ULL;
356 ctx->state[7] = 0x1112e6ad91d692a1ULL;
374 be64enc_vect(digest, ctx->state, SHA512_224_DIGEST_LENGTH);
376 /* Clear the context state */
388 ctx->state[0] = 0x22312194fc2bf72cULL;
389 ctx->state[1] = 0x9f555fa3c84c64c2ULL;
390 ctx->state[2] = 0x2393b86b6f53b151ULL;
391 ctx->state[3] = 0x963877195940eabdULL;
392 ctx->state[4] = 0x96283ee2a88effe3ULL;
393 ctx->state[5] = 0xbe5e1e2553863992ULL;
394 ctx->state[6] = 0x2b0199fc2c85b8aaULL;
395 ctx->state[7] = 0x0eb72ddc81c52ca2ULL;
413 be64enc_vect(digest, ctx->state, SHA512_256_DIGEST_LENGTH);
415 /* Clear the context state */
433 ctx->state[0] = 0xcbbb9d5dc1059ed8ULL;
434 ctx->state[1] = 0x629a292a367cd507ULL;
435 ctx->state[2] = 0x9159015a3070dd17ULL;
436 ctx->state[3] = 0x152fecd8f70e5939ULL;
437 ctx->state[4] = 0x67332667ffc00b31ULL;
438 ctx->state[5] = 0x8eb44a8768581511ULL;
439 ctx->state[6] = 0xdb0c2e0d64f98fa7ULL;
440 ctx->state[7] = 0x47b5481dbefa4fa4ULL;
453 * and clears the context state.
463 be64enc_vect(digest, ctx->state, SHA384_DIGEST_LENGTH);
465 /* Clear the context state */