digest_size 34 arch/arm64/crypto/sha3-ce-glue.c unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 47 arch/arm64/crypto/sha3-ce-glue.c sha3_ce_transform(sctx->st, sctx->buf, 1, digest_size); digest_size 60 arch/arm64/crypto/sha3-ce-glue.c sha3_ce_transform(sctx->st, data, blocks, digest_size); digest_size 76 arch/arm64/crypto/sha3-ce-glue.c unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 88 arch/arm64/crypto/sha3-ce-glue.c sha3_ce_transform(sctx->st, sctx->buf, 1, digest_size); digest_size 91 arch/arm64/crypto/sha3-ce-glue.c for (i = 0; i < digest_size / 8; i++) digest_size 94 arch/arm64/crypto/sha3-ce-glue.c if (digest_size & 4) digest_size 792 crypto/asymmetric_keys/asym_tpm.c sg_set_buf(&src_sg[1], sig->digest, sig->digest_size); digest_size 794 crypto/asymmetric_keys/asym_tpm.c sig->digest_size); digest_size 567 crypto/asymmetric_keys/asymmetric_type.c .digest_size = params->in_len, digest_size 48 crypto/asymmetric_keys/pkcs7_verify.c sig->digest_size = crypto_shash_digestsize(tfm); digest_size 51 crypto/asymmetric_keys/pkcs7_verify.c sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); digest_size 81 crypto/asymmetric_keys/pkcs7_verify.c if (sinfo->msgdigest_len != sig->digest_size) { digest_size 101 crypto/asymmetric_keys/pkcs7_verify.c memset(sig->digest, 0, sig->digest_size); digest_size 142 crypto/asymmetric_keys/pkcs7_verify.c *len = sinfo->sig->digest_size; digest_size 303 crypto/asymmetric_keys/public_key.c sg_set_buf(&src_sg[1], sig->digest, sig->digest_size); digest_size 305 crypto/asymmetric_keys/public_key.c sig->digest_size); digest_size 323 crypto/asymmetric_keys/verify_pefile.c size_t digest_size, desc_size; digest_size 337 crypto/asymmetric_keys/verify_pefile.c digest_size = crypto_shash_digestsize(tfm); digest_size 339 crypto/asymmetric_keys/verify_pefile.c if (digest_size != ctx->digest_len) { digest_size 341 crypto/asymmetric_keys/verify_pefile.c digest_size, ctx->digest_len); digest_size 345 crypto/asymmetric_keys/verify_pefile.c pr_debug("Digest: desc=%zu size=%zu\n", desc_size, digest_size); digest_size 348 crypto/asymmetric_keys/verify_pefile.c desc = kzalloc(desc_size + digest_size, GFP_KERNEL); digest_size 64 crypto/asymmetric_keys/x509_public_key.c sig->digest_size = crypto_shash_digestsize(tfm); digest_size 67 crypto/asymmetric_keys/x509_public_key.c sig->digest = kmalloc(sig->digest_size, GFP_KERNEL); digest_size 81 crypto/asymmetric_keys/x509_public_key.c ret = is_hash_blacklisted(sig->digest, sig->digest_size, "tbs"); digest_size 84 crypto/asymmetric_keys/x509_public_key.c sig->digest_size, sig->digest); digest_size 387 crypto/rsa-pkcs1pad.c unsigned int ps_end, digest_size = 0; digest_size 393 crypto/rsa-pkcs1pad.c digest_size = digest_info->size; digest_size 395 crypto/rsa-pkcs1pad.c if (req->src_len + digest_size > ctx->key_size - 11) digest_size 408 crypto/rsa-pkcs1pad.c ps_end = ctx->key_size - digest_size - req->src_len - 2; digest_size 164 crypto/sha3_generic.c unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 166 crypto/sha3_generic.c sctx->rsiz = 200 - 2 * digest_size; digest_size 217 crypto/sha3_generic.c unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 229 crypto/sha3_generic.c for (i = 0; i < digest_size / 8; i++) digest_size 232 crypto/sha3_generic.c if (digest_size & 4) digest_size 911 crypto/streebog_generic.c unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 916 crypto/streebog_generic.c if (digest_size == STREEBOG256_DIGEST_SIZE) digest_size 390 drivers/block/drbd/drbd_int.h int digest_size; digest_size 1113 drivers/block/drbd/drbd_int.h int size, void *digest, int digest_size, digest_size 1439 drivers/block/drbd/drbd_main.c void *digest, int digest_size, enum drbd_packet cmd) digest_size 1453 drivers/block/drbd/drbd_main.c return drbd_send_command(peer_device, sock, cmd, sizeof(*p), digest, digest_size); digest_size 1680 drivers/block/drbd/drbd_main.c int digest_size; digest_size 1685 drivers/block/drbd/drbd_main.c digest_size = peer_device->connection->integrity_tfm ? digest_size 1727 drivers/block/drbd/drbd_main.c if (digest_size) digest_size 1732 drivers/block/drbd/drbd_main.c sizeof(*wsame) + digest_size, NULL, digest_size 1737 drivers/block/drbd/drbd_main.c sizeof(*p) + digest_size, NULL, req->i.size); digest_size 1750 drivers/block/drbd/drbd_main.c if (!(req->rq_state & (RQ_EXP_RECEIVE_ACK | RQ_EXP_WRITE_ACK)) || digest_size) digest_size 1756 drivers/block/drbd/drbd_main.c if (digest_size > 0 && digest_size <= 64) { digest_size 1761 drivers/block/drbd/drbd_main.c if (memcmp(p + 1, digest, digest_size)) { digest_size 1787 drivers/block/drbd/drbd_main.c int digest_size; digest_size 1792 drivers/block/drbd/drbd_main.c digest_size = peer_device->connection->integrity_tfm ? digest_size 1801 drivers/block/drbd/drbd_main.c if (digest_size) digest_size 1803 drivers/block/drbd/drbd_main.c err = __send_command(peer_device->connection, device->vnr, sock, cmd, sizeof(*p) + digest_size, NULL, peer_req->i.size); digest_size 1865 drivers/block/drbd/drbd_receiver.c int digest_size, err; digest_size 1874 drivers/block/drbd/drbd_receiver.c digest_size = 0; digest_size 1876 drivers/block/drbd/drbd_receiver.c digest_size = crypto_shash_digestsize(peer_device->connection->peer_integrity_tfm); digest_size 1881 drivers/block/drbd/drbd_receiver.c err = drbd_recv_all_warn(peer_device->connection, dig_in, digest_size); digest_size 1884 drivers/block/drbd/drbd_receiver.c data_size -= digest_size; digest_size 1967 drivers/block/drbd/drbd_receiver.c if (digest_size) { digest_size 1969 drivers/block/drbd/drbd_receiver.c if (memcmp(dig_in, dig_vv, digest_size)) { digest_size 2014 drivers/block/drbd/drbd_receiver.c int digest_size, err, expect; digest_size 2018 drivers/block/drbd/drbd_receiver.c digest_size = 0; digest_size 2020 drivers/block/drbd/drbd_receiver.c digest_size = crypto_shash_digestsize(peer_device->connection->peer_integrity_tfm); digest_size 2021 drivers/block/drbd/drbd_receiver.c err = drbd_recv_all_warn(peer_device->connection, dig_in, digest_size); digest_size 2024 drivers/block/drbd/drbd_receiver.c data_size -= digest_size; digest_size 2044 drivers/block/drbd/drbd_receiver.c if (digest_size) { digest_size 2046 drivers/block/drbd/drbd_receiver.c if (memcmp(dig_in, dig_vv, digest_size)) { digest_size 2934 drivers/block/drbd/drbd_receiver.c di->digest_size = pi->size; digest_size 347 drivers/block/drbd/drbd_worker.c int digest_size; digest_size 357 drivers/block/drbd/drbd_worker.c digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); digest_size 358 drivers/block/drbd/drbd_worker.c digest = kmalloc(digest_size, GFP_NOIO); digest_size 372 drivers/block/drbd/drbd_worker.c digest, digest_size, digest_size 1173 drivers/block/drbd/drbd_worker.c int digest_size; digest_size 1195 drivers/block/drbd/drbd_worker.c digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); digest_size 1196 drivers/block/drbd/drbd_worker.c D_ASSERT(device, digest_size == di->digest_size); digest_size 1197 drivers/block/drbd/drbd_worker.c digest = kmalloc(digest_size, GFP_NOIO); digest_size 1201 drivers/block/drbd/drbd_worker.c eq = !memcmp(digest, di->digest, digest_size); digest_size 1238 drivers/block/drbd/drbd_worker.c int digest_size; digest_size 1245 drivers/block/drbd/drbd_worker.c digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); digest_size 1246 drivers/block/drbd/drbd_worker.c digest = kmalloc(digest_size, GFP_NOIO); digest_size 1255 drivers/block/drbd/drbd_worker.c memset(digest, 0, digest_size); digest_size 1265 drivers/block/drbd/drbd_worker.c err = drbd_send_drequest_csum(peer_device, sector, size, digest, digest_size, P_OV_REPLY); digest_size 1297 drivers/block/drbd/drbd_worker.c int digest_size; digest_size 1317 drivers/block/drbd/drbd_worker.c digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); digest_size 1318 drivers/block/drbd/drbd_worker.c digest = kmalloc(digest_size, GFP_NOIO); digest_size 1322 drivers/block/drbd/drbd_worker.c D_ASSERT(device, digest_size == di->digest_size); digest_size 1323 drivers/block/drbd/drbd_worker.c eq = !memcmp(digest, di->digest, digest_size); digest_size 788 drivers/char/tpm/tpm1-cmd.c chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; digest_size 162 drivers/char/tpm/tpm2-cmd.c __be16 digest_size; digest_size 183 drivers/char/tpm/tpm2-cmd.c u16 digest_size; digest_size 197 drivers/char/tpm/tpm2-cmd.c expected_digest_size = chip->allocated_banks[i].digest_size; digest_size 217 drivers/char/tpm/tpm2-cmd.c digest_size = be16_to_cpu(out->digest_size); digest_size 218 drivers/char/tpm/tpm2-cmd.c if (digest_size > sizeof(digest->digest) || digest_size 219 drivers/char/tpm/tpm2-cmd.c (!digest_size_ptr && digest_size != expected_digest_size)) { digest_size 225 drivers/char/tpm/tpm2-cmd.c *digest_size_ptr = digest_size; digest_size 227 drivers/char/tpm/tpm2-cmd.c memcpy(digest->digest, out->digest, digest_size); digest_size 276 drivers/char/tpm/tpm2-cmd.c chip->allocated_banks[i].digest_size); digest_size 829 drivers/char/tpm/tpm2-cmd.c bank->digest_size = hash_digest_size[crypto_algo]; digest_size 836 drivers/char/tpm/tpm2-cmd.c return tpm2_pcr_read(chip, 0, &digest, &bank->digest_size); digest_size 375 drivers/crypto/bcm/cipher.h u32 (*spu_digest_size)(u32 digest_size, enum hash_alg alg, digest_size 664 drivers/crypto/bcm/spu2.c u64 cipher_iv_len, u64 digest_size, digest_size 669 drivers/crypto/bcm/spu2.c if (is_inbound && digest_size) digest_size 699 drivers/crypto/bcm/spu2.c if (digest_size) digest_size 700 drivers/crypto/bcm/spu2.c ctrl1 |= ((digest_size << SPU2_HASH_TAG_LEN_SHIFT) & digest_size 29 drivers/crypto/ccp/ccp-crypto-aes-cmac.c unsigned int digest_size = crypto_ahash_digestsize(tfm); digest_size 47 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memcpy(req->result, rctx->iv, digest_size); digest_size 30 drivers/crypto/ccp/ccp-crypto-sha.c unsigned int digest_size = crypto_ahash_digestsize(tfm); digest_size 48 drivers/crypto/ccp/ccp-crypto-sha.c memcpy(req->result, rctx->ctx, digest_size); digest_size 279 drivers/crypto/ccp/ccp-crypto-sha.c unsigned int digest_size = crypto_shash_digestsize(shash); digest_size 301 drivers/crypto/ccp/ccp-crypto-sha.c key_len = digest_size; digest_size 369 drivers/crypto/ccp/ccp-crypto-sha.c u32 digest_size; digest_size 379 drivers/crypto/ccp/ccp-crypto-sha.c .digest_size = SHA1_DIGEST_SIZE, digest_size 387 drivers/crypto/ccp/ccp-crypto-sha.c .digest_size = SHA224_DIGEST_SIZE, digest_size 395 drivers/crypto/ccp/ccp-crypto-sha.c .digest_size = SHA256_DIGEST_SIZE, digest_size 403 drivers/crypto/ccp/ccp-crypto-sha.c .digest_size = SHA384_DIGEST_SIZE, digest_size 411 drivers/crypto/ccp/ccp-crypto-sha.c .digest_size = SHA512_DIGEST_SIZE, digest_size 488 drivers/crypto/ccp/ccp-crypto-sha.c halg->digestsize = def->digest_size; digest_size 1477 drivers/crypto/ccp/ccp-ops.c unsigned int digest_size; digest_size 1572 drivers/crypto/ccp/ccp-ops.c digest_size = SHA1_DIGEST_SIZE; digest_size 1582 drivers/crypto/ccp/ccp-ops.c digest_size = SHA224_DIGEST_SIZE; digest_size 1593 drivers/crypto/ccp/ccp-ops.c digest_size = SHA256_DIGEST_SIZE; digest_size 1600 drivers/crypto/ccp/ccp-ops.c digest_size = SHA384_DIGEST_SIZE; digest_size 1608 drivers/crypto/ccp/ccp-ops.c digest_size = SHA512_DIGEST_SIZE; digest_size 1721 drivers/crypto/ccp/ccp-ops.c digest_size); digest_size 1753 drivers/crypto/ccp/ccp-ops.c hmac_buf = kmalloc(block_size + digest_size, GFP_KERNEL); digest_size 1758 drivers/crypto/ccp/ccp-ops.c sg_init_one(&sg, hmac_buf, block_size + digest_size); digest_size 1767 drivers/crypto/ccp/ccp-ops.c digest_size); digest_size 1790 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.src_len = block_size + digest_size; digest_size 1795 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.msg_bits = (block_size + digest_size) << 3; digest_size 174 drivers/crypto/ccree/cc_aead.c const unsigned int digest_size = 2 * MAX_HMAC_DIGEST_SIZE; digest_size 178 drivers/crypto/ccree/cc_aead.c hmac->ipad_opad = dma_alloc_coherent(dev, digest_size, digest_size 302 drivers/crypto/ccree/cc_aead.c unsigned int digest_size = (ctx->auth_mode == DRV_HASH_SHA1) ? digest_size 317 drivers/crypto/ccree/cc_aead.c digest_size); digest_size 353 drivers/crypto/ccree/cc_aead.c digest_size, NS_BIT, 0); digest_size 359 drivers/crypto/ccree/cc_aead.c digest_ofs += digest_size; digest_size 1005 drivers/crypto/ccree/cc_aead.c unsigned int digest_size = (ctx->auth_mode == DRV_HASH_SHA1) ? digest_size 1013 drivers/crypto/ccree/cc_aead.c ctx->auth_state.hmac.ipad_opad_dma_addr, digest_size, digest_size 1115 drivers/crypto/ccree/cc_aead.c unsigned int digest_size = (ctx->auth_mode == DRV_HASH_SHA1) ? digest_size 1131 drivers/crypto/ccree/cc_aead.c digest_size); digest_size 1142 drivers/crypto/ccree/cc_aead.c (ctx->auth_state.hmac.ipad_opad_dma_addr + digest_size), digest_size 1143 drivers/crypto/ccree/cc_aead.c digest_size, NS_BIT); digest_size 1161 drivers/crypto/ccree/cc_aead.c digest_size); digest_size 312 drivers/crypto/chelsio/chcr_algo.c int digest_size) digest_size 319 drivers/crypto/chelsio/chcr_algo.c if (digest_size == SHA1_DIGEST_SIZE) { digest_size 324 drivers/crypto/chelsio/chcr_algo.c } else if (digest_size == SHA224_DIGEST_SIZE) { digest_size 330 drivers/crypto/chelsio/chcr_algo.c } else if (digest_size == SHA256_DIGEST_SIZE) { digest_size 336 drivers/crypto/chelsio/chcr_algo.c } else if (digest_size == SHA384_DIGEST_SIZE) { digest_size 342 drivers/crypto/chelsio/chcr_algo.c } else if (digest_size == SHA512_DIGEST_SIZE) { digest_size 349 drivers/crypto/chelsio/chcr_algo.c pr_err("Unknown digest size %d\n", digest_size); digest_size 253 drivers/crypto/n2_core.c u8 digest_size; digest_size 521 drivers/crypto/n2_core.c unsigned int auth_type, unsigned int digest_size, digest_size 565 drivers/crypto/n2_core.c auth_type, digest_size, digest_size 615 drivers/crypto/n2_core.c ds = n2alg->digest_size; digest_size 635 drivers/crypto/n2_core.c ds = n2alg->derived.digest_size; digest_size 1280 drivers/crypto/n2_core.c u8 digest_size; digest_size 1311 drivers/crypto/n2_core.c .digest_size = MD5_DIGEST_SIZE, digest_size 1319 drivers/crypto/n2_core.c .digest_size = SHA1_DIGEST_SIZE, digest_size 1327 drivers/crypto/n2_core.c .digest_size = SHA256_DIGEST_SIZE, digest_size 1335 drivers/crypto/n2_core.c .digest_size = SHA224_DIGEST_SIZE, digest_size 1464 drivers/crypto/n2_core.c p->digest_size = tmpl->digest_size; digest_size 1476 drivers/crypto/n2_core.c halg->digestsize = tmpl->digest_size; digest_size 190 drivers/crypto/omap-sham.c int digest_size; digest_size 288 drivers/crypto/omap-sham.c for (i = 0; i < dd->pdata->digest_size / sizeof(u32); i++) { digest_size 308 drivers/crypto/omap-sham.c for (i = 0; i < dd->pdata->digest_size / sizeof(u32); i++) { digest_size 1815 drivers/crypto/omap-sham.c .digest_size = SHA1_DIGEST_SIZE, digest_size 1849 drivers/crypto/omap-sham.c .digest_size = SHA256_DIGEST_SIZE, digest_size 1889 drivers/crypto/omap-sham.c .digest_size = SHA512_DIGEST_SIZE, digest_size 158 drivers/crypto/qat/qat_common/qat_algs.c int digest_size = crypto_shash_digestsize(ctx->hash_tfm); digest_size 173 drivers/crypto/qat/qat_common/qat_algs.c memcpy(ctx->opad, ctx->ipad, digest_size); digest_size 199 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < digest_size >> 2; i++, hash_state_out++) digest_size 205 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < digest_size >> 2; i++, hash_state_out++) digest_size 211 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < digest_size >> 3; i++, hash512_state_out++) digest_size 235 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < digest_size >> 2; i++, hash_state_out++) digest_size 241 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < digest_size >> 2; i++, hash_state_out++) digest_size 247 drivers/crypto/qat/qat_common/qat_algs.c for (i = 0; i < digest_size >> 3; i++, hash512_state_out++) digest_size 179 drivers/crypto/sahara.c unsigned int digest_size; digest_size 1043 drivers/crypto/sahara.c memcpy(req->result, rctx->context, rctx->digest_size); digest_size 1126 drivers/crypto/sahara.c rctx->digest_size = SHA1_DIGEST_SIZE; digest_size 1130 drivers/crypto/sahara.c rctx->digest_size = SHA256_DIGEST_SIZE; digest_size 1136 drivers/crypto/sahara.c rctx->context_size = rctx->digest_size + 4; digest_size 230 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c DRM_DEBUG("digest_size: %u\n", le32_to_cpu(sdma_v1_1_hdr->digest_size)); digest_size 199 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h uint32_t digest_size; digest_size 1464 drivers/md/dm-integrity.c unsigned digest_size; digest_size 1492 drivers/md/dm-integrity.c digest_size = crypto_shash_digestsize(ic->internal_hash); digest_size 1493 drivers/md/dm-integrity.c if (unlikely(digest_size < ic->tag_size)) digest_size 1494 drivers/md/dm-integrity.c memset(result + digest_size, 0, ic->tag_size - digest_size); digest_size 1513 drivers/md/dm-integrity.c unsigned digest_size = crypto_shash_digestsize(ic->internal_hash); digest_size 1516 drivers/md/dm-integrity.c unsigned extra_space = unlikely(digest_size > ic->tag_size) ? digest_size - ic->tag_size : 0; digest_size 1529 drivers/md/dm-integrity.c digest_size > sizeof(checksums_onstack))) { digest_size 1794 drivers/md/dm-integrity.c unsigned digest_size = crypto_shash_digestsize(ic->internal_hash); digest_size 1795 drivers/md/dm-integrity.c if (unlikely(digest_size > ic->tag_size)) { digest_size 193 drivers/md/dm-verity-fec.c v->digest_size) != 0; digest_size 217 drivers/md/dm-verity-fec.c if (WARN_ON(v->digest_size > sizeof(want_digest))) digest_size 395 drivers/md/dm-verity-fec.c v->digest_size)) { digest_size 204 drivers/md/dm-verity-target.c *offset = idx * v->digest_size; digest_size 303 drivers/md/dm-verity-target.c v->digest_size) == 0)) digest_size 318 drivers/md/dm-verity-target.c memcpy(want_digest, data, v->digest_size); digest_size 348 drivers/md/dm-verity-target.c memcpy(digest, v->root_digest, v->digest_size); digest_size 357 drivers/md/dm-verity-target.c *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); digest_size 520 drivers/md/dm-verity-target.c verity_io_want_digest(v, io), v->digest_size) == 0)) { digest_size 701 drivers/md/dm-verity-target.c for (x = 0; x < v->digest_size; x++) digest_size 840 drivers/md/dm-verity-target.c v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); digest_size 1070 drivers/md/dm-verity-target.c v->digest_size = crypto_ahash_digestsize(v->tfm); digest_size 1071 drivers/md/dm-verity-target.c if ((1 << v->hash_dev_block_bits) < v->digest_size * 2) { digest_size 1079 drivers/md/dm-verity-target.c v->root_digest = kmalloc(v->digest_size, GFP_KERNEL); digest_size 1085 drivers/md/dm-verity-target.c if (strlen(argv[8]) != v->digest_size * 2 || digest_size 1086 drivers/md/dm-verity-target.c hex2bin(v->root_digest, argv[8], v->digest_size)) { digest_size 1132 drivers/md/dm-verity-target.c __fls((1 << v->hash_dev_block_bits) / v->digest_size); digest_size 1187 drivers/md/dm-verity-target.c v->ahash_reqsize + v->digest_size * 2; digest_size 53 drivers/md/dm-verity.h unsigned digest_size; /* digest size for the current hash algorithm */ digest_size 110 drivers/md/dm-verity.h return (u8 *)(io + 1) + v->ahash_reqsize + v->digest_size; digest_size 116 drivers/md/dm-verity.h return verity_io_want_digest(v, io) + v->digest_size; digest_size 74 fs/verity/enable.c pending_size += params->digest_size; digest_size 79 fs/verity/enable.c if (pending_size + params->digest_size > params->block_size || digest_size 125 fs/verity/enable.c memset(root_hash, 0, params->digest_size); digest_size 149 fs/verity/enable.c memcpy(root_hash, pending_hashes, params->digest_size); digest_size 236 fs/verity/enable.c params.hash_alg->name, params.digest_size, desc->root_hash); digest_size 38 fs/verity/fsverity_private.h unsigned int digest_size; /* digest size in bytes, e.g. 32 for SHA-256 */ digest_size 46 fs/verity/fsverity_private.h unsigned int digest_size; /* same as hash_alg->digest_size */ digest_size 109 fs/verity/fsverity_private.h __le16 digest_size; digest_size 17 fs/verity/hash_algs.c .digest_size = SHA256_DIGEST_SIZE, digest_size 22 fs/verity/hash_algs.c .digest_size = SHA512_DIGEST_SIZE, digest_size 76 fs/verity/hash_algs.c if (WARN_ON(alg->digest_size != crypto_ahash_digestsize(tfm))) digest_size 270 fs/verity/hash_algs.c BUG_ON(alg->digest_size > FS_VERITY_MAX_DIGEST_SIZE); digest_size 277 fs/verity/hash_algs.c BUG_ON(!is_power_of_2(alg->digest_size)); digest_size 40 fs/verity/measure.c if (get_user(arg.digest_size, &uarg->digest_size)) digest_size 42 fs/verity/measure.c if (arg.digest_size < hash_alg->digest_size) digest_size 47 fs/verity/measure.c arg.digest_size = hash_alg->digest_size; digest_size 52 fs/verity/measure.c if (copy_to_user(uarg->digest, vi->measurement, hash_alg->digest_size)) digest_size 46 fs/verity/open.c params->digest_size = hash_alg->digest_size; digest_size 66 fs/verity/open.c if (WARN_ON(!is_power_of_2(params->digest_size))) { digest_size 70 fs/verity/open.c if (params->block_size < 2 * params->digest_size) { digest_size 77 fs/verity/open.c params->log_arity = params->log_blocksize - ilog2(params->digest_size); digest_size 199 fs/verity/open.c memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size); digest_size 209 fs/verity/open.c vi->tree_params.digest_size, vi->measurement); digest_size 61 fs/verity/signature.c d = kzalloc(sizeof(*d) + hash_alg->digest_size, GFP_KERNEL); digest_size 66 fs/verity/signature.c d->digest_size = cpu_to_le16(hash_alg->digest_size); digest_size 67 fs/verity/signature.c memcpy(d->digest, vi->measurement, hash_alg->digest_size); digest_size 69 fs/verity/signature.c err = verify_pkcs7_signature(d, sizeof(*d) + hash_alg->digest_size, digest_size 91 fs/verity/signature.c hash_alg->name, hash_alg->digest_size, vi->measurement); digest_size 56 fs/verity/verify.c const unsigned int hsize = vi->tree_params.digest_size; digest_size 90 fs/verity/verify.c const unsigned int hsize = params->digest_size; digest_size 43 include/crypto/public_key.h u8 digest_size; /* Number of bytes in digest */ digest_size 98 include/crypto/sha256_base.h unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 103 include/crypto/sha256_base.h for (i = 0; digest_size > 0; i++, digest_size -= sizeof(__be32)) digest_size 121 include/crypto/sha512_base.h unsigned int digest_size = crypto_shash_digestsize(desc->tfm); digest_size 126 include/crypto/sha512_base.h for (i = 0; digest_size > 0; i++, digest_size -= sizeof(__be64)) digest_size 2162 include/linux/platform_data/cros_ec_commands.h uint8_t digest_size; /* Size of hash digest in bytes */ digest_size 51 include/linux/tpm.h u16 digest_size; digest_size 81 include/linux/tpm_eventlog.h u16 digest_size; digest_size 232 include/linux/tpm_eventlog.h efispecid->digest_sizes[j].digest_size; digest_size 33 include/uapi/linux/fsverity.h __u16 digest_size; /* input/output */ digest_size 114 security/integrity/digsig_asymmetric.c pks.digest_size = datalen; digest_size 320 security/integrity/ima/ima.h const u8 **digest, u32 *digest_size); digest_size 343 security/integrity/ima/ima.h u32 *digest_size) digest_size 25 security/integrity/ima/ima_modsig.c u32 digest_size; digest_size 133 security/integrity/ima/ima_modsig.c &modsig->digest_size, &modsig->hash_algo); digest_size 143 security/integrity/ima/ima_modsig.c const u8 **digest, u32 *digest_size) digest_size 147 security/integrity/ima/ima_modsig.c *digest_size = modsig->digest_size;