hash_alg 482 crypto/adiantum.c struct shash_alg *hash_alg) hash_alg 494 crypto/adiantum.c if (strcmp(hash_alg->base.cra_name, "nhpoly1305") != 0) hash_alg 511 crypto/adiantum.c struct shash_alg *hash_alg; hash_alg 567 crypto/adiantum.c hash_alg = __crypto_shash_alg(_hash_alg); hash_alg 568 crypto/adiantum.c err = crypto_init_shash_spawn(&ictx->hash_spawn, hash_alg, hash_alg 575 crypto/adiantum.c hash_alg)) { hash_alg 578 crypto/adiantum.c blockcipher_alg->cra_name, hash_alg->base.cra_name); hash_alg 594 crypto/adiantum.c hash_alg->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) hash_alg 602 crypto/adiantum.c hash_alg->base.cra_alignmask; hash_alg 610 crypto/adiantum.c 2 * hash_alg->base.cra_priority + hash_alg 427 crypto/essiv.c struct shash_alg *hash_alg, hash_alg 439 crypto/essiv.c if (hash_alg->digestsize < alg->cra_cipher.cia_min_keysize || hash_alg 440 crypto/essiv.c hash_alg->digestsize > alg->cra_cipher.cia_max_keysize) hash_alg 446 crypto/essiv.c if (crypto_shash_alg_has_setkey(hash_alg)) hash_alg 469 crypto/essiv.c struct shash_alg *hash_alg; hash_alg 556 crypto/essiv.c hash_alg = __crypto_shash_alg(_hash_alg); hash_alg 559 crypto/essiv.c if (!essiv_supported_algorithms(ictx->essiv_cipher_name, hash_alg, hash_alg 562 crypto/essiv.c block_base->cra_name, hash_alg->base.cra_name); hash_alg 568 crypto/essiv.c strlcpy(ictx->shash_driver_name, hash_alg->base.cra_driver_name, hash_alg 576 crypto/essiv.c hash_alg->base.cra_name) >= CRYPTO_MAX_ALG_NAME) hash_alg 580 crypto/essiv.c hash_alg->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) hash_alg 158 drivers/char/tpm/tpm2-cmd.c __be16 hash_alg; hash_alg 840 drivers/char/tpm/tpm2-cmd.c __be16 hash_alg; hash_alg 855 drivers/char/tpm/tpm2-cmd.c u16 hash_alg; hash_alg 897 drivers/char/tpm/tpm2-cmd.c hash_alg = be16_to_cpu(pcr_selection.hash_alg); hash_alg 902 drivers/char/tpm/tpm2-cmd.c chip->allocated_banks[nr_alloc_banks].alg_id = hash_alg; hash_alg 911 drivers/char/tpm/tpm2-cmd.c sizeof_pcr_selection = sizeof(pcr_selection.hash_alg) + hash_alg 41 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.hash_alg = h; hash_alg 493 drivers/crypto/amcc/crypto4xx_core.c if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { hash_alg 98 drivers/crypto/amcc/crypto4xx_sa.h u32 hash_alg:4; hash_alg 98 drivers/crypto/bcm/cipher.h enum hash_alg alg; hash_alg 364 drivers/crypto/bcm/cipher.h u16 (*spu_hash_pad_len)(enum hash_alg hash_alg, hash_alg 375 drivers/crypto/bcm/cipher.h u32 (*spu_digest_size)(u32 digest_size, enum hash_alg alg, hash_alg 392 drivers/crypto/bcm/cipher.h u32 hash_pad_len, enum hash_alg auth_alg, hash_alg 34 drivers/crypto/bcm/spu.c u32 hash_alg; hash_alg 81 drivers/crypto/bcm/spu.c hash_alg = (cflags & HASH_ALG) >> HASH_ALG_SHIFT; hash_alg 85 drivers/crypto/bcm/spu.c hash_alg, hash_mode, hash_type); hash_alg 106 drivers/crypto/bcm/spu.c if (hash_alg && hash_mode) { hash_alg 109 drivers/crypto/bcm/spu.c switch (hash_alg) { hash_alg 146 drivers/crypto/bcm/spu.c } else if ((hash_alg == HASH_ALG_AES) && hash_alg 170 drivers/crypto/bcm/spu.c if (hash_alg && (hash_mode == HASH_MODE_NONE) && hash_alg 174 drivers/crypto/bcm/spu.c switch (hash_alg) { hash_alg 430 drivers/crypto/bcm/spu.c u16 spum_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, hash_alg 438 drivers/crypto/bcm/spu.c if ((hash_alg == HASH_ALG_AES) && (hash_mode == HASH_MODE_XCBC)) { hash_alg 447 drivers/crypto/bcm/spu.c if ((hash_alg == HASH_ALG_SHA384) || (hash_alg == HASH_ALG_SHA512)) hash_alg 560 drivers/crypto/bcm/spu.c u32 spum_digest_size(u32 alg_digest_size, enum hash_alg alg, hash_alg 1051 drivers/crypto/bcm/spu.c enum hash_alg auth_alg, hash_alg 127 drivers/crypto/bcm/spu.h enum hash_alg alg; hash_alg 228 drivers/crypto/bcm/spu.h u16 spum_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, hash_alg 238 drivers/crypto/bcm/spu.h u32 spum_digest_size(u32 alg_digest_size, enum hash_alg alg, hash_alg 260 drivers/crypto/bcm/spu.h enum hash_alg auth_alg, hash_alg 234 drivers/crypto/bcm/spu2.c spu2_hash_xlate(enum hash_alg hash_alg, enum hash_mode hash_mode, hash_alg 246 drivers/crypto/bcm/spu2.c switch (hash_alg) { hash_alg 303 drivers/crypto/bcm/spu2.c hash_alg, hash_type); hash_alg 841 drivers/crypto/bcm/spu2.c u16 spu2_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, hash_alg 917 drivers/crypto/bcm/spu2.c u32 spu2_digest_size(u32 alg_digest_size, enum hash_alg alg, hash_alg 1253 drivers/crypto/bcm/spu2.c enum hash_alg auth_alg, enum hash_mode auth_mode, hash_alg 180 drivers/crypto/bcm/spu2.h u16 spu2_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, hash_alg 190 drivers/crypto/bcm/spu2.h u32 spu2_digest_size(u32 alg_digest_size, enum hash_alg alg, hash_alg 206 drivers/crypto/bcm/spu2.h enum hash_alg auth_alg, enum hash_mode auth_mode, hash_alg 52 drivers/crypto/inside-secure/safexcel_cipher.c u32 hash_alg; hash_alg 351 drivers/crypto/inside-secure/safexcel_cipher.c switch (ctx->hash_alg) { hash_alg 424 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg | hash_alg 431 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg | hash_alg 1576 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_SHA1; hash_alg 1611 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_SHA256; hash_alg 1646 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_SHA224; hash_alg 1681 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_SHA512; hash_alg 1716 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_SHA384; hash_alg 2132 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_GHASH; hash_alg 2219 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_XCBC192; hash_alg 2221 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_XCBC256; hash_alg 2223 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_XCBC128; hash_alg 2234 drivers/crypto/inside-secure/safexcel_cipher.c ctx->hash_alg = CONTEXT_CONTROL_CRYPTO_ALG_XCBC128; hash_alg 1496 drivers/crypto/ux500/hash/hash_core.c struct hash_algo_template *hash_alg; hash_alg 1498 drivers/crypto/ux500/hash/hash_core.c hash_alg = container_of(__crypto_ahash_alg(alg), hash_alg 1506 drivers/crypto/ux500/hash/hash_core.c ctx->config.algorithm = hash_alg->conf.algorithm; hash_alg 1507 drivers/crypto/ux500/hash/hash_core.c ctx->config.oper_mode = hash_alg->conf.oper_mode; hash_alg 1509 drivers/crypto/ux500/hash/hash_core.c ctx->digestsize = hash_alg->hash.halg.digestsize; hash_alg 66 fs/nfs/nfs4session.h u32 hash_alg; hash_alg 130 fs/verity/enable.c req = ahash_request_alloc(params->hash_alg->tfm, GFP_KERNEL); hash_alg 236 fs/verity/enable.c params.hash_alg->name, params.digest_size, desc->root_hash); hash_alg 44 fs/verity/fsverity_private.h const struct fsverity_hash_alg *hash_alg; /* the hash algorithm */ hash_alg 26 fs/verity/measure.c const struct fsverity_hash_alg *hash_alg; hash_alg 32 fs/verity/measure.c hash_alg = vi->tree_params.hash_alg; hash_alg 42 fs/verity/measure.c if (arg.digest_size < hash_alg->digest_size) hash_alg 46 fs/verity/measure.c arg.digest_algorithm = hash_alg - fsverity_hash_algs; hash_alg 47 fs/verity/measure.c arg.digest_size = hash_alg->digest_size; hash_alg 52 fs/verity/measure.c if (copy_to_user(uarg->digest, vi->measurement, hash_alg->digest_size)) hash_alg 34 fs/verity/open.c const struct fsverity_hash_alg *hash_alg; hash_alg 42 fs/verity/open.c hash_alg = fsverity_get_hash_alg(inode, hash_algorithm); hash_alg 43 fs/verity/open.c if (IS_ERR(hash_alg)) hash_alg 44 fs/verity/open.c return PTR_ERR(hash_alg); hash_alg 45 fs/verity/open.c params->hash_alg = hash_alg; hash_alg 46 fs/verity/open.c params->digest_size = hash_alg->digest_size; hash_alg 48 fs/verity/open.c params->hashstate = fsverity_prepare_hash_state(hash_alg, salt, hash_alg 73 fs/verity/open.c params->block_size, hash_alg->name); hash_alg 81 fs/verity/open.c hash_alg->name, params->block_size, params->hashes_per_block, hash_alg 129 fs/verity/open.c static int compute_file_measurement(const struct fsverity_hash_alg *hash_alg, hash_alg 137 fs/verity/open.c err = fsverity_hash_buffer(hash_alg, desc, sizeof(*desc), measurement); hash_alg 201 fs/verity/open.c err = compute_file_measurement(vi->tree_params.hash_alg, desc, hash_alg 208 fs/verity/open.c vi->tree_params.hash_alg->name, hash_alg 42 fs/verity/signature.c const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; hash_alg 61 fs/verity/signature.c d = kzalloc(sizeof(*d) + hash_alg->digest_size, GFP_KERNEL); hash_alg 65 fs/verity/signature.c d->digest_algorithm = cpu_to_le16(hash_alg - fsverity_hash_algs); hash_alg 66 fs/verity/signature.c d->digest_size = cpu_to_le16(hash_alg->digest_size); hash_alg 67 fs/verity/signature.c memcpy(d->digest, vi->measurement, hash_alg->digest_size); hash_alg 69 fs/verity/signature.c err = verify_pkcs7_signature(d, sizeof(*d) + hash_alg->digest_size, hash_alg 91 fs/verity/signature.c hash_alg->name, hash_alg->digest_size, vi->measurement); hash_alg 64 fs/verity/verify.c vi->tree_params.hash_alg->name, hsize, want_hash, hash_alg 65 fs/verity/verify.c vi->tree_params.hash_alg->name, hsize, real_hash); hash_alg 135 fs/verity/verify.c params->hash_alg->name, hash_alg 146 fs/verity/verify.c params->hash_alg->name, hsize, want_hash); hash_alg 164 fs/verity/verify.c level - 1, params->hash_alg->name, hsize, want_hash); hash_alg 194 fs/verity/verify.c req = ahash_request_alloc(vi->tree_params.hash_alg->tfm, GFP_NOFS); hash_alg 229 fs/verity/verify.c req = ahash_request_alloc(vi->tree_params.hash_alg->tfm, GFP_NOFS); hash_alg 706 include/uapi/linux/openvswitch.h __u32 hash_alg; /* One of ovs_hash_alg. */ hash_alg 3022 net/openvswitch/flow_netlink.c switch (act_hash->hash_alg) { hash_alg 40 security/keys/encrypted-keys/encrypted.c static const char hash_alg[] = "sha256"; hash_alg 993 security/keys/encrypted-keys/encrypted.c hash_tfm = crypto_alloc_shash(hash_alg, 0, 0); hash_alg 996 security/keys/encrypted-keys/encrypted.c hash_alg, PTR_ERR(hash_tfm)); hash_alg 33 security/keys/trusted.c static const char hash_alg[] = "sha1"; hash_alg 66 security/keys/trusted.c pr_info("trusted_key: can't alloc %s\n", hash_alg); hash_alg 139 security/keys/trusted.c pr_info("trusted_key: can't alloc %s\n", hash_alg); hash_alg 215 security/keys/trusted.c pr_info("trusted_key: can't alloc %s\n", hash_alg); hash_alg 308 security/keys/trusted.c pr_info("trusted_key: can't alloc %s\n", hash_alg); hash_alg 1204 security/keys/trusted.c hashalg = crypto_alloc_shash(hash_alg, 0, 0); hash_alg 1207 security/keys/trusted.c hash_alg);