SHA256_BLOCK_SIZE 36 arch/arm/crypto/sha2-ce-glue.c (sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 79 arch/arm/crypto/sha2-ce-glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 93 arch/arm/crypto/sha2-ce-glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 69 arch/arm/crypto/sha256_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 34 arch/arm/crypto/sha256_neon_glue.c (sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 78 arch/arm/crypto/sha256_neon_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 60 arch/arm64/crypto/sha2-ce-glue.c bool finalize = !sctx->sst.count && !(len % SHA256_BLOCK_SIZE) && len; SHA256_BLOCK_SIZE 115 arch/arm64/crypto/sha2-ce-glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 129 arch/arm64/crypto/sha2-ce-glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 67 arch/arm64/crypto/sha256-glue.c .base.cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 101 arch/arm64/crypto/sha256-glue.c chunk + sctx->count % SHA256_BLOCK_SIZE > SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 102 arch/arm64/crypto/sha256-glue.c chunk = SHA256_BLOCK_SIZE - SHA256_BLOCK_SIZE 103 arch/arm64/crypto/sha256-glue.c sctx->count % SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 150 arch/arm64/crypto/sha256-glue.c .base.cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 107 arch/mips/cavium-octeon/crypto/octeon-sha256.c partial = sctx->count % SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 112 arch/mips/cavium-octeon/crypto/octeon-sha256.c if ((partial + len) >= SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 116 arch/mips/cavium-octeon/crypto/octeon-sha256.c done + SHA256_BLOCK_SIZE); SHA256_BLOCK_SIZE 122 arch/mips/cavium-octeon/crypto/octeon-sha256.c done += SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 124 arch/mips/cavium-octeon/crypto/octeon-sha256.c } while (done + SHA256_BLOCK_SIZE <= len); SHA256_BLOCK_SIZE 143 arch/mips/cavium-octeon/crypto/octeon-sha256.c if ((sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 238 arch/mips/cavium-octeon/crypto/octeon-sha256.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 229 arch/powerpc/crypto/sha256-spe-glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 74 arch/s390/crypto/sha256_s390.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 69 arch/sparc/crypto/sha256_glue.c done = SHA256_BLOCK_SIZE - partial; SHA256_BLOCK_SIZE 73 arch/sparc/crypto/sha256_glue.c if (len - done >= SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 74 arch/sparc/crypto/sha256_glue.c const unsigned int rounds = (len - done) / SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 77 arch/sparc/crypto/sha256_glue.c done += rounds * SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 87 arch/sparc/crypto/sha256_glue.c unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 90 arch/sparc/crypto/sha256_glue.c if (partial + len < SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 105 arch/sparc/crypto/sha256_glue.c static const u8 padding[SHA256_BLOCK_SIZE] = { 0x80, }; SHA256_BLOCK_SIZE 110 arch/sparc/crypto/sha256_glue.c index = sctx->count % SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 111 arch/sparc/crypto/sha256_glue.c padlen = (index < 56) ? (56 - index) : ((SHA256_BLOCK_SIZE+56) - index); SHA256_BLOCK_SIZE 173 arch/sparc/crypto/sha256_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 54 arch/x86/crypto/sha256_ssse3_glue.c (sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 113 arch/x86/crypto/sha256_ssse3_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 179 arch/x86/crypto/sha256_ssse3_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 261 arch/x86/crypto/sha256_ssse3_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 341 arch/x86/crypto/sha256_ssse3_glue.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 80 crypto/sha256_generic.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 450 drivers/crypto/atmel-sha.c ctx->block_size = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1292 drivers/crypto/atmel-sha.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1774 drivers/crypto/atmel-sha.c ctx->block_size = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 2149 drivers/crypto/atmel-sha.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 290 drivers/crypto/axis/artpec6_crypto.c char partial_buffer[SHA256_BLOCK_SIZE]; SHA256_BLOCK_SIZE 291 drivers/crypto/axis/artpec6_crypto.c char partial_buffer_out[SHA256_BLOCK_SIZE]; SHA256_BLOCK_SIZE 292 drivers/crypto/axis/artpec6_crypto.c char key_buffer[SHA256_BLOCK_SIZE]; SHA256_BLOCK_SIZE 293 drivers/crypto/axis/artpec6_crypto.c char pad_buffer[SHA256_BLOCK_SIZE + 32]; SHA256_BLOCK_SIZE 304 drivers/crypto/axis/artpec6_crypto.c char partial_buffer[SHA256_BLOCK_SIZE]; SHA256_BLOCK_SIZE 313 drivers/crypto/axis/artpec6_crypto.c char hmac_key[SHA256_BLOCK_SIZE]; SHA256_BLOCK_SIZE 2667 drivers/crypto/axis/artpec6_crypto.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 2691 drivers/crypto/axis/artpec6_crypto.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 3960 drivers/crypto/bcm/cipher.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 3978 drivers/crypto/bcm/cipher.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 4420 drivers/crypto/caam/caamalg_qi2.c .blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1680 drivers/crypto/caam/caamhash.c .blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 396 drivers/crypto/ccp/ccp-crypto-sha.c .block_size = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1498 drivers/crypto/ccp/ccp-ops.c block_size = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 24 drivers/crypto/ccree/cc_aead.c #define MAX_HMAC_BLOCK_SIZE (SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 342 drivers/crypto/ccree/cc_aead.c SHA256_BLOCK_SIZE, NS_BIT); SHA256_BLOCK_SIZE 439 drivers/crypto/ccree/cc_aead.c blocksize = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1615 drivers/crypto/ccree/cc_hash.c .blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 326 drivers/crypto/chelsio/chcr_algo.c crypto_shash_update(desc, iopad, SHA256_BLOCK_SIZE) ?: SHA256_BLOCK_SIZE 332 drivers/crypto/chelsio/chcr_algo.c crypto_shash_update(desc, iopad, SHA256_BLOCK_SIZE) ?: SHA256_BLOCK_SIZE 3804 drivers/crypto/chelsio/chcr_algo.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 3877 drivers/crypto/chelsio/chcr_algo.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 851 drivers/crypto/img-hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1128 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1163 drivers/crypto/inside-secure/safexcel_hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1183 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1245 drivers/crypto/inside-secure/safexcel_hash.c req->len = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1246 drivers/crypto/inside-secure/safexcel_hash.c req->processed = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1251 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1315 drivers/crypto/inside-secure/safexcel_hash.c req->len = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1316 drivers/crypto/inside-secure/safexcel_hash.c req->processed = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1321 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1358 drivers/crypto/inside-secure/safexcel_hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1062 drivers/crypto/marvell/hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1436 drivers/crypto/marvell/hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 392 drivers/crypto/mediatek/mtk-sha.c ctx->bs = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 980 drivers/crypto/mediatek/mtk-sha.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1057 drivers/crypto/mediatek/mtk-sha.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 951 drivers/crypto/mxs-dcp.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1328 drivers/crypto/n2_core.c .block_size = SHA256_BLOCK_SIZE }, SHA256_BLOCK_SIZE 68 drivers/crypto/nx/nx-sha256.c u64 buf_len = (sctx->count % SHA256_BLOCK_SIZE); SHA256_BLOCK_SIZE 76 drivers/crypto/nx/nx-sha256.c total = (sctx->count % SHA256_BLOCK_SIZE) + len; SHA256_BLOCK_SIZE 77 drivers/crypto/nx/nx-sha256.c if (total < SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 129 drivers/crypto/nx/nx-sha256.c to_process = to_process & ~(SHA256_BLOCK_SIZE - 1); SHA256_BLOCK_SIZE 163 drivers/crypto/nx/nx-sha256.c } while (leftover >= SHA256_BLOCK_SIZE); SHA256_BLOCK_SIZE 196 drivers/crypto/nx/nx-sha256.c if (sctx->count >= SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 209 drivers/crypto/nx/nx-sha256.c len = sctx->count & (SHA256_BLOCK_SIZE - 1); SHA256_BLOCK_SIZE 213 drivers/crypto/nx/nx-sha256.c if (len != (sctx->count & (SHA256_BLOCK_SIZE - 1))) { SHA256_BLOCK_SIZE 277 drivers/crypto/nx/nx-sha256.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 432 drivers/crypto/omap-sham.c d = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 963 drivers/crypto/omap-sham.c bs = SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 1581 drivers/crypto/omap-sham.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1626 drivers/crypto/omap-sham.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 154 drivers/crypto/padlock-sha.c leftover = ((state.count - 1) & (SHA256_BLOCK_SIZE - 1)) + 1; SHA256_BLOCK_SIZE 155 drivers/crypto/padlock-sha.c space = SHA256_BLOCK_SIZE - leftover; SHA256_BLOCK_SIZE 264 drivers/crypto/padlock-sha.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 386 drivers/crypto/padlock-sha.c if ((partial + len) >= SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 392 drivers/crypto/padlock-sha.c done + SHA256_BLOCK_SIZE); SHA256_BLOCK_SIZE 397 drivers/crypto/padlock-sha.c done += SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 402 drivers/crypto/padlock-sha.c if (len - done >= SHA256_BLOCK_SIZE) { SHA256_BLOCK_SIZE 493 drivers/crypto/padlock-sha.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 445 drivers/crypto/qce/sha.c .blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 463 drivers/crypto/qce/sha.c .blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 15 drivers/crypto/qce/sha.h #define QCE_SHA_MAX_BLOCKSIZE SHA256_BLOCK_SIZE SHA256_BLOCK_SIZE 363 drivers/crypto/rockchip/rk3288_crypto_ahash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 34 drivers/crypto/sahara.c #define SAHARA_MAX_SHA_BLOCK_SIZE SHA256_BLOCK_SIZE SHA256_BLOCK_SIZE 1187 drivers/crypto/sahara.c SHA_BUFFER_LEN + SHA256_BLOCK_SIZE); SHA256_BLOCK_SIZE 1280 drivers/crypto/sahara.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 107 drivers/crypto/stm32/stm32-hash.c #define HASH_MAX_KEY_SIZE (SHA256_BLOCK_SIZE * 8) SHA256_BLOCK_SIZE 1295 drivers/crypto/stm32/stm32-hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1321 drivers/crypto/stm32/stm32-hash.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 845 drivers/crypto/talitos.c #define TALITOS_MAX_KEY_SIZE (AES_MAX_KEY_SIZE + SHA256_BLOCK_SIZE) SHA256_BLOCK_SIZE 2877 drivers/crypto/talitos.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 2967 drivers/crypto/talitos.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1554 drivers/crypto/ux500/hash/hash_core.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 1602 drivers/crypto/ux500/hash/hash_core.c .cra_blocksize = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 18 fs/verity/hash_algs.c .block_size = SHA256_BLOCK_SIZE, SHA256_BLOCK_SIZE 87 include/crypto/sha.h u8 buf[SHA256_BLOCK_SIZE]; SHA256_BLOCK_SIZE 41 include/crypto/sha256_base.h unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 45 include/crypto/sha256_base.h if (unlikely((partial + len) >= SHA256_BLOCK_SIZE)) { SHA256_BLOCK_SIZE 49 include/crypto/sha256_base.h int p = SHA256_BLOCK_SIZE - partial; SHA256_BLOCK_SIZE 58 include/crypto/sha256_base.h blocks = len / SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 59 include/crypto/sha256_base.h len %= SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 63 include/crypto/sha256_base.h data += blocks * SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 76 include/crypto/sha256_base.h const int bit_offset = SHA256_BLOCK_SIZE - sizeof(__be64); SHA256_BLOCK_SIZE 79 include/crypto/sha256_base.h unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; SHA256_BLOCK_SIZE 83 include/crypto/sha256_base.h memset(sctx->buf + partial, 0x0, SHA256_BLOCK_SIZE - partial);