| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 136 rctx->cmd.u.sha.type = rctx->type; in ccp_do_sha_update() 137 rctx->cmd.u.sha.ctx = &rctx->ctx_sg; in ccp_do_sha_update() 141 rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE; in ccp_do_sha_update() 144 rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE; in ccp_do_sha_update() 147 rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE; in ccp_do_sha_update() 150 rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE; in ccp_do_sha_update() 153 rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE; in ccp_do_sha_update() 160 rctx->cmd.u.sha.src = sg; in ccp_do_sha_update() 161 rctx->cmd.u.sha.src_len = rctx->hash_cnt; in ccp_do_sha_update() 162 rctx->cmd.u.sha.opad = ctx->u.sha.key_len ? in ccp_do_sha_update() [all …]
|
| H A D | ccp-ops.c | 1501 struct ccp_sha_engine *sha = &cmd->u.sha; in ccp_run_sha_cmd() local 1513 switch (sha->type) { in ccp_run_sha_cmd() 1515 if (sha->ctx_len < SHA1_DIGEST_SIZE) in ccp_run_sha_cmd() 1520 if (sha->ctx_len < SHA224_DIGEST_SIZE) in ccp_run_sha_cmd() 1525 if (sha->ctx_len < SHA256_DIGEST_SIZE) in ccp_run_sha_cmd() 1531 || sha->ctx_len < SHA384_DIGEST_SIZE) in ccp_run_sha_cmd() 1537 || sha->ctx_len < SHA512_DIGEST_SIZE) in ccp_run_sha_cmd() 1545 if (!sha->ctx) in ccp_run_sha_cmd() 1548 if (!sha->final && (sha->src_len & (block_size - 1))) in ccp_run_sha_cmd() 1554 if (!sha->src_len) { in ccp_run_sha_cmd() [all …]
|
| H A D | ccp-dev-v3.c | 212 | (op->u.sha.type << REQ1_SHA_TYPE_SHIFT) in ccp_perform_sha() 222 cr[4] = lower_32_bits(op->u.sha.msg_bits); in ccp_perform_sha() 223 cr[5] = upper_32_bits(op->u.sha.msg_bits); in ccp_perform_sha() 571 .sha = ccp_perform_sha,
|
| H A D | Makefile | 31 ccp-crypto-sha.o
|
| H A D | ccp-dev-v5.c | 115 } sha; member 148 #define CCP_SHA_TYPE(p) ((p)->sha.type) 384 CCP_SHA_TYPE(&function) = op->u.sha.type; in ccp5_perform_sha() 396 CCP5_CMD_SHA_LO(&desc) = lower_32_bits(op->u.sha.msg_bits); in ccp5_perform_sha() 397 CCP5_CMD_SHA_HI(&desc) = upper_32_bits(op->u.sha.msg_bits); in ccp5_perform_sha() 1101 .sha = ccp5_perform_sha,
|
| H A D | ccp-dev.h | 550 struct ccp_sha_op sha; member 656 int (*sha)(struct ccp_op *); member
|
| H A D | ccp-crypto.h | 268 struct ccp_sha_ctx sha; member
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 139 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() local 141 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_tasklet() 142 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_tasklet() 152 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_tasklet() 165 struct sas_ha_struct *sha = opaque; in mvs_interrupt() local 170 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_interrupt() 173 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_interrupt() 190 tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet); in mvs_interrupt() 193 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_interrupt() 331 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() local [all …]
|
| H A D | mv_sas.c | 60 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_mvi() local 64 while (sha->sas_port[i]) { in mvs_find_dev_mvi() 65 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi() 66 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi() 67 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi() 69 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi() 71 while (sha->sas_phy[j]) { in mvs_find_dev_mvi() 72 if (sha->sas_phy[j] == phy) in mvs_find_dev_mvi() 80 hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_find_dev_mvi() 81 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[hi]; in mvs_find_dev_mvi() [all …]
|
| /linux/drivers/scsi/pm8001/ |
| H A D | pm8001_init.c | 103 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_map_queues() local 104 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_map_queues() 298 struct sas_ha_struct *sha = dev_id; in pm8001_interrupt_handler_intx() local 299 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_interrupt_handler_intx() 539 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_pci_alloc() local 541 pm8001_ha = sha->lldd_ha; in pm8001_pci_alloc() 550 pm8001_ha->sas = sha; in pm8001_pci_alloc() 611 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_prep_sas_ha_init() local 615 memset(sha, 0x00, sizeof(*sha)); in pm8001_prep_sas_ha_init() 623 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init() [all …]
|
| H A D | pm8001_sas.c | 211 struct sas_ha_struct *sha = dev->port->ha; in pm8001_find_ha_by_dev() local 212 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_find_ha_by_dev() 348 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_scan_start() local 350 pm8001_ha = sha->lldd_ha; in pm8001_scan_start()
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-series.sh | 90 for sha in ${sha1_list} 92 sha1=${sha_n}.${sha} # Enable "sort -k1nr" to list commits in order. 95 git checkout --detach "${sha}"
|
| /linux/net/ipv4/ |
| H A D | arp.c | 676 unsigned char *sha, unsigned char *tha) in arp_is_garp() argument 689 !memcmp(tha, sha, dev->addr_len); in arp_is_garp() 710 unsigned char *sha; in arp_process() local 773 sha = arp_ptr; in arp_process() 807 sha = dev->broadcast; in arp_process() 837 sha, dev->dev_addr, sha, reply_dst); in arp_process() 854 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process() 857 sip, dev, tip, sha, in arp_process() 858 dev->dev_addr, sha, in arp_process() 870 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process() [all …]
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 928 struct sas_ha_struct *sha = &hisi_hba->sha; in hisi_sas_scan_finished() local 934 sas_drain_work(sha); in hisi_sas_scan_finished() 1822 struct sas_ha_struct *sas_ha = &hisi_hba->sha; in hisi_sas_debug_I_T_nexus_reset() 2072 static int hisi_sas_write_gpio(struct sas_ha_struct *sha, u8 reg_type, in hisi_sas_write_gpio() argument 2075 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_write_gpio() 2498 SHOST_TO_SAS_HA(shost) = &hisi_hba->sha; in hisi_sas_shost_alloc() 2554 struct sas_ha_struct *sha; in hisi_sas_probe() local 2561 sha = SHOST_TO_SAS_HA(shost); in hisi_sas_probe() 2563 platform_set_drvdata(pdev, sha); in hisi_sas_probe() 2574 sha->sas_phy = arr_phy; in hisi_sas_probe() [all …]
|
| H A D | hisi_sas_v3_hw.c | 3474 SHOST_TO_SAS_HA(shost) = &hisi_hba->sha; in hisi_sas_shost_alloc_pci() 4942 struct sas_ha_struct *sha; in hisi_sas_v3_probe() local 4968 sha = SHOST_TO_SAS_HA(shost); in hisi_sas_v3_probe() 4970 dev_set_drvdata(dev, sha); in hisi_sas_v3_probe() 4988 sha->sas_phy = arr_phy; in hisi_sas_v3_probe() 4989 sha->sas_port = arr_port; in hisi_sas_v3_probe() 4990 sha->shost = shost; in hisi_sas_v3_probe() 4991 sha->lldd_ha = hisi_hba; in hisi_sas_v3_probe() 5005 sha->sas_ha_name = DRV_NAME; in hisi_sas_v3_probe() 5006 sha->dev = dev; in hisi_sas_v3_probe() [all …]
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_init.c | 594 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in phy_event_threshold_show() local 596 return scnprintf(buf, PAGE_SIZE, "%u\n", sha->event_thres); in phy_event_threshold_show() 604 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in phy_event_threshold_store() local 606 sha->event_thres = simple_strtol(buf, NULL, 10); in phy_event_threshold_store() 609 if (sha->event_thres < 32) in phy_event_threshold_store() 610 sha->event_thres = 32; in phy_event_threshold_store()
|
| /linux/drivers/crypto/qce/ |
| H A D | Makefile | 7 qcrypto-$(CONFIG_CRYPTO_DEV_QCE_SHA) += sha.o
|
| /linux/net/appletalk/ |
| H A D | aarp.c | 168 struct atalk_addr *them, unsigned char *sha) in aarp_send_reply() argument 199 if (!sha) in aarp_send_reply() 202 ether_addr_copy(eah->hw_dst, sha); in aarp_send_reply() 209 aarp_dl->request(aarp_dl, skb, sha); in aarp_send_reply()
|
| /linux/drivers/crypto/ |
| H A D | sa2ul.c | 445 } sha; in sa_prepare_iopads() local 449 prepare_kipad(sha.k_pad, key, key_sz); in sa_prepare_iopads() 452 crypto_shash_update(shash, sha.k_pad, block_size); in sa_prepare_iopads() 453 sa_export_shash(&sha, shash, digest_size, ipad); in sa_prepare_iopads() 455 prepare_kopad(sha.k_pad, key, key_sz); in sa_prepare_iopads() 458 crypto_shash_update(shash, sha.k_pad, block_size); in sa_prepare_iopads() 460 sa_export_shash(&sha, shash, digest_size, opad); in sa_prepare_iopads() 462 memzero_explicit(&sha, sizeof(sha)); in sa_prepare_iopads()
|
| /linux/lib/zstd/common/ |
| H A D | cpu.h | 184 B(sha, 29)
|
| /linux/include/linux/ |
| H A D | ccp.h | 655 struct ccp_sha_engine sha; member
|
| /linux/net/openvswitch/ |
| H A D | flow.h | 126 u8 sha[ETH_ALEN]; /* ARP source hardware address. */ member
|
| /linux/include/net/ |
| H A D | flow_dissector.h | 176 unsigned char sha[ETH_ALEN]; member
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | icp_qat_hw.h | 209 struct icp_qat_hw_auth_sha512 sha; member
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | lan966x.dtsi | 395 sha: crypto@e006c000 { label 396 compatible = "atmel,at91sam9g46-sha";
|