SHA512_BLOCK_SIZE 63 arch/arm/crypto/sha512-glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 77 arch/arm/crypto/sha512-glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 32 arch/arm/crypto/sha512-neon-glue.c (sctx->count[0] % SHA512_BLOCK_SIZE) + len < SHA512_BLOCK_SIZE) SHA512_BLOCK_SIZE 91 arch/arm/crypto/sha512-neon-glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 91 arch/arm64/crypto/sha512-ce-glue.c .base.cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 103 arch/arm64/crypto/sha512-ce-glue.c .base.cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 61 arch/arm64/crypto/sha512-glue.c .base.cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 119 arch/mips/cavium-octeon/crypto/octeon-sha512.c index = sctx->count[0] % SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 125 arch/mips/cavium-octeon/crypto/octeon-sha512.c part_len = SHA512_BLOCK_SIZE - index; SHA512_BLOCK_SIZE 132 arch/mips/cavium-octeon/crypto/octeon-sha512.c for (i = part_len; i + SHA512_BLOCK_SIZE <= len; SHA512_BLOCK_SIZE 133 arch/mips/cavium-octeon/crypto/octeon-sha512.c i += SHA512_BLOCK_SIZE) SHA512_BLOCK_SIZE 157 arch/mips/cavium-octeon/crypto/octeon-sha512.c if ((sctx->count[0] % SHA512_BLOCK_SIZE) + len < SHA512_BLOCK_SIZE) SHA512_BLOCK_SIZE 234 arch/mips/cavium-octeon/crypto/octeon-sha512.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 79 arch/s390/crypto/sha512_s390.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 69 arch/sparc/crypto/sha512_glue.c done = SHA512_BLOCK_SIZE - partial; SHA512_BLOCK_SIZE 73 arch/sparc/crypto/sha512_glue.c if (len - done >= SHA512_BLOCK_SIZE) { SHA512_BLOCK_SIZE 74 arch/sparc/crypto/sha512_glue.c const unsigned int rounds = (len - done) / SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 77 arch/sparc/crypto/sha512_glue.c done += rounds * SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 87 arch/sparc/crypto/sha512_glue.c unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 90 arch/sparc/crypto/sha512_glue.c if (partial + len < SHA512_BLOCK_SIZE) { SHA512_BLOCK_SIZE 106 arch/sparc/crypto/sha512_glue.c static const u8 padding[SHA512_BLOCK_SIZE] = { 0x80, }; SHA512_BLOCK_SIZE 113 arch/sparc/crypto/sha512_glue.c index = sctx->count[0] % SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 114 arch/sparc/crypto/sha512_glue.c padlen = (index < 112) ? (112 - index) : ((SHA512_BLOCK_SIZE+112) - index); SHA512_BLOCK_SIZE 158 arch/sparc/crypto/sha512_glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 53 arch/x86/crypto/sha512_ssse3_glue.c (sctx->count[0] % SHA512_BLOCK_SIZE) + len < SHA512_BLOCK_SIZE) SHA512_BLOCK_SIZE 112 arch/x86/crypto/sha512_ssse3_glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 189 arch/x86/crypto/sha512_ssse3_glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 260 arch/x86/crypto/sha512_ssse3_glue.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 156 crypto/sha512_generic.c src += SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 192 crypto/sha512_generic.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 106 drivers/crypto/atmel-sha.c u8 buffer[SHA_BUFFER_LEN + SHA512_BLOCK_SIZE] __aligned(sizeof(u32)); SHA512_BLOCK_SIZE 458 drivers/crypto/atmel-sha.c ctx->block_size = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1368 drivers/crypto/atmel-sha.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 1679 drivers/crypto/atmel-sha.c u8 buffer[SHA512_BLOCK_SIZE]; SHA512_BLOCK_SIZE 1731 drivers/crypto/atmel-sha.c u32 ipad[SHA512_BLOCK_SIZE / sizeof(u32)]; SHA512_BLOCK_SIZE 1732 drivers/crypto/atmel-sha.c u32 opad[SHA512_BLOCK_SIZE / sizeof(u32)]; SHA512_BLOCK_SIZE 1784 drivers/crypto/atmel-sha.c ctx->block_size = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 2199 drivers/crypto/atmel-sha.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 4035 drivers/crypto/bcm/cipher.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 4054 drivers/crypto/bcm/cipher.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 47 drivers/crypto/bcm/cipher.h #define MAX_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 2963 drivers/crypto/caam/caamalg_qi2.c #define CAAM_MAX_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 4462 drivers/crypto/caam/caamalg_qi2.c .blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 74 drivers/crypto/caam/caamhash.c #define CAAM_MAX_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 1722 drivers/crypto/caam/caamhash.c .blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 412 drivers/crypto/ccp/ccp-crypto-sha.c .block_size = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 182 drivers/crypto/ccp/ccp-crypto.h #define MAX_SHA_BLOCK_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 1510 drivers/crypto/ccp/ccp-ops.c block_size = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1696 drivers/crypto/ccree/cc_hash.c .blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 19 drivers/crypto/ccree/cc_hash.h #define CC_MAX_HASH_BLCK_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 338 drivers/crypto/chelsio/chcr_algo.c crypto_shash_update(desc, iopad, SHA512_BLOCK_SIZE) ?: SHA512_BLOCK_SIZE 344 drivers/crypto/chelsio/chcr_algo.c crypto_shash_update(desc, iopad, SHA512_BLOCK_SIZE) ?: SHA512_BLOCK_SIZE 3840 drivers/crypto/chelsio/chcr_algo.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 3901 drivers/crypto/chelsio/chcr_algo.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 746 drivers/crypto/inside-secure/safexcel.h #define HASH_CACHE_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 1378 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1413 drivers/crypto/inside-secure/safexcel_hash.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 1433 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1495 drivers/crypto/inside-secure/safexcel_hash.c req->len = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1496 drivers/crypto/inside-secure/safexcel_hash.c req->processed = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1501 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1538 drivers/crypto/inside-secure/safexcel_hash.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 1565 drivers/crypto/inside-secure/safexcel_hash.c req->len = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1566 drivers/crypto/inside-secure/safexcel_hash.c req->processed = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1571 drivers/crypto/inside-secure/safexcel_hash.c req->block_sz = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 100 drivers/crypto/mediatek/mtk-sha.c u8 ipad[SHA512_BLOCK_SIZE] __aligned(sizeof(u32)); SHA512_BLOCK_SIZE 101 drivers/crypto/mediatek/mtk-sha.c u8 opad[SHA512_BLOCK_SIZE] __aligned(sizeof(u32)); SHA512_BLOCK_SIZE 400 drivers/crypto/mediatek/mtk-sha.c ctx->bs = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1107 drivers/crypto/mediatek/mtk-sha.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 1158 drivers/crypto/mediatek/mtk-sha.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 68 drivers/crypto/nx/nx-sha512.c u64 buf_len = (sctx->count[0] % SHA512_BLOCK_SIZE); SHA512_BLOCK_SIZE 76 drivers/crypto/nx/nx-sha512.c total = (sctx->count[0] % SHA512_BLOCK_SIZE) + len; SHA512_BLOCK_SIZE 77 drivers/crypto/nx/nx-sha512.c if (total < SHA512_BLOCK_SIZE) { SHA512_BLOCK_SIZE 128 drivers/crypto/nx/nx-sha512.c to_process = to_process & ~(SHA512_BLOCK_SIZE - 1); SHA512_BLOCK_SIZE 167 drivers/crypto/nx/nx-sha512.c } while (leftover >= SHA512_BLOCK_SIZE); SHA512_BLOCK_SIZE 200 drivers/crypto/nx/nx-sha512.c if (sctx->count[0] >= SHA512_BLOCK_SIZE) { SHA512_BLOCK_SIZE 218 drivers/crypto/nx/nx-sha512.c len = sctx->count[0] & (SHA512_BLOCK_SIZE - 1); SHA512_BLOCK_SIZE 222 drivers/crypto/nx/nx-sha512.c if (len != (sctx->count[0] & (SHA512_BLOCK_SIZE - 1))) { SHA512_BLOCK_SIZE 283 drivers/crypto/nx/nx-sha512.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 136 drivers/crypto/omap-sham.c #define BUFLEN SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 163 drivers/crypto/omap-sham.c u8 ipad[SHA512_BLOCK_SIZE] OMAP_ALIGNED; SHA512_BLOCK_SIZE 164 drivers/crypto/omap-sham.c u8 opad[SHA512_BLOCK_SIZE] OMAP_ALIGNED; SHA512_BLOCK_SIZE 436 drivers/crypto/omap-sham.c d = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 971 drivers/crypto/omap-sham.c bs = SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 1672 drivers/crypto/omap-sham.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 1717 drivers/crypto/omap-sham.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 121 drivers/crypto/qat/qat_common/qat_algs.c char ipad[SHA512_BLOCK_SIZE]; /* sufficient for SHA-1/SHA-256 as well */ SHA512_BLOCK_SIZE 122 drivers/crypto/qat/qat_common/qat_algs.c char opad[SHA512_BLOCK_SIZE]; SHA512_BLOCK_SIZE 843 drivers/crypto/talitos.c #define TALITOS_MAX_KEY_SIZE (AES_MAX_KEY_SIZE + SHA512_BLOCK_SIZE) SHA512_BLOCK_SIZE 861 drivers/crypto/talitos.c #define HASH_MAX_BLOCK_SIZE SHA512_BLOCK_SIZE SHA512_BLOCK_SIZE 2907 drivers/crypto/talitos.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 2997 drivers/crypto/talitos.c .cra_blocksize = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 23 fs/verity/hash_algs.c .block_size = SHA512_BLOCK_SIZE, SHA512_BLOCK_SIZE 93 include/crypto/sha.h u8 buf[SHA512_BLOCK_SIZE]; SHA512_BLOCK_SIZE 61 include/crypto/sha512_base.h unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 67 include/crypto/sha512_base.h if (unlikely((partial + len) >= SHA512_BLOCK_SIZE)) { SHA512_BLOCK_SIZE 71 include/crypto/sha512_base.h int p = SHA512_BLOCK_SIZE - partial; SHA512_BLOCK_SIZE 80 include/crypto/sha512_base.h blocks = len / SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 81 include/crypto/sha512_base.h len %= SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 85 include/crypto/sha512_base.h data += blocks * SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 98 include/crypto/sha512_base.h const int bit_offset = SHA512_BLOCK_SIZE - sizeof(__be64[2]); SHA512_BLOCK_SIZE 101 include/crypto/sha512_base.h unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; SHA512_BLOCK_SIZE 105 include/crypto/sha512_base.h memset(sctx->buf + partial, 0x0, SHA512_BLOCK_SIZE - partial);