SHA1_BLOCK_SIZE 35 arch/arm/crypto/sha1-ce-glue.c (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE) SHA1_BLOCK_SIZE 76 arch/arm/crypto/sha1-ce-glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 65 arch/arm/crypto/sha1_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 39 arch/arm/crypto/sha1_neon_glue.c (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE) SHA1_BLOCK_SIZE 82 arch/arm/crypto/sha1_neon_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 55 arch/arm64/crypto/sha1-ce-glue.c bool finalize = !sctx->sst.count && !(len % SHA1_BLOCK_SIZE) && len; SHA1_BLOCK_SIZE 100 arch/arm64/crypto/sha1-ce-glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 95 arch/mips/cavium-octeon/crypto/octeon-sha1.c partial = sctx->count % SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 100 arch/mips/cavium-octeon/crypto/octeon-sha1.c if ((partial + len) >= SHA1_BLOCK_SIZE) { SHA1_BLOCK_SIZE 104 arch/mips/cavium-octeon/crypto/octeon-sha1.c done + SHA1_BLOCK_SIZE); SHA1_BLOCK_SIZE 110 arch/mips/cavium-octeon/crypto/octeon-sha1.c done += SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 112 arch/mips/cavium-octeon/crypto/octeon-sha1.c } while (done + SHA1_BLOCK_SIZE <= len); SHA1_BLOCK_SIZE 131 arch/mips/cavium-octeon/crypto/octeon-sha1.c if ((sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE) SHA1_BLOCK_SIZE 214 arch/mips/cavium-octeon/crypto/octeon-sha1.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 183 arch/powerpc/crypto/sha1-spe-glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 130 arch/powerpc/crypto/sha1.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 81 arch/s390/crypto/sha1_s390.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 48 arch/sparc/crypto/sha1_glue.c done = SHA1_BLOCK_SIZE - partial; SHA1_BLOCK_SIZE 52 arch/sparc/crypto/sha1_glue.c if (len - done >= SHA1_BLOCK_SIZE) { SHA1_BLOCK_SIZE 53 arch/sparc/crypto/sha1_glue.c const unsigned int rounds = (len - done) / SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 56 arch/sparc/crypto/sha1_glue.c done += rounds * SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 66 arch/sparc/crypto/sha1_glue.c unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 69 arch/sparc/crypto/sha1_glue.c if (partial + len < SHA1_BLOCK_SIZE) { SHA1_BLOCK_SIZE 85 arch/sparc/crypto/sha1_glue.c static const u8 padding[SHA1_BLOCK_SIZE] = { 0x80, }; SHA1_BLOCK_SIZE 90 arch/sparc/crypto/sha1_glue.c index = sctx->count % SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 91 arch/sparc/crypto/sha1_glue.c padlen = (index < 56) ? (56 - index) : ((SHA1_BLOCK_SIZE+56) - index); SHA1_BLOCK_SIZE 143 arch/sparc/crypto/sha1_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 39 arch/x86/crypto/sha1_ssse3_glue.c (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE) SHA1_BLOCK_SIZE 103 arch/x86/crypto/sha1_ssse3_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 155 arch/x86/crypto/sha1_ssse3_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 246 arch/x86/crypto/sha1_ssse3_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 303 arch/x86/crypto/sha1_ssse3_glue.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 38 crypto/sha1_generic.c src += SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 75 crypto/sha1_generic.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 442 drivers/crypto/atmel-sha.c ctx->block_size = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 1268 drivers/crypto/atmel-sha.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1764 drivers/crypto/atmel-sha.c ctx->block_size = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 2099 drivers/crypto/atmel-sha.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 2644 drivers/crypto/axis/artpec6_crypto.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 3888 drivers/crypto/bcm/cipher.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 3906 drivers/crypto/bcm/cipher.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 4378 drivers/crypto/caam/caamalg_qi2.c .blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1638 drivers/crypto/caam/caamhash.c .blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 380 drivers/crypto/ccp/ccp-crypto-sha.c .block_size = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1488 drivers/crypto/ccp/ccp-ops.c block_size = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 433 drivers/crypto/ccree/cc_aead.c blocksize = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 1587 drivers/crypto/ccree/cc_hash.c .blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 321 drivers/crypto/chelsio/chcr_algo.c crypto_shash_update(desc, iopad, SHA1_BLOCK_SIZE) ?: SHA1_BLOCK_SIZE 3792 drivers/crypto/chelsio/chcr_algo.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 3853 drivers/crypto/chelsio/chcr_algo.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 799 drivers/crypto/img-hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 811 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 866 drivers/crypto/inside-secure/safexcel_hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 886 drivers/crypto/inside-secure/safexcel_hash.c req->len = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 887 drivers/crypto/inside-secure/safexcel_hash.c req->processed = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 892 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 1108 drivers/crypto/inside-secure/safexcel_hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 90 drivers/crypto/ixp4xx_crypto.c #define HMAC_PAD_BLOCKLEN SHA1_BLOCK_SIZE SHA1_BLOCK_SIZE 989 drivers/crypto/marvell/hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1366 drivers/crypto/marvell/hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 384 drivers/crypto/mediatek/mtk-sha.c ctx->bs = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 934 drivers/crypto/mediatek/mtk-sha.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1005 drivers/crypto/mediatek/mtk-sha.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 924 drivers/crypto/mxs-dcp.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1320 drivers/crypto/n2_core.c .block_size = SHA1_BLOCK_SIZE }, SHA1_BLOCK_SIZE 428 drivers/crypto/omap-sham.c d = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 951 drivers/crypto/omap-sham.c bs = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 955 drivers/crypto/omap-sham.c bs = SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 1465 drivers/crypto/omap-sham.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1487 drivers/crypto/omap-sham.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1510 drivers/crypto/omap-sham.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1534 drivers/crypto/omap-sham.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 93 drivers/crypto/padlock-sha.c leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1; SHA1_BLOCK_SIZE 94 drivers/crypto/padlock-sha.c space = SHA1_BLOCK_SIZE - leftover; SHA1_BLOCK_SIZE 107 drivers/crypto/padlock-sha.c state.count &= ~(SHA1_BLOCK_SIZE - 1); SHA1_BLOCK_SIZE 168 drivers/crypto/padlock-sha.c state.count &= ~(SHA1_BLOCK_SIZE - 1); SHA1_BLOCK_SIZE 241 drivers/crypto/padlock-sha.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 302 drivers/crypto/padlock-sha.c if ((partial + len) >= SHA1_BLOCK_SIZE) { SHA1_BLOCK_SIZE 308 drivers/crypto/padlock-sha.c done + SHA1_BLOCK_SIZE); SHA1_BLOCK_SIZE 313 drivers/crypto/padlock-sha.c done += SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 318 drivers/crypto/padlock-sha.c if (len - done >= SHA1_BLOCK_SIZE) { SHA1_BLOCK_SIZE 322 drivers/crypto/padlock-sha.c "c"((unsigned long)((len - done) / SHA1_BLOCK_SIZE))); SHA1_BLOCK_SIZE 323 drivers/crypto/padlock-sha.c done += ((len - done) - (len - done) % SHA1_BLOCK_SIZE); SHA1_BLOCK_SIZE 475 drivers/crypto/padlock-sha.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 436 drivers/crypto/qce/sha.c .blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 454 drivers/crypto/qce/sha.c .blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 333 drivers/crypto/rockchip/rk3288_crypto_ahash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 393 drivers/crypto/rockchip/rk3288_crypto_ahash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1254 drivers/crypto/sahara.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1190 drivers/crypto/stm32/stm32-hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1216 drivers/crypto/stm32/stm32-hash.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 70 drivers/crypto/sunxi-ss/sun4i-ss-core.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 2847 drivers/crypto/talitos.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 2937 drivers/crypto/talitos.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1531 drivers/crypto/ux500/hash/hash_core.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 1578 drivers/crypto/ux500/hash/hash_core.c .cra_blocksize = SHA1_BLOCK_SIZE, SHA1_BLOCK_SIZE 81 include/crypto/sha.h u8 buffer[SHA1_BLOCK_SIZE]; SHA1_BLOCK_SIZE 40 include/crypto/sha1_base.h unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 44 include/crypto/sha1_base.h if (unlikely((partial + len) >= SHA1_BLOCK_SIZE)) { SHA1_BLOCK_SIZE 48 include/crypto/sha1_base.h int p = SHA1_BLOCK_SIZE - partial; SHA1_BLOCK_SIZE 57 include/crypto/sha1_base.h blocks = len / SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 58 include/crypto/sha1_base.h len %= SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 62 include/crypto/sha1_base.h data += blocks * SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 75 include/crypto/sha1_base.h const int bit_offset = SHA1_BLOCK_SIZE - sizeof(__be64); SHA1_BLOCK_SIZE 78 include/crypto/sha1_base.h unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; SHA1_BLOCK_SIZE 82 include/crypto/sha1_base.h memset(sctx->buffer + partial, 0x0, SHA1_BLOCK_SIZE - partial);