Home
last modified time | relevance | path

Searched +full:inside +full:- +full:secure (Results 1 – 25 of 102) sorted by relevance

12345

/Linux-v6.1/Documentation/devicetree/bindings/crypto/
Dinside-secure-safexcel.txt1 Inside Secure SafeXcel cryptographic engine
4 - compatible: Should be "inside-secure,safexcel-eip197b",
5 "inside-secure,safexcel-eip197d" or
6 "inside-secure,safexcel-eip97ies".
7 - reg: Base physical address of the engine and length of memory mapped region.
8 - interrupts: Interrupt numbers for the rings and engine.
9 - interrupt-names: Should be "ring0", "ring1", "ring2", "ring3", "eip", "mem".
12 - clocks: Reference to the crypto engine clocks, the second clock is
14 - clock-names: mandatory if there is a second clock, in this case the
21 - "inside-secure,safexcel-eip197" is equivalent to
[all …]
/Linux-v6.1/drivers/nfc/microread/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 This module contains the main code for Inside Secure microread
11 tristate "Inside Secure Microread device support (I2C)"
16 Inside microread chipsets. Select this if your platform is using
23 tristate "Inside Secure Microread device support (MEI)"
28 Inside microread chipsets. Select this if your microread chipset
Dmei.c1 // SPDX-License-Identifier: GPL-2.0
5 * HCI based Driver for Inside Secure microread NFC Chip
28 return -ENOMEM; in microread_mei_probe()
32 &phy->hdev); in microread_mei_probe()
46 microread_remove(phy->hdev); in microread_mei_remove()
/Linux-v6.1/Documentation/devicetree/bindings/rng/
Domap_rng.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: OMAP SoC and Inside-Secure HWRNG Module
10 - Jayesh Choudhary <j-choudhary@ti.com>
15 - ti,omap2-rng
16 - ti,omap4-rng
17 - inside-secure,safexcel-eip76
33 - description: EIP150 gatable clock
34 - description: Main gatable clock
[all …]
/Linux-v6.1/drivers/s390/crypto/
Dzcrypt_ccamisc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
17 #define TOKTYPE_NON_CCA 0x00 /* Non-CCA key token */
41 /* inside view of a CCA secure key token (only type 0x01 version 0x04) */
57 /* inside view of a variable length symmetric cipher AES key token */
81 /* AES-128 512 640 */
82 /* AES-192 576 640 */
83 /* AES-256 640 640 */
97 /* inside view of an CCA secure ECC private key */
107 u8 htype; /* hash method, 0x02 for SHA-256 */
133 * Simple check if the token is a valid CCA secure AES data key
[all …]
Dzcrypt_ep11misc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
27 /* inside view of an EP11 secure key blob */
55 return (kb->version == EP11_STRUCT_MAGIC); in is_ep11_keyblob()
114 * Generate (random) EP11 AES secure key.
120 * Generate EP11 AES secure key with given clear key value.
127 * - apqn is online and is in fact an EP11 apqn
128 * - if cardnr is not FFFF only apqns with this cardnr
129 * - if domain is not FFFF only apqns with this domainnr
130 * - if minhwtype > 0 only apqns with hwtype >= minhwtype
131 * - if minapi > 0 only apqns with API_ord_nr >= minapi
[all …]
Dzcrypt_ccamisc.c1 // SPDX-License-Identifier: GPL-2.0+
49 * Simple check if the token is a valid CCA secure AES data key
60 if (t->type != TOKTYPE_CCA_INTERNAL) { in cca_check_secaeskeytoken()
63 __func__, (int)t->type, TOKTYPE_CCA_INTERNAL); in cca_check_secaeskeytoken()
64 return -EINVAL; in cca_check_secaeskeytoken()
66 if (t->version != TOKVER_CCA_AES) { in cca_check_secaeskeytoken()
69 __func__, (int)t->version, TOKVER_CCA_AES); in cca_check_secaeskeytoken()
70 return -EINVAL; in cca_check_secaeskeytoken()
72 if (keybitsize > 0 && t->bitsize != keybitsize) { in cca_check_secaeskeytoken()
75 __func__, (int)t->bitsize, keybitsize); in cca_check_secaeskeytoken()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra194-cbb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/arm/tegra/nvidia,tegra194-cbb.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - Sumit Gupta <sumitg@nvidia.com>
15 multiple hierarchical sub-NOCs (Network-on-Chip) and connects various
19 by the NOCs inside the CBB. NOCs reporting errors are cluster NOCs
20 "AON-NOC, SCE-NOC, RCE-NOC, BPMP-NOC, CV-NOC" and "CBB Central NOC"
28 - For CCPLEX (CPU Complex) initiator, the driver sets ERD bit. So, the
31 - For other initiators, the ERD is disabled. So, the access issuing
[all …]
/Linux-v6.1/drivers/crypto/inside-secure/
Dsafexcel.c1 // SPDX-License-Identifier: GPL-2.0
5 * Antoine Tenart <antoine.tenart@free-electrons.com>
10 #include <linux/dma-mapping.h>
45 writel(0, priv->base + EIP197_FLUE_IFC_LUT(i)); in eip197_trc_cache_setupvirt()
51 for (i = 0; i < priv->config.rings; i++) { in eip197_trc_cache_setupvirt()
52 writel(0, priv->base + EIP197_FLUE_CACHEBASE_LO(i)); in eip197_trc_cache_setupvirt()
53 writel(0, priv->base + EIP197_FLUE_CACHEBASE_HI(i)); in eip197_trc_cache_setupvirt()
55 priv->base + EIP197_FLUE_CONFIG(i)); in eip197_trc_cache_setupvirt()
57 writel(0, priv->base + EIP197_FLUE_OFFSETS); in eip197_trc_cache_setupvirt()
58 writel(0, priv->base + EIP197_FLUE_ARC4_OFFSET); in eip197_trc_cache_setupvirt()
[all …]
/Linux-v6.1/drivers/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
39 called padlock-aes.
53 called padlock-sha.
61 Say 'Y' here to use the AMD Geode LX processor on-board AES
65 will be called geode-aes.
118 Please note that creation of protected keys from secure keys
143 and uses triple-DES to generate secure random numbers like the
144 ANSI X9.17 standard. User-space programs access the
145 pseudo-random-number device through the char device /dev/prandom.
161 sub-units. One set provides the Modular Arithmetic Unit,
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_CRYPTO_DEV_ALLWINNER) += allwinner/
3 obj-$(CONFIG_CRYPTO_DEV_ASPEED) += aspeed/
4 obj-$(CONFIG_CRYPTO_DEV_ATMEL_AES) += atmel-aes.o
5 obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o
6 obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o
7 # __init ordering requires atmel-i2c being before atmel-ecc and atmel-sha204a.
8 obj-$(CONFIG_CRYPTO_DEV_ATMEL_I2C) += atmel-i2c.o
9 obj-$(CONFIG_CRYPTO_DEV_ATMEL_ECC) += atmel-ecc.o
10 obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA204A) += atmel-sha204a.o
[all …]
/Linux-v6.1/Documentation/arm/
Dtcm.rst2 ARM TCM (Tightly-Coupled Memory) handling in Linux
7 Some ARM SoCs have a so-called TCM (Tightly-Coupled Memory).
8 This is usually just a few (4-64) KiB of RAM inside the ARM
11 Due to being embedded inside the CPU, the TCM has a
12 Harvard-architecture, so there is an ITCM (instruction TCM)
24 determine if ITCM (bits 1-0) and/or DTCM (bit 17-16) is present
47 be able to lock and hide one of the banks for use by the secure
52 - FIQ and other interrupt handlers that need deterministic
55 - Idle loops where all external RAM is set to self-refresh
56 retention mode, so only on-chip RAM is accessible by
[all …]
/Linux-v6.1/Documentation/x86/
Damd-memory-encryption.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Secure Memory Encryption (SME) and Secure Encrypted Virtualization (SEV) are
19 memory. Private memory is encrypted with the guest-specific key, while shared
37 as private. All the DMA operations inside the guest must be performed on shared
39 is operating in 64-bit or 32-bit PAE mode, in all other modes the SEV hardware
78 - Supported:
81 - Enabled:
84 - Active:
87 kernel is non-zero).
/Linux-v6.1/arch/s390/include/uapi/asm/
Dpkey.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */
78 /* Struct to hold a CCA AES secure key blob */
80 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */
110 * Generate CCA AES secure key.
116 struct pkey_seckey seckey; /* out: the secure key blob */
121 * Construct CCA AES secure key from clear key value
128 struct pkey_seckey seckey; /* out: the secure key blob */
133 * Fabricate AES protected key from a CCA AES secure key
138 struct pkey_seckey seckey; /* in: the secure key blob */
[all …]
/Linux-v6.1/arch/x86/kvm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
14 operating systems inside virtual machines (guests).
22 tristate "Kernel-based Virtual Machine (KVM) support"
67 bool "Compile KVM with -Werror"
76 Add -Werror to the build flags for KVM.
88 will be called kvm-intel.
106 Provides support for KVM on AMD processors equipped with the AMD-V
110 will be called kvm-amd.
114 bool "AMD Secure Encrypted Virtualization (SEV) support"
119 with Encrypted State (SEV-ES) on AMD processors.
/Linux-v6.1/arch/nios2/include/asm/
Dthread_info.h2 * NiosII low-level thread information
31 * - this struct should fit entirely inside of one cache line
32 * - this struct shares the supervisor stack pages
33 * - if the contents of this structure are changed, the assembly constants
62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
68 * - these are process state flags that various assembly files may need to
70 * - pending work-to-be-done flags are in LSW
71 * - other flags in MSW
78 #define TIF_SECCOMP 5 /* secure computing */
99 /* work to do on any return to u-space */
/Linux-v6.1/arch/s390/include/asm/
Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 (THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs))
33 * - this struct should fit entirely inside of one cache line
34 * - this struct shares the supervisor stack pages
35 * - if the contents of this structure are changed, the assembly constants must also be changed
68 #define TIF_UPROBE 3 /* breakpointed or single-stepping */
87 #define TIF_SECCOMP 26 /* secure computing */
/Linux-v6.1/arch/riscv/include/asm/
Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0-only */
52 * - this struct should fit entirely inside of one cache line
53 * - if the members of this struct changes, the assembly constants
54 * in asm-offsets.c must be updated accordingly
55 * - thread_info is included in task_struct at an offset of 0. This means that
86 * - these are process state flags that various assembly files may need to
88 * - pending work-to-be-done flags are in lowest half-word
89 * - other flags in upper half-word(s)
99 #define TIF_SECCOMP 8 /* syscall secure computing */
102 #define TIF_32BIT 11 /* compat-mode 32bit process */
/Linux-v6.1/arch/microblaze/include/asm/
Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 * - this struct should fit entirely inside of one cache line
23 * - this struct shares the supervisor stack pages
24 * - if the contents of this structure are changed, the assembly constants
38 /* non-volatile registers */
62 unsigned long status; /* thread-synchronous flags */
85 return (struct thread_info *)(sp & ~(THREAD_SIZE-1)); in current_thread_info()
93 * - these are process state flags that various assembly files may
95 * - pending work-to-be-done flags are in LSW
96 * - other flags in MSW
[all …]
/Linux-v6.1/arch/xtensa/include/asm/
Dthread_info.h2 * include/asm-xtensa/thread_info.h
8 * Copyright (C) 2001 - 2005 Tensilica Inc.
25 * - this struct should fit entirely inside of one cache line
26 * - this struct shares the supervisor stack pages
27 * - if the contents of this structure are changed, the assembly constants
51 unsigned long status; /* thread-synchronous flags */
65 * If i-th bit is set then coprocessor state is loaded into the
113 * - these are process state flags that various assembly files may need to access
125 #define TIF_SECCOMP 10 /* secure computing */
143 #define THREAD_SIZE_ORDER (KERNEL_STACK_SHIFT - PAGE_SHIFT)
/Linux-v6.1/security/integrity/ima/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 an aggregate integrity value over this list inside the
70 limited to 255 characters. The 'ima-ng' measurement list
76 bool "ima-ng (default)"
78 bool "ima-sig"
84 default "ima-ng" if IMA_NG_TEMPLATE
85 default "ima-sig" if IMA_SIG_TEMPLATE
160 <http://linux-ima.sourceforge.net>
170 based on run time secure boot flags.
218 Kernel module signatures can only be verified by IMA-appraisal,
[all …]
/Linux-v6.1/Documentation/virt/kvm/x86/
Damd-memory-encryption.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Secure Encrypted Virtualization (SEV)
10 Secure Encrypted Virtualization (SEV) is a feature found on AMD processors.
12 SEV is an extension to the AMD-V architecture which supports running
46 Hence, the ASID for the SEV-enabled guests must be from 1 to a maximum value
53 Secure Processor (AMD-SP). Firmware running inside the AMD-SP provides a secure
56 information, see the SEV Key Management spec [api-spec]_
62 likely return ``EFAULT``). If non-NULL, the argument to KVM_MEMORY_ENCRYPT_OP
79 are defined in ``<linux/psp-dev.h>``.
85 ---------------
[all …]
/Linux-v6.1/arch/powerpc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
21 # On Book3S 64, the default virtual address space for 64-bit processes
24 # between bottom-up and top-down allocations for applications that
27 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K)
28 default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K)
30 # On all other 64-bit platforms (currently only Book3E), the virtual
33 default 32 if 64BIT # 32 = 44 (16T) - 12 (4K)
35 # For 32-bit, use the compat values, as they're the same.
40 default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K)
41 default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K)
[all …]
/Linux-v6.1/arch/arm/mach-omap2/
Dpm34xx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation
13 * Richard Woodruff <r-woodruff2@ti.com>
41 #include "cm-regbits-34xx.h"
42 #include "prm-regbits-34xx.h"
46 #include "omap-secure.h"
96 * FIXME: This function should be called before entering off-mode after
97 * OMAP3 secure services have been accessed. Currently it is only called
98 * once during boot sequence, but this works as we are not using secure
109 * otherwise the WFI executed inside the ROM code in omap3_save_secure_ram_context()
[all …]
/Linux-v6.1/drivers/char/hw_random/
Domap-rng.c2 * omap-rng.c - RNG driver for TI OMAP CPU family
139 * struct omap_rng_pdata - RNG IP block-specific data
165 return __raw_readl(priv->base + priv->pdata->regs[reg]); in omap_rng_read()
171 __raw_writel(val, priv->base + priv->pdata->regs[reg]); in omap_rng_write()
181 priv = (struct omap_rng_dev *)rng->priv; in omap_rng_do_read()
183 if (max < priv->pdata->data_size) in omap_rng_do_read()
187 present = priv->pdata->data_present(priv); in omap_rng_do_read()
196 memcpy_fromio(data, priv->base + priv->pdata->regs[RNG_OUTPUT_0_REG], in omap_rng_do_read()
197 priv->pdata->data_size); in omap_rng_do_read()
199 if (priv->pdata->regs[RNG_INTACK_REG]) in omap_rng_do_read()
[all …]

12345