hash_algo          71 arch/x86/platform/efi/quirks.c 	u32 hash_algo;
hash_algo         381 crypto/asymmetric_keys/asym_tpm.c static int determine_akcipher(const char *encoding, const char *hash_algo,
hash_algo         385 crypto/asymmetric_keys/asym_tpm.c 		if (!hash_algo) {
hash_algo         391 crypto/asymmetric_keys/asym_tpm.c 			     hash_algo) >= CRYPTO_MAX_ALG_NAME)
hash_algo         420 crypto/asymmetric_keys/asym_tpm.c 	ret = determine_akcipher(params->encoding, params->hash_algo, alg_name);
hash_algo         474 crypto/asymmetric_keys/asym_tpm.c 	ret = determine_akcipher(params->encoding, params->hash_algo, alg_name);
hash_algo         531 crypto/asymmetric_keys/asym_tpm.c 	if (params->hash_algo)
hash_algo         660 crypto/asymmetric_keys/asym_tpm.c 	if (params->hash_algo) {
hash_algo         662 crypto/asymmetric_keys/asym_tpm.c 						lookup_asn1(params->hash_algo);
hash_algo         770 crypto/asymmetric_keys/asym_tpm.c 	ret = determine_akcipher(sig->encoding, sig->hash_algo, alg_name);
hash_algo         569 crypto/asymmetric_keys/asymmetric_type.c 		.hash_algo	= params->hash_algo,
hash_algo         231 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "md4";
hash_algo         234 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "md5";
hash_algo         237 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "sha1";
hash_algo         240 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "sha256";
hash_algo         243 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "sha384";
hash_algo         246 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "sha512";
hash_algo         249 crypto/asymmetric_keys/pkcs7_parser.c 		ctx->sinfo->sig->hash_algo = "sha224";
hash_algo          31 crypto/asymmetric_keys/pkcs7_verify.c 	kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo);
hash_algo          37 crypto/asymmetric_keys/pkcs7_verify.c 	if (!sinfo->sig->hash_algo)
hash_algo          43 crypto/asymmetric_keys/pkcs7_verify.c 	tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0);
hash_algo         126 crypto/asymmetric_keys/pkcs7_verify.c 		     enum hash_algo *hash_algo)
hash_algo         145 crypto/asymmetric_keys/pkcs7_verify.c 		if (!strcmp(hash_algo_name[i], sinfo->sig->hash_algo)) {
hash_algo         146 crypto/asymmetric_keys/pkcs7_verify.c 			*hash_algo = i;
hash_algo          64 crypto/asymmetric_keys/public_key.c 				    const char *hash_algo,
hash_algo          75 crypto/asymmetric_keys/public_key.c 		if (!hash_algo)
hash_algo          82 crypto/asymmetric_keys/public_key.c 				     pkey->pkey_algo, hash_algo);
hash_algo         113 crypto/asymmetric_keys/public_key.c 					      params->hash_algo,
hash_algo         178 crypto/asymmetric_keys/public_key.c 					      params->hash_algo,
hash_algo         269 crypto/asymmetric_keys/public_key.c 					      sig->hash_algo,
hash_algo         207 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "md4";
hash_algo         211 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "sha1";
hash_algo         215 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "sha256";
hash_algo         219 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "sha384";
hash_algo         223 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "sha512";
hash_algo         227 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "sha224";
hash_algo         231 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "streebog256";
hash_algo         235 crypto/asymmetric_keys/x509_cert_parser.c 		ctx->cert->sig->hash_algo = "streebog512";
hash_algo          40 crypto/asymmetric_keys/x509_public_key.c 	if (!sig->hash_algo) {
hash_algo          54 crypto/asymmetric_keys/x509_public_key.c 	tfm = crypto_alloc_shash(sig->hash_algo, 0, 0);
hash_algo         187 crypto/asymmetric_keys/x509_public_key.c 			 cert->sig->pkey_algo, cert->sig->hash_algo);
hash_algo         824 drivers/char/tpm/tpm2-cmd.c 		enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id;
hash_algo          55 drivers/crypto/virtio/virtio_crypto_common.h 	u32 hash_algo;
hash_algo         296 drivers/crypto/virtio/virtio_crypto_core.c 	u32 hash_algo = 0;
hash_algo         344 drivers/crypto/virtio/virtio_crypto_core.c 		hash_algo, &hash_algo);
hash_algo         375 drivers/crypto/virtio/virtio_crypto_core.c 	vcrypto->hash_algo = hash_algo;
hash_algo         302 drivers/crypto/virtio/virtio_crypto_mgr.c 		algo_mask = vcrypto->hash_algo;
hash_algo        4190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	u8 hash_algo;
hash_algo        4197 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			hash_algo = HCLGE_RSS_HASH_ALGO_TOEPLITZ;
hash_algo        4200 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			hash_algo = HCLGE_RSS_HASH_ALGO_SIMPLE;
hash_algo        4203 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			hash_algo = vport->rss_algo;
hash_algo        4209 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_set_rss_algo_key(hdev, hash_algo, key);
hash_algo        4215 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		vport->rss_algo = hash_algo;
hash_algo         717 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			switch (rss_cfg->hash_algo) {
hash_algo         765 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 				rss_cfg->hash_algo =
hash_algo         769 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 				rss_cfg->hash_algo =
hash_algo         778 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			ret = hclgevf_set_rss_algo_key(hdev, rss_cfg->hash_algo,
hash_algo        2077 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		rss_cfg->hash_algo = HCLGEVF_RSS_HASH_ALGO_SIMPLE;
hash_algo        2081 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		ret = hclgevf_set_rss_algo_key(hdev, rss_cfg->hash_algo,
hash_algo         215 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h 	u32 hash_algo;
hash_algo        1483 fs/ecryptfs/keystore.c 		(*new_auth_tok)->token.password.hash_algo = 0x01; /* MD5 */
hash_algo         182 fs/ubifs/sb.c  		sup->hash_algo = cpu_to_le16(c->auth_hash_algo);
hash_algo         187 fs/ubifs/sb.c  		sup->hash_algo = 0xffff;
hash_algo         545 fs/ubifs/sb.c  	int hash_algo;
hash_algo         567 fs/ubifs/sb.c  	hash_algo = le16_to_cpu(sup->hash_algo);
hash_algo         568 fs/ubifs/sb.c  	if (hash_algo >= HASH_ALGO__LAST) {
hash_algo         570 fs/ubifs/sb.c  			  hash_algo);
hash_algo         574 fs/ubifs/sb.c  	if (strcmp(hash_algo_name[hash_algo], c->auth_hash_name)) {
hash_algo         576 fs/ubifs/sb.c  			     " but %s is specified", hash_algo_name[hash_algo],
hash_algo         680 fs/ubifs/ubifs-media.h 	__le16 hash_algo;
hash_algo        1474 fs/ubifs/ubifs.h 	enum hash_algo auth_hash_algo;
hash_algo          45 include/crypto/pkcs7.h 			    u32 *len, enum hash_algo *hash_algo);
hash_algo          45 include/crypto/public_key.h 	const char *hash_algo;
hash_algo          69 include/linux/ecryptfs.h 	s32 hash_algo;
hash_algo          32 include/linux/keyctl.h 	const char	*hash_algo;	/* Digest algorithm used (eg. "sha1") or NULL if N/A */
hash_algo         433 include/uapi/linux/virtio_crypto.h 	__u32 hash_algo;
hash_algo         212 scripts/sign-file.c 	char *hash_algo = NULL;
hash_algo         265 scripts/sign-file.c 		hash_algo = argv[1];
hash_algo         267 scripts/sign-file.c 		hash_algo = argv[0];
hash_algo         282 scripts/sign-file.c 	if (strcmp(hash_algo, "sha1") != 0) {
hash_algo         303 scripts/sign-file.c 		digest_algo = EVP_get_digestbyname(hash_algo);
hash_algo          94 security/integrity/digsig_asymmetric.c 	if (hdr->hash_algo >= HASH_ALGO__LAST)
hash_algo         103 security/integrity/digsig_asymmetric.c 	pks.hash_algo = hash_algo_name[hdr->hash_algo];
hash_algo         104 security/integrity/digsig_asymmetric.c 	if (hdr->hash_algo == HASH_ALGO_STREEBOG_256 ||
hash_algo         105 security/integrity/digsig_asymmetric.c 	    hdr->hash_algo == HASH_ALGO_STREEBOG_512) {
hash_algo          74 security/integrity/evm/evm_crypto.c static struct shash_desc *init_desc(char type, uint8_t hash_algo)
hash_algo          89 security/integrity/evm/evm_crypto.c 		if (hash_algo >= HASH_ALGO__LAST)
hash_algo          92 security/integrity/evm/evm_crypto.c 		tfm = &evm_tfm[hash_algo];
hash_algo          93 security/integrity/evm/evm_crypto.c 		algo = hash_algo_name[hash_algo];
hash_algo         187 security/integrity/evm/evm_main.c 		digest.hdr.algo = hdr->hash_algo;
hash_algo         214 security/integrity/ima/ima.h 			    enum hash_algo algo, struct modsig *modsig);
hash_algo         265 security/integrity/ima/ima.h enum hash_algo ima_get_hash_algo(struct evm_ima_xattr_data *xattr_value,
hash_algo         300 security/integrity/ima/ima.h static inline enum hash_algo
hash_algo         319 security/integrity/ima/ima.h int ima_get_modsig_digest(const struct modsig *modsig, enum hash_algo *algo,
hash_algo         342 security/integrity/ima/ima.h 					enum hash_algo *algo, const u8 **digest,
hash_algo         208 security/integrity/ima/ima_api.c 			    enum hash_algo algo, struct modsig *modsig)
hash_algo         150 security/integrity/ima/ima_appraise.c enum hash_algo ima_get_hash_algo(struct evm_ima_xattr_data *xattr_value,
hash_algo         154 security/integrity/ima/ima_appraise.c 	enum hash_algo ret;
hash_algo         165 security/integrity/ima/ima_appraise.c 		return sig->hash_algo;
hash_algo          78 security/integrity/ima/ima_crypto.c static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo)
hash_algo         165 security/integrity/ima/ima_crypto.c static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo)
hash_algo         208 security/integrity/ima/ima_main.c 	enum hash_algo hash_algo;
hash_algo         324 security/integrity/ima/ima_main.c 	hash_algo = ima_get_hash_algo(xattr_value, xattr_len);
hash_algo         326 security/integrity/ima/ima_main.c 	rc = ima_collect_measurement(iint, file, buf, size, hash_algo, modsig);
hash_algo          21 security/integrity/ima/ima_modsig.c 	enum hash_algo hash_algo;
hash_algo         103 security/integrity/ima/ima_modsig.c 	hdr->hash_algo = HASH_ALGO__LAST;
hash_algo         133 security/integrity/ima/ima_modsig.c 			      &modsig->digest_size, &modsig->hash_algo);
hash_algo         142 security/integrity/ima/ima_modsig.c int ima_get_modsig_digest(const struct modsig *modsig, enum hash_algo *algo,
hash_algo         145 security/integrity/ima/ima_modsig.c 	*algo = modsig->hash_algo;
hash_algo         229 security/integrity/ima/ima_template_lib.c 				       u8 hash_algo,
hash_algo         243 security/integrity/ima/ima_template_lib.c 	if (hash_algo < HASH_ALGO__LAST) {
hash_algo         246 security/integrity/ima/ima_template_lib.c 				   hash_algo_name[hash_algo]);
hash_algo         317 security/integrity/ima/ima_template_lib.c 	u8 *cur_digest = NULL, hash_algo = HASH_ALGO_SHA1;
hash_algo         326 security/integrity/ima/ima_template_lib.c 	hash_algo = event_data->iint->ima_hash->algo;
hash_algo         329 security/integrity/ima/ima_template_lib.c 					   hash_algo, field_data);
hash_algo         339 security/integrity/ima/ima_template_lib.c 	enum hash_algo hash_algo;
hash_algo         348 security/integrity/ima/ima_template_lib.c 		hash_algo = HASH_ALGO_SHA1;
hash_algo         354 security/integrity/ima/ima_template_lib.c 		rc = ima_get_modsig_digest(event_data->modsig, &hash_algo,
hash_algo         358 security/integrity/ima/ima_template_lib.c 		else if (hash_algo == HASH_ALGO__LAST || cur_digestsize == 0)
hash_algo         364 security/integrity/ima/ima_template_lib.c 					   hash_algo, field_data);
hash_algo         112 security/integrity/integrity.h 	uint8_t	hash_algo;	/* Digest algorithm [enum hash_algo] */
hash_algo          73 security/keys/encrypted-keys/ecryptfs_format.c 	auth_tok->token.password.hash_algo = PGP_DIGEST_ALGO_SHA512;
hash_algo          63 security/keys/keyctl_pkey.c 			params->hash_algo = q;