/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_crypto.h | 66 cfs_crypto_hash_type(unsigned char hash_alg) in cfs_crypto_hash_type() argument 70 if (hash_alg < CFS_HASH_ALG_MAX) { in cfs_crypto_hash_type() 71 ht = &hash_types[hash_alg]; in cfs_crypto_hash_type() 79 static inline const char *cfs_crypto_hash_name(unsigned char hash_alg) in cfs_crypto_hash_name() argument 83 ht = cfs_crypto_hash_type(hash_alg); in cfs_crypto_hash_name() 90 static inline int cfs_crypto_hash_digestsize(unsigned char hash_alg) in cfs_crypto_hash_digestsize() argument 94 ht = cfs_crypto_hash_type(hash_alg); in cfs_crypto_hash_digestsize() 198 int cfs_crypto_hash_speed(unsigned char hash_alg);
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_plain.c | 123 __u8 hash_alg, in plain_generate_bulk_csum() argument 126 if (hash_alg == BULK_HASH_ALG_NULL) in plain_generate_bulk_csum() 130 return sptlrpc_get_bulk_checksum(desc, hash_alg, token->pbt_hash, in plain_generate_bulk_csum() 135 __u8 hash_alg, in plain_verify_bulk_csum() argument 141 if (hash_alg == BULK_HASH_ALG_NULL) in plain_verify_bulk_csum() 145 rc = sptlrpc_get_bulk_checksum(desc, hash_alg, tokenv.pbt_hash, in plain_verify_bulk_csum() 202 phdr->ph_bulk_hash_alg = req->rq_flvr.u_bulk.hash.hash_alg; in plain_ctx_sign() 246 if (phdr->ph_bulk_hash_alg != req->rq_flvr.u_bulk.hash.hash_alg) { in plain_ctx_verify() 248 req->rq_flvr.u_bulk.hash.hash_alg); in plain_ctx_verify() 313 rc = plain_generate_bulk_csum(desc, req->rq_flvr.u_bulk.hash.hash_alg, in plain_cli_wrap_bulk() [all …]
|
D | sec_config.c | 101 flvr->u_bulk.hash.hash_alg = BULK_HASH_ALG_ADLER32; in sptlrpc_parse_flavor() 114 flvr->u_bulk.hash.hash_alg = sptlrpc_get_hash_alg(alg); in sptlrpc_parse_flavor() 115 if (flvr->u_bulk.hash.hash_alg >= BULK_HASH_ALG_MAX) in sptlrpc_parse_flavor() 119 if (flvr->u_bulk.hash.hash_alg == BULK_HASH_ALG_NULL) in sptlrpc_parse_flavor()
|
D | sec_bulk.c | 461 const char *sptlrpc_get_hash_name(__u8 hash_alg) in sptlrpc_get_hash_name() argument 463 return cfs_crypto_hash_name(cfs_hash_alg_id[hash_alg]); in sptlrpc_get_hash_name()
|
D | sec.c | 200 sptlrpc_get_hash_name(sf->u_bulk.hash.hash_alg)); in sptlrpc_flavor2name_bulk()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto.c | 234 int cfs_crypto_hash_speed(unsigned char hash_alg) in cfs_crypto_hash_speed() argument 236 if (hash_alg < CFS_HASH_ALG_MAX) in cfs_crypto_hash_speed() 237 return cfs_crypto_hash_speeds[hash_alg]; in cfs_crypto_hash_speed()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm2-cmd.c | 35 __be16 hash_alg; member 43 __be16 hash_alg; member 63 __be16 hash_alg; member 260 cmd.params.pcrread_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_pcr_read() 312 cmd.params.pcrextend_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_pcr_extend() 833 cmd.params.pcrread_in.hash_alg = cpu_to_be16(TPM2_ALG_SHA1); in tpm2_do_selftest()
|
/linux-4.4.14/security/keys/ |
D | trusted.c | 35 static const char hash_alg[] = "sha1"; variable 67 pr_info("trusted_key: can't alloc %s\n", hash_alg); in TSS_sha1() 137 pr_info("trusted_key: can't alloc %s\n", hash_alg); in TSS_authhmac() 209 pr_info("trusted_key: can't alloc %s\n", hash_alg); in TSS_checkhmac1() 301 pr_info("trusted_key: can't alloc %s\n", hash_alg); in TSS_checkhmac2() 1158 hashalg = crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC); in trusted_shash_alloc() 1161 hash_alg); in trusted_shash_alloc()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4session.h | 60 u32 hash_alg; member
|
/linux-4.4.14/security/keys/encrypted-keys/ |
D | encrypted.c | 42 static const char hash_alg[] = "sha256"; variable 364 pr_info("encrypted_key: can't alloc %s\n", hash_alg); in calc_hash() 1000 hashalg = crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC); in encrypted_shash_alloc() 1003 hash_alg); in encrypted_shash_alloc()
|
/linux-4.4.14/drivers/crypto/amcc/ |
D | crypto4xx_sa.h | 103 u32 hash_alg:4; member
|
D | crypto4xx_alg.c | 46 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0()
|
D | crypto4xx_core.c | 599 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_sec.h | 255 __u8 hash_alg; member 867 const char *sptlrpc_get_hash_name(__u8 hash_alg);
|
/linux-4.4.14/include/uapi/linux/ |
D | openvswitch.h | 617 uint32_t hash_alg; /* One of ovs_hash_alg. */ member
|
/linux-4.4.14/drivers/crypto/ux500/hash/ |
D | hash_core.c | 1499 struct hash_algo_template *hash_alg; in hash_cra_init() local 1501 hash_alg = container_of(__crypto_ahash_alg(alg), in hash_cra_init() 1509 ctx->config.algorithm = hash_alg->conf.algorithm; in hash_cra_init() 1510 ctx->config.oper_mode = hash_alg->conf.oper_mode; in hash_cra_init() 1512 ctx->digestsize = hash_alg->hash.halg.digestsize; in hash_cra_init()
|
/linux-4.4.14/net/openvswitch/ |
D | flow_netlink.c | 2257 switch (act_hash->hash_alg) { in __ovs_nla_copy_actions()
|