Searched refs:alg (Results 276 - 300 of 305) sorted by relevance

<<111213

/linux-master/drivers/crypto/
H A Domap-sham.c2145 struct ahash_alg *alg; local
2148 alg = &ealg->base;
2149 alg->export = omap_sham_export;
2150 alg->import = omap_sham_import;
2151 alg->halg.statesize = sizeof(struct omap_sham_reqctx) +
H A Datmel-aes.c2221 static void atmel_aes_crypto_alg_init(struct crypto_alg *alg) argument
2223 alg->cra_flags |= CRYPTO_ALG_ASYNC;
2224 alg->cra_alignmask = 0xf;
2225 alg->cra_priority = ATMEL_AES_PRIORITY;
2226 alg->cra_module = THIS_MODULE;
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c82 if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */
358 param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0';
369 if (strcmp(param->u.crypt.alg, "WEP") == 0) {
370 netdev_info(dev, "r8712u: %s: crypt.alg = WEP\n", __func__);
1707 switch (pext->alg) {
1730 strscpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN);
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c758 field.alg = NIX_LSOALG_ADD_PAYLEN;
771 field.alg = NIX_LSOALG_ADD_SEGNUM;
786 field.alg = NIX_LSOALG_ADD_OFFSET;
795 field.alg = NIX_LSOALG_TCP_FLAGS;
3867 static int set_flowkey_fields(struct nix_rx_flowkey_alg *alg, u32 flow_cfg) argument
3877 if (!alg)
3883 memset(alg, 0, sizeof(uint64_t) * FIELDS_PER_ALG);
4174 memcpy(&alg[nr_field], field, sizeof(*field));
4262 int alg, fid, rc; local
4265 for (alg
[all...]
H A Drvu_struct.h793 u64 alg : 3; member in struct:nix_lso_format
/linux-master/net/ceph/
H A Dosdmap.c417 switch (c->buckets[b]->alg) {
477 u32 alg; local
480 ceph_decode_32_safe(p, end, alg, bad);
481 if (alg == 0) {
488 switch (alg) {
515 b->alg = ceph_decode_8(p);
531 switch (b->alg) {
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c672 static struct otx_cpt_sdesc *alloc_sdesc(struct crypto_shash *alg) argument
677 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
682 sdesc->shash.tfm = alg;
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c1262 struct ahc_devinfo *devinfo, ahc_queue_alg alg)
1273 switch (alg) {
1311 } else if (alg == AHC_QUEUE_TAGGED) {
1261 ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
H A Daic79xx_osm.c1388 struct ahd_devinfo *devinfo, ahd_queue_alg alg)
1402 switch (alg) {
1440 } else if (alg == AHD_QUEUE_TAGGED) {
1387 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c728 int alg, u64 iova, int ptp_offset,
735 mem->alg = alg;
727 otx2_sqe_add_mem(struct otx2_snd_queue *sq, int *offset, int alg, u64 iova, int ptp_offset, u64 base_ns, bool udp_csum_crt) argument
H A Dotx2_common.c433 field->alg = NIX_LSOALG_ADD_PAYLEN;
442 field->alg = NIX_LSOALG_ADD_SEGNUM;
450 field->alg = NIX_LSOALG_ADD_PAYLEN;
/linux-master/drivers/media/i2c/
H A Ds5k5baf.c642 static void s5k5baf_hw_set_alg(struct s5k5baf *state, u16 alg, bool enable) argument
651 new_alg = enable ? (cur_alg | alg) : (cur_alg & ~alg);
/linux-master/drivers/staging/rtl8723bs/include/
H A Dieee80211.h182 u8 alg[IEEE_CRYPT_ALG_NAME_LEN]; member in struct:ieee_param::__anon676::__anon680
/linux-master/include/linux/
H A Dhisi_acc_qm.h163 const char *alg; member in struct:qm_dev_alg
/linux-master/fs/smb/client/
H A Dsmb2pdu.c794 __le16 alg; local
813 alg = ctxt->CompressionAlgorithms[0];
816 if (alg == 0 || le16_to_cpu(alg) > 3) {
817 pr_warn_once("invalid compression algorithm '%u'\n", alg);
821 server->compression.alg = alg;
H A Dcifsglob.h778 __le16 alg; /* preferred alg negotiated with server */ member in struct:TCP_Server_Info::__anon82
/linux-master/drivers/staging/ks7010/
H A Dks_wlan_net.c1570 switch (enc->alg) {
1614 key->alg = enc->alg;
/linux-master/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c353 unsigned int err, done, alg; local
375 alg = le32_to_cpu(sqe->dw0) & HREE_ALG_TYPE_MASK;
376 dev_err_ratelimited(ctx->dev, "alg[0x%x] error: done[0x%x], etype[0x%x]\n",
377 alg, done, err);
/linux-master/fs/f2fs/
H A Dcompress.c561 bool f2fs_is_compress_level_valid(int alg, int lvl) argument
563 const struct f2fs_compress_ops *cops = f2fs_cops[alg];
H A Df2fs.h4274 bool f2fs_is_compress_level_valid(int alg, int lvl);
4340 static inline bool f2fs_is_compress_level_valid(int alg, int lvl) { return false; } argument
/linux-master/drivers/net/usb/
H A Dr8152.c4630 struct crypto_shash *alg; local
4635 alg = crypto_alloc_shash("sha256", 0, 0);
4636 if (IS_ERR(alg)) {
4637 rc = PTR_ERR(alg);
4641 if (crypto_shash_digestsize(alg) != sizeof(fw_hdr->checksum)) {
4644 crypto_shash_digestsize(alg));
4648 len = sizeof(*sdesc) + crypto_shash_descsize(alg);
4654 sdesc->tfm = alg;
4668 crypto_free_shash(alg);
/linux-master/drivers/block/drbd/
H A Ddrbd_receiver.c3698 drbd_err(connection, "incompatible %s settings\n", "data-integrity-alg");
3720 drbd_err(connection, "peer data-integrity-alg %s not supported\n",
3761 drbd_info(connection, "peer data-integrity-alg: %s\n",
3778 * input: alg name, feature name
3779 * return: NULL (alg name was "")
3784 const char *alg, const char *name)
3788 if (!alg[0])
3791 tfm = crypto_alloc_shash(alg, 0, 0);
3794 alg, name, PTR_ERR(tfm));
3912 drbd_err(device, "verify-alg o
3782 drbd_crypto_alloc_digest_safe( const struct drbd_device *device, const char *alg, const char *name) argument
[all...]
/linux-master/net/wireless/
H A Dwext-compat.c686 switch (ext->alg) {
/linux-master/fs/erofs/
H A Dzdata.c1268 .alg = pcl->algorithmformat,
/linux-master/net/sctp/
H A Dsocket.c8527 char alg[32]; local
8531 sprintf(alg, "hmac(%s)", sp->sctp_hmac_alg);
8532 tfm = crypto_alloc_shash(alg, 0, 0);

Completed in 481 milliseconds

<<111213