Lines Matching refs:sha1_addUncounted
133 void sha1_addUncounted(sha1nfo *s, uint8_t data) { in sha1_addUncounted() function
149 sha1_addUncounted(s, data); in sha1_writebyte()
160 sha1_addUncounted(s, 0x80); in sha1_pad()
161 while (s->bufferOffset != 56) sha1_addUncounted(s, 0x00); in sha1_pad()
164 sha1_addUncounted(s, 0); // We're only using 32 bit lengths in sha1_pad()
165 sha1_addUncounted(s, 0); // But SHA-1 supports 64 bit lengths in sha1_pad()
166 sha1_addUncounted(s, 0); // So zero pad the top bits in sha1_pad()
167 sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8 in sha1_pad()
168 sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as in sha1_pad()
169 sha1_addUncounted(s, s->byteCount >> 13); // byte. in sha1_pad()
170 sha1_addUncounted(s, s->byteCount >> 5); in sha1_pad()
171 sha1_addUncounted(s, s->byteCount << 3); in sha1_pad()