/linux-6.14.4/arch/arm64/crypto/ |
D | sha3-ce-glue.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sha3-ce-glue.c - core SHA-3 transform using v8.2 Crypto Extensions 26 MODULE_ALIAS_CRYPTO("sha3-224"); 27 MODULE_ALIAS_CRYPTO("sha3-256"); 28 MODULE_ALIAS_CRYPTO("sha3-384"); 29 MODULE_ALIAS_CRYPTO("sha3-512"); 38 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha3_update() 43 if ((sctx->partial + len) >= sctx->rsiz) { in sha3_update() 46 if (sctx->partial) { in sha3_update() 47 int p = sctx->rsiz - sctx->partial; in sha3_update() local [all …]
|
/linux-6.14.4/crypto/ |
D | ecc_curve_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* NIST P-192: a = p - 3 */ 26 .p = nist_p192_p, 32 /* NIST P-256: a = p - 3 */ 53 .p = nist_p256_p, 59 /* NIST P-384 */ 80 .nbits = 384, 86 .p = nist_p384_p, 92 /* NIST P-521 */ 131 .p = nist_p521_p, [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 171 bool "Disable run-time self tests" 174 Disable run-time self tests that normally take place at 178 bool "Enable extra run-time crypto self tests" 181 Enable extra run-time self tests of registered crypto algorithms, 247 menu "Public-key cryptography" 250 tristate "RSA (Rivest-Shamir-Adleman)" 257 RSA (Rivest-Shamir-Adleman) public key algorithm (RFC8017) 260 tristate "DH (Diffie-Hellman)" 264 DH (Diffie-Hellman) key exchange algorithm [all …]
|
D | rsassa-pkcs1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * RSA Signature Scheme with Appendix - PKCS #1 v1.5 (RFC 8017 sec 8.2) 5 * https://www.rfc-editor.org/rfc/rfc8017#section-8.2 7 * Copyright (c) 2015 - 2024 Intel Corporation 21 * Full Hash Prefix for EMSA-PKCS1-v1_5 encoding method (RFC 9580 table 24) 27 * https://www.rfc-editor.org/rfc/rfc9580#table-24 107 #define _(X) { "sha3-" #X, hash_prefix_sha3_##X, sizeof(hash_prefix_sha3_##X) } 109 _(384), 117 const struct hash_prefix *p; in rsassa_pkcs1_find_hash_prefix() local 119 for (p = hash_prefixes; p->name; p++) in rsassa_pkcs1_find_hash_prefix() [all …]
|
/linux-6.14.4/drivers/media/pci/cx18/ |
D | cx18-av-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-audio.c 11 #include "cx18-driver.h" 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 18 return -EINVAL; in set_audclk_freq() 31 * the NTSC Standards", Proceedings of the I-R-E, January 1954, pp 79-80 in set_audclk_freq() 34 * NTSC Standards", Proceedings of the I-R-E, January 1954, pp 81-83 in set_audclk_freq() 56 if (state->aud_input > CX18_AV_AUDIO_SERIAL2) { in set_audclk_freq() 66 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ in set_audclk_freq() 70 /* xtal * 0xd.bb3a060/0x20 = 32000 * 384: 393 MHz p-pd*/ in set_audclk_freq() [all …]
|
/linux-6.14.4/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 31 [TV_NORM_PAL_M] = "PAL-M", 32 [TV_NORM_PAL_N] = "PAL-N", 33 [TV_NORM_PAL_NC] = "PAL-Nc", 34 [TV_NORM_PAL_60] = "PAL-60", 35 [TV_NORM_NTSC_M] = "NTSC-M", 36 [TV_NORM_NTSC_J] = "NTSC-J", 145 MODE(21000, 512, 384, 840, 500, N, N, 181.797557582, 5_4, 0x6, PAL_LIKE), 146 MODE(26250, 512, 384, 840, 625, N, N, 145.438046066, 1_1, 0x1, PAL_LIKE), 147 MODE(20140, 512, 384, 800, 420, N, N, 213.257083791, 5_4, 0x4, NTSC_LIKE), 148 MODE(24671, 512, 384, 784, 525, N, N, 174.0874153, 1_1, 0x3, NTSC_LIKE), [all …]
|
/linux-6.14.4/Documentation/admin-guide/ |
D | module-signing.rst | 2 ------------------------------ 6 .. - Overview. 7 .. - Configuring module signing. 8 .. - Generating signing keys. 9 .. - Public keys in the kernel. 10 .. - Manually signing modules. 11 .. - Signed modules and stripping. 12 .. - Loading signed modules. 13 .. - Non-valid signatures and unsigned modules. 14 .. - Administering/protecting the private key. [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/crypto/ |
D | intel,keembay-ocs-ecc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-ecc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniele Alessandrelli <[email protected]> 11 - Prabhjot Khurana <[email protected]> 16 cryptography using the NIST P-256 and NIST P-384 elliptic curves. 20 const: intel,keembay-ocs-ecc 32 - compatible 33 - reg [all …]
|
/linux-6.14.4/Documentation/admin-guide/device-mapper/ |
D | snapshot.rst | 2 Device-mapper snapshot support 5 Device-mapper allows you, without massive data copying: 7 - To create snapshots of any block device i.e. mountable, saved states of 10 - To create device "forks", i.e. multiple different versions of the 12 - To merge a snapshot of a block device back into the snapshot's origin 16 changed and uses a separate copy-on-write (COW) block device for 24 snapshot, snapshot-origin, and snapshot-merge. 26 - snapshot-origin <origin> 34 - snapshot <origin> <COW device> <persistent?> <chunksize> 45 <persistent?> is P (Persistent) or N (Not persistent - will not survive [all …]
|
/linux-6.14.4/lib/zlib_dfltcc/ |
D | dfltcc.h | 1 // SPDX-License-Identifier: Zlib 36 * Parameter Block for Generate Dynamic-Huffman Table, Compress and Expand. 39 uint16_t pbvn; /* Parameter-Block-Version Number */ 40 uint8_t mvn; /* Model-Version Number */ 49 unsigned htt : 1; /* Huffman-Table Type */ 50 unsigned bcf : 1; /* Block-Continuation Flag */ 58 unsigned sbb : 3; /* Sub-Byte Boundary */ 59 uint8_t oesc; /* Operation-Ending-Supplemental Code */ 61 unsigned ifs : 4; /* Incomplete-Function Status */ 62 uint16_t ifl; /* Incomplete-Function Length */ [all …]
|
/linux-6.14.4/drivers/s390/char/ |
D | keyboard.c | 1 // SPDX-License-Identifier: GPL-2.0 37 255, ARRAY_SIZE(func_table) - 1, NR_FN_HANDLER - 1, 0, 38 NR_DEAD - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 62 '-', /* dead_stroke */ 83 kbd->key_maps = kzalloc(sizeof(ebc_key_maps), GFP_KERNEL); in kbd_alloc() 84 if (!kbd->key_maps) in kbd_alloc() 88 kbd->key_maps[i] = kmemdup(ebc_key_maps[i], in kbd_alloc() 91 if (!kbd->key_maps[i]) in kbd_alloc() 95 kbd->func_table = kzalloc(sizeof(ebc_func_table), GFP_KERNEL); in kbd_alloc() 96 if (!kbd->func_table) in kbd_alloc() [all …]
|
/linux-6.14.4/sound/pci/emu10k1/ |
D | emupcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Lee Revell <rlrevell@joe-job.com> 5 * James Courtier-Dutton <[email protected]> 25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt() 28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 31 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt() 33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 37 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt() [all …]
|
/linux-6.14.4/tools/testing/selftests/mm/ |
D | pkey-powerpc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 # define SYS_pkey_alloc 384 26 #define NR_RESERVED_PKEYS_4K 27 /* pkey-0, pkey-1, exec-only-pkey 29 #define NR_RESERVED_PKEYS_64K_3KEYS 3 /* PowerNV and KVM: pkey-0, 30 pkey-1 and exec-only key */ 31 #define NR_RESERVED_PKEYS_64K_4KEYS 4 /* PowerVM: pkey-0, pkey-1, 32 pkey-31 and exec-only key */ 39 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position() 75 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) && in arch_is_powervm() 76 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) && in arch_is_powervm() [all …]
|
/linux-6.14.4/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 29 #define PM_BASE 384 33 PINCTRL_PIN(P ## bank ## _BASE + (pin), "P" #bank #pin) 58 #define IRQ_CFG_IRQ_MASK ((1 << IRQ_CFG_IRQ_BITS) - 1) 62 #define IRQ_CTRL_IRQ_MASK ((1 << IRQ_CTRL_IRQ_BITS) - 1) 66 #define IRQ_STATUS_IRQ_MASK ((1 << IRQ_STATUS_IRQ_BITS) - 1) 228 if (!desc->irq_bank_map) in sunxi_irq_hw_bank_num() 231 return desc->irq_bank_map[bank]; in sunxi_irq_hw_bank_num()
|
/linux-6.14.4/crypto/asymmetric_keys/ |
D | x509_cert_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 47 public_key_free(cert->pub); in x509_free_certificate() 48 public_key_signature_free(cert->sig); in x509_free_certificate() 49 kfree(cert->issuer); in x509_free_certificate() 50 kfree(cert->subject); in x509_free_certificate() 51 kfree(cert->id); in x509_free_certificate() 52 kfree(cert->skid); in x509_free_certificate() 70 return ERR_PTR(-ENOMEM); in x509_cert_parse() 71 cert->pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in x509_cert_parse() 72 if (!cert->pub) in x509_cert_parse() [all …]
|
/linux-6.14.4/drivers/media/v4l2-core/ |
D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-[email protected]> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 45 "384 kbps", in v4l2_ctrl_get_menu() 64 "384 kbps", in v4l2_ctrl_get_menu() [all …]
|
/linux-6.14.4/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/dma-mapping.h> 33 #define HPRE_INVLD_REQ_ID (-1) 66 /* low address: e--->n */ 70 /* low address: d--->n */ 74 /* low address: dq->dp->q->p->qinv */ 84 * ya = g^xa mod p; [RFC2631 sec 2.1.1] 87 * ZZ = yb^xa mod p; [RFC2631 sec 2.1.1] 88 * low address: d--->n, please refer to Hisilicon HPRE UM 98 /* low address: p->a->k->b */ [all …]
|
/linux-6.14.4/drivers/video/fbdev/via/ |
D | hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 17 #define viafb_read_reg(p, i) via_read_reg(p, i) argument 18 #define viafb_write_reg(i, p, d) via_write_reg(p, i, d) argument 19 #define viafb_write_reg_mask(i, p, d, m) via_write_reg_mask(p, i, d, m) argument 43 #define IGA2_HOR_TOTAL_SHADOW_FORMULA(x) ((x/8)-5) 44 #define IGA2_HOR_BLANK_END_SHADOW_FORMULA(x, y) (((x+y)/8)-1) 45 #define IGA2_VER_TOTAL_SHADOW_FORMULA(x) ((x)-2) 46 #define IGA2_VER_ADDR_SHADOW_FORMULA(x) ((x)-1) [all …]
|
/linux-6.14.4/drivers/media/platform/verisilicon/ |
D | hantro_g1_h264_dec.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Hertz Wong <hertz.wong@rock-chips.com> 7 * Herman Chen <herman.chen@rock-chips.com> 16 #include <media/v4l2-mem2mem.h> 24 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_params() 25 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params() 26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params() 27 const struct v4l2_ctrl_h264_pps *pps = ctrls->pps; in set_params() 28 struct hantro_dev *vpu = ctx->dev; in set_params() 33 if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) in set_params() [all …]
|
/linux-6.14.4/arch/powerpc/crypto/ |
D | poly1305-p10le_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 10 # Poly1305 - this version mainly using vector/VSX/Scalar 11 # - 26 bits limbs 12 # - Handle multiple 64 byte blcok. 17 # p = 2^130 - 5 19 # a = (r + a) % p 25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, … 56 #include <asm/asm-offsets.h> 57 #include <asm/asm-compat.h> [all …]
|
/linux-6.14.4/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <media/drv-intf/saa7146_vv.h> 12 struct saa7146_vv *vv = dev->vv_data; in saa7146_res_get() 14 if (vv->resources & bit) { in saa7146_res_get() 16 bit, vv->resources); in saa7146_res_get() 22 if (vv->resources & bit) { in saa7146_res_get() 23 DEB_D("locked! vv->resources:0x%02x, we want:0x%02x\n", in saa7146_res_get() 24 vv->resources, bit); in saa7146_res_get() 29 vv->resources |= bit; in saa7146_res_get() 30 DEB_D("res: get 0x%02x, cur:0x%02x\n", bit, vv->resources); in saa7146_res_get() [all …]
|
/linux-6.14.4/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
/linux-6.14.4/drivers/media/usb/msi2500/ |
D | msi2500.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * (C) 1999-2004 Nemosoft Unv. 10 * (C) 2004-2006 Luc Saillard ([email protected]) 17 #include <media/v4l2-device.h> 18 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-event.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/videobuf2-vmalloc.h> 51 /* signed 12-bit */ [all …]
|
/linux-6.14.4/drivers/clk/qcom/ |
D | lcc-ipq806x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/qcom,lcc-ipq806x.h> 18 #include "clk-regmap.h" 19 #include "clk-pll.h" 20 #include "clk-rcg.h" 21 #include "clk-branch.h" 22 #include "clk-regmap-divider.h" 23 #include "clk-regmap-mux.h" 121 .p = { [all …]
|
/linux-6.14.4/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2001-2008 The Regents of the University of Michigan. 36 * AES-128 with SHA-1 (RFC 3962) 41 .name = "aes128-cts", 54 .signalg = -1, 55 .sealalg = -1, 65 * AES-256 with SHA-1 (RFC 3962) 70 .name = "aes256-cts", 83 .signalg = -1, 84 .sealalg = -1, [all …]
|