Lines Matching refs:SHA256_CBLOCK
153 res = SHA256_CBLOCK - res;
161 res = len % SHA256_CBLOCK;
165 sha256_block_data_order(c, ptr, len / SHA256_CBLOCK);
483 sha_off = SHA256_CBLOCK - key->md.num;
515 (blocks = (plen - (sha_off + iv)) / SHA256_CBLOCK)) {
520 blocks *= SHA256_CBLOCK;
573 unsigned char c[SHA256_CBLOCK];
609 if (len >= (256 + SHA256_CBLOCK)) {
610 j = (len - (256 + SHA256_CBLOCK)) & (0 - SHA256_CBLOCK);
611 j += SHA256_CBLOCK - key->md.num;
646 if (res != SHA256_CBLOCK)
665 for (i = res; i < SHA256_CBLOCK; i++, j++)
668 if (res > SHA256_CBLOCK - 8) {
682 memset(data, 0, SHA256_CBLOCK);
726 1 + ((SHA256_CBLOCK - 9 - res) >> (sizeof(res) * 8 - 1));
728 pad_blocks = res / SHA256_CBLOCK;
729 res %= SHA256_CBLOCK;
731 1 + ((SHA256_CBLOCK - 9 - res) >> (sizeof(res) * 8 - 1));