Lines Matching refs:SHA
66 SHA sha;
68 SecByteBlock U(SHA::DIGESTSIZE);
69 SecByteBlock temp(SHA::DIGESTSIZE);
70 SecByteBlock W(((L-1)/160+1) * SHA::DIGESTSIZE);
81 xorbuf(U, temp, SHA::DIGESTSIZE);
84 U[SHA::DIGESTSIZE-1] |= 1;
85 q.Decode(U, SHA::DIGESTSIZE);
99 sha.CalculateDigest(W+(n-k)*SHA::DIGESTSIZE, seed, g/8);
103 W[SHA::DIGESTSIZE - 1 - b/8] |= 0x80;
104 X.Decode(W + SHA::DIGESTSIZE - 1 - b/8, L/8);