scripts/mkhash.c
/* SHA-256 initialization.  Begins a SHA-256 operation. */
SHA-256 initialization.  Begins a SHA-256 operation.
SHA - 256 initialization . Begins a SHA - 256 operation .
static void
SHA256_Init(SHA256_CTX * ctx)
{
	ctx->count = 0;
	ctx->state[0] = 0x6A09E667;
	ctx->state[1] = 0xBB67AE85;
	ctx->state[2] = 0x3C6EF372;
	ctx->state[3] = 0xA54FF53A;
	ctx->state[4] = 0x510E527F;
	ctx->state[5] = 0x9B05688C;
	ctx->state[6] = 0x1F83D9AB;
	ctx->state[7] = 0x5BE0CD19;
}
static void SHA256_Init ( SHA256_CTX * ctx ) { ctx -> count = 0 ; ctx -> state [ 0 ] = 0x6A09E667 ; ctx -> state [ 1 ] = 0xBB67AE85 ; ctx -> state [ 2 ] = 0x3C6EF372 ; ctx -> state [ 3 ] = 0xA54FF53A ; ctx -> state [ 4 ] = 0x510E527F ; ctx -> state [ 5 ] = 0x9B05688C ; ctx -> state [ 6 ] = 0x1F83D9AB ; ctx -> state [ 7 ] = 0x5BE0CD19 ; }
SHA-256 initialization.
SHA - 256 initialization .
/* Zero bits processed so far */ /* Magic initialization constants */