Home
last modified time | relevance | path

Searched +full:p +full:- +full:384 (Results 1 – 25 of 81) sorted by relevance

1234

/linux/crypto/
H A Decc_curve_defs.h1 /* 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
156 cbc(aes), and the support for the crypto self-tests.
178 bool "Enable cryptographic self-tests"
181 Enable the cryptographic self-tests.
183 The cryptographic self-tests run at boot time, or at algorithm
188 - Development and pre-release testing. In this case, also enable
192 - Production kernels, to help prevent buggy drivers from being used
193 and/or meet FIPS 140-3 pre-operational testing requirements. In
197 bool "Enable the full set of cryptographic self-tests"
200 Enable the full set of cryptographic self-tests for each algorithm.
[all …]
H A Dsha512.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Crypto API support for SHA-384, SHA-512, HMAC-SHA384, and HMAC-SHA512
5 * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
18 * library SHA context, except the value in bytecount_lo must be block-aligned
33 u8 *p = out; in __crypto_sha512_export() local
36 ctx.bytecount_lo -= partial; in __crypto_sha512_export()
37 memcpy(p, &ctx, sizeof(ctx)); in __crypto_sha512_export()
38 p += sizeof(ctx); in __crypto_sha512_export()
39 *p = partial; in __crypto_sha512_export()
45 const u8 *p = in; in __crypto_sha512_import() local
[all …]
/linux/Documentation/admin-guide/
H A Dmodule-signing.rst2 ------------------------------
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/Documentation/devicetree/bindings/crypto/
H A Dintel,keembay-ocs-ecc.yaml1 # 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 <daniele.alessandrelli@intel.com>
11 - Prabhjot Khurana <prabhjot.khurana@intel.com>
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/Documentation/admin-guide/device-mapper/
H A Dsnapshot.rst2 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/lib/zlib_dfltcc/
H A Ddfltcc.h1 // 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/sound/pci/emu10k1/
H A Demupcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Lee Revell <rlrevell@joe-job.com>
5 * James Courtier-Dutton <James@superbug.co.uk>
25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt()
31 dev_dbg(emu->car in snd_emu10k1_pcm_interrupt()
[all...]
/linux/drivers/s390/char/
H A Dkeyboard.c1 // SPDX-License-Identifier: GPL-2.0
38 255, ARRAY_SIZE(func_table) - 1, NR_FN_HANDLER - 1, 0,
39 NR_DEAD - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
63 '-', /* dead_stroke */
84 kbd->key_maps = kzalloc(sizeof(ebc_key_maps), GFP_KERNEL); in kbd_alloc()
85 if (!kbd->key_maps) in kbd_alloc()
89 kbd->key_maps[i] = kmemdup(ebc_key_maps[i], in kbd_alloc()
92 if (!kbd->key_maps[i]) in kbd_alloc()
96 kbd->func_table = kzalloc(sizeof(ebc_func_table), GFP_KERNEL); in kbd_alloc()
97 if (!kbd->func_table) in kbd_alloc()
[all …]
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/dma-mapping.h>
32 #define HPRE_INVLD_REQ_ID (-1)
67 /* low address: e--->n */
71 /* low address: d--->n */
75 /* low address: dq->dp->q->p->qinv */
85 * ya = g^xa mod p; [RFC2631 sec 2.1.1]
88 * ZZ = yb^xa mod p; [RFC2631 sec 2.1.1]
89 * low address: d--->n, please refer to Hisilicon HPRE UM
99 /* low address: p->a->k->b */
[all …]
/linux/tools/testing/selftests/mm/
H A Dpkey-powerpc.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 # define SYS_pkey_alloc 384
28 #define NR_RESERVED_PKEYS_4K 27 /* pkey-0, pkey-1, exec-only-pkey
31 #define NR_RESERVED_PKEYS_64K_3KEYS 3 /* PowerNV and KVM: pkey-0,
32 pkey-1 and exec-only key */
33 #define NR_RESERVED_PKEYS_64K_4KEYS 4 /* PowerVM: pkey-0, pkey-1,
34 pkey-31 and exec-only key */
41 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()
77 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) && in arch_is_powervm()
78 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) && in arch_is_powervm()
[all …]
/linux/drivers/video/fbdev/via/
H A Dhw.h1 /* 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/drivers/media/platform/verisilicon/
H A Dhantro_g1_h264_dec.c1 // 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 …]
H A Dhantro_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <linux/v4l2-controls.h>
14 #include <media/v4l2-ctrls.h>
15 #include <media/v4l2-vp9.h>
16 #include <media/videobuf2-core.h>
58 * struct hantro_aux_buf - auxiliary DMA buffer for hardware data
93 * @p: P reflist
98 struct v4l2_h264_reference p[V4L2_H264_REF_LIST_LEN]; member
108 * @reflists: P/B0/B1 reflists
110 * @dpb_longterm: DPB long-term
[all …]
/linux/lib/crypto/powerpc/
H A Dpoly1305-p10le_64.S1 /* 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/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec.rst1 .. 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/drivers/media/common/saa7146/
H A Dsaa7146_fops.c1 // 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/drivers/clk/qcom/
H A Dlcc-ipq806x.c1 // 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 …]
H A Dlcc-msm8960.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/clk-provider.h>
15 #include <dt-bindings/clock/qcom,lcc-msm8960.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"
104 .p = { \
[all …]
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c1 // 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 …]
/linux/drivers/video/fbdev/
H A Dps3fb.c2 * linux/drivers/video/ps3fb.c -- PS3 GPU frame buffer device
9 * linux/drivers/video/vfb.c -- Virtual frame buffer device
35 #include <asm/cell-regs.h>
49 #define GPU_MAX_LINE_LENGTH (65536 - 64)
144 "480i", 60, 576, 384, 74074, 130, 89, 78, 57, 63, 6,
147 /* 480p */
148 "480p", 60, 576, 384, 37037, 130, 89, 78, 57, 63, 6,
151 /* 720p */
152 "720p", 60, 1124, 644, 13481, 298, 148, 57, 44, 80, 5,
159 /* 1080p */
[all …]
/linux/drivers/nvmem/
H A Dimx-ocotp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2015 Pengutronix, Philipp Zabel <p.zabel@pengutronix.de>
14 * Copyright (C) 2010-2013 Freescale Semiconductor, Inc
21 #include <linux/nvmem-provider.h>
107 void __iomem *base = priv->base; in imx_ocotp_wait_for_busy()
109 bm_ctrl_busy = priv->params->ctrl.bm_busy; in imx_ocotp_wait_for_busy()
110 bm_ctrl_error = priv->params->ctrl.bm_error; in imx_ocotp_wait_for_busy()
114 for (count = 10000; count >= 0; count--) { in imx_ocotp_wait_for_busy()
124 * - A write is performed to a shadow register during a shadow in imx_ocotp_wait_for_busy()
128 * - A write is performed to a shadow register which has been in imx_ocotp_wait_for_busy()
[all …]
/linux/fs/ntfs3/lib/
H A Dlzx_decompress.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lzx_decompress.c - A decompressor for the LZX compression format, which can
22 #define LZX_NUM_LENS (LZX_MAX_MATCH_LEN - LZX_MIN_MATCH_LEN + 1)
28 /* Valid values of the 3-bit block type field */
41 #define LZX_LENCODE_NUM_SYMBOLS (LZX_NUM_LENS - LZX_NUM_PRIMARY_LENS)
49 /* Number of low-order bits of each match offset that are entropy-encoded in
57 /* Mask for the match offset bits that are entropy-encoded in aligned offset
60 #define LZX_ALIGNED_OFFSET_BITMASK ((1 << LZX_NUM_ALIGNED_OFFSET_BITS) - 1)
68 #define LZX_MAX_PRE_CODEWORD_LEN ((1 << LZX_PRECODE_ELEMENT_SIZE) - 1)
69 #define LZX_MAX_ALIGNED_CODEWORD_LEN ((1 << LZX_ALIGNEDCODE_ELEMENT_SIZE) - 1)
[all …]
/linux/drivers/video/fbdev/sis/
H A Dsis_main.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
33 .height = -1,
34 .width = -1,
49 /* Boot-time parameters */
52 static int sisfb_accel = -1;
53 static int sisfb_ypan = -1;
54 static int sisfb_max = -1;
56 static int sisfb_useoem = -1;
57 static int sisfb_mode_idx = -1; /* Use a default mode if we are inside the kernel */
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Dregs-mfc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #define S5P_FIMV_REG_SIZE (S5P_FIMV_END_ADDR - S5P_FIMV_START_ADDR)
16 #define S5P_FIMV_REG_COUNT ((S5P_FIMV_END_ADDR - S5P_FIMV_START_ADDR) / 4)
84 /* VC-1 decoding */
265 #define S5P_FIMV_ENC_SI_SLICE_TYPE 0x2010 /* slice type(I/P/B/IDR) */
308 #define S5P_FIMV_ENC_H264_NUM_OF_REF 0xd010 /* number of reference for P/B */
333 #define S5P_FIMV_CODEC_NONE -1
383 #define S5P_FIMV_CODEC_H264_MVC_DEC -1
384 #define S5P_FIMV_R2H_CMD_FIELD_DONE_RET -1
385 #define S5P_FIMV_MFC_RESET -1
[all …]

1234