Lines Matching refs:sha2_word32
135 typedef uint32_t sha2_word32; /* Exactly 4 bytes */ typedef
141 typedef u_int32_t sha2_word32; /* Exactly 4 bytes */ typedef
157 sha2_word32 tmp = (w); \
249 void SHA256_Transform(SHA256_CTX*, const sha2_word32*);
255 const static sha2_word32 K256[64] = {
275 const static sha2_word32 sha256_initial_hash_value[8] = {
416 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform()
417 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform()
418 sha2_word32 T1, *W256; in SHA256_Transform()
421 W256 = (sha2_word32*)context->buffer; in SHA256_Transform()
474 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform()
475 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform()
476 sha2_word32 T1, T2, *W256; in SHA256_Transform()
479 W256 = (sha2_word32*)context->buffer; in SHA256_Transform()
576 SHA256_Transform(context, (sha2_word32*)context->buffer); in SHA256_Update()
588 SHA256_Transform(context, (sha2_word32*)data); in SHA256_Update()
603 sha2_word32 *d = (sha2_word32*)digest; in SHA256_Final()
628 SHA256_Transform(context, (sha2_word32*)context->buffer); in SHA256_Final()
644 SHA256_Transform(context, (sha2_word32*)context->buffer); in SHA256_Final()