Lines Matching defs:state
115 /* Adjusted round function for rotating state */
128 * SHA256 block compression function. The 256-bit state is transformed via
129 * the 512-bit input block to produce a new state.
132 SHA256_Transform(uint32_t * state, const unsigned char block[64])
142 memcpy(S, state, 32);
183 /* 4. Mix local working variables into global state */
185 state[i] += S[i];
211 SHA256_Transform(ctx->state, ctx->buf);
221 SHA256_Transform(ctx->state, ctx->buf);
233 ctx->state[0] = 0x6A09E667;
234 ctx->state[1] = 0xBB67AE85;
235 ctx->state[2] = 0x3C6EF372;
236 ctx->state[3] = 0xA54FF53A;
237 ctx->state[4] = 0x510E527F;
238 ctx->state[5] = 0x9B05688C;
239 ctx->state[6] = 0x1F83D9AB;
240 ctx->state[7] = 0x5BE0CD19;
268 SHA256_Transform(ctx->state, ctx->buf);
274 SHA256_Transform(ctx->state, src);
285 * and clears the context state.
295 be32enc_vect(digest, ctx->state, SHA256_DIGEST_LENGTH);
297 /* Clear the context state */