Home | History | Annotate | Download | only in sha2

Lines Matching refs:curlen

210     md->sha256.curlen = 0;
245 if (md->sha256.curlen >= sizeof(md->sha256.buf)) {
251 md->sha256.length += md->sha256.curlen * 8;
254 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0x80;
260 if (md->sha256.curlen > 56) {
261 while (md->sha256.curlen < 64) {
262 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0;
265 md->sha256.curlen = 0;
269 while (md->sha256.curlen < 56) {
270 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0;