D | sha2.c | 37 #define STRINFIGY2(b) #b argument 38 #define STRINGIFY(b) STRINFIGY2(b) argument 39 …#define ror(v, b) ({uint32_t ret; if (b) asm("ror %0, #" STRINGIFY(b) :"=r"(ret):"0"(v)); else ret… argument 68 uint32_t i, a, b, c, d, e, f, g, h; in sha2processBlock() local 83 b = state->h[1]; in sha2processBlock() 97 uint32_t maj = (a & b) ^ (a & c) ^ (b & c); in sha2processBlock() 105 c = b; in sha2processBlock() 106 b = a; in sha2processBlock() 112 state->h[1] += b; in sha2processBlock() 133 memcpy(state->b + state->bufBytesUsed, inBytes, bytesToCopy); in sha2processBytes() [all …]
|