| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/ |
| H A D | secure.txt | 1 * ARM Secure world bindings 4 "Normal" and "Secure". Most devicetree consumers (including the Linux 6 world or the Secure world. However some devicetree consumers are 8 visible only in the Secure address space, only in the Normal address 10 virtual machine which boots Secure firmware and wants to tell the 13 The general principle of the naming scheme for Secure world bindings 14 is that any property that needs a different value in the Secure world 15 can be supported by prefixing the property name with "secure-". So for 16 instance "secure-foo" would override "foo". For property names with 17 a vendor prefix, the Secure variant of "vendor,foo" would be [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.ti-secure | 1 README on how boot images are created for secure TI devices 4 Secure TI devices require a boot image that is authenticated by ROM 7 a secure device from TI, the initial public software image must be signed 11 from Texas Instruments. The tools used to generate boot images for secure 12 devices are part of a secure development package (SECDEV) that can be 17 The secure development package is access controlled due to NDA and export 22 Booting of U-Boot SPL 25 When CONFIG_TI_SECURE_DEVICE is set, the U-Boot SPL build process 31 warning is issued during the build to indicate that a final secure 36 ${TI_SECURE_DEV_PKG}/scripts/create-boot-image.sh [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/powerpc/ |
| H A D | ultravisor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 POWER 9 that enables Secure Virtual Machines (SVMs). DD2.3 chips 16 (PVR=0x004e1203) or greater will be PEF-capable. A new ISA release 25 +------------------+ 29 +------------------+ 31 +------------------+ 33 +------------------+ 35 +------------------+ 38 VMs in the system. SVMs are protected while at rest and can only be 56 process is running in secure mode, MSR(S) bit 41. MSR(S)=1, process [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/include/uapi/asm/ |
| H A D | pkey.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/ |
| H A D | u-boot.lds | 2 * Copyright (c) 2004-2008 Texas Instruments 7 * SPDX-License-Identifier: GPL-2.0+ 13 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 23 * If CONFIG_ARMV7_SECURE_BASE is true, secure code will not 24 * bundle with u-boot, and code offsets are fixed. Secure zone 25 * only needs to be copied from the loading address to 27 * address for secure code. 29 * If CONFIG_ARMV7_SECURE_BASE is undefined, the secure zone will 30 * be included in u-boot address space, and some absolute address 31 * were used in secure code. The absolute addresses of the secure [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/crypto/ |
| H A D | zcrypt_ccamisc.h | 1 /* 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) */ 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 141 * Simple check if the token is a valid CCA secure AES cipher key [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/nvmem/ |
| H A D | st,stm32-romem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 Factory-programmed data bindings 10 This represents STM32 Factory-programmed read only non-volatile area: locked 11 flash, OTP, read-only HW regs... This contains various information such as: 16 - Fabrice Gasnier <fabrice.gasnier@st.com> 19 - $ref: "nvmem.yaml#" 24 - st,stm32f4-otp [all …]
|
| H A D | rockchip-secure-otp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/rockchip-secure-otp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip secure otp device tree bindings 10 - Hisping <hisping.lin@rock-chips.com> 13 - $ref: "nvmem.yaml#" 18 - rockchip,secure-otp 20 rockchip,otp-size: 22 size of non-protected oem zone in secure otp, In bytes. [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sdp_basic/ |
| H A D | ta_sdp_basic.c | 1 // SPDX-License-Identifier: BSD-2-Clause 18 * Basic Secure Data Path access test commands: 19 * - command INJECT: copy from non secure input into secure output. 20 * - command TRANSFROM: read, transform and write from/to secure in/out. 21 * - command DUMP: copy from secure input into non secure output. 28 const int sec_idx = 1; /* highlight secure buffer index */ in cmd_inject() 44 * to reference a buffer with a unique and consistent secure attribute in cmd_inject() 45 * value. Hence it is safe enough (and more optimal) to test only the in cmd_inject() 46 * secure attribute of a single byte of it. Yet, since the current in cmd_inject() 47 * test does not deal with performance, let check the secure attribute in cmd_inject() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | omap-secure.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP Secure API infrastructure. 11 #include <linux/arm-smccc.h> 23 #include "omap-secure.h" 39 * We only check that the OP-TEE node is present and available. The in omap_optee_init_check() 40 * OP-TEE kernel driver is not needed for the type of interaction made in omap_optee_init_check() 41 * with OP-TEE here so the driver's status is not checked. in omap_optee_init_check() 50 * omap_sec_dispatcher: Routine to dispatch low power secure 55 * @arg1, arg2, arg3 args4: Parameters passed to secure API 57 * Return the non-zero error value on failure. [all …]
|
| H A D | omap-secure.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * omap-secure.h: OMAP Secure infrastructure header. 23 /* Secure HAL API flags */ 30 /* Maximum Secure memory storage size */ 35 /* Secure low power HAL API index */ 41 /* Secure Monitor mode APIs */ 52 /* Secure PPA(Primary Protected Application) APIs */ 60 /* Secure RX-51 PPA (Primary Protected Application) APIs */
|
| H A D | omap-smc.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * OMAP34xx and OMAP44xx secure APIs file. 15 * This is common routine to manage secure monitor API 16 * used to modify the PL310 secure registers. 23 .arch armv7-a 26 stmfd sp!, {r2-r12, lr} 31 ldmfd sp!, {r2-r12, pc} 36 * Low level common routine for secure HAL and PPA APIs. 43 stmfd sp!, {r4-r12, lr} 48 mov r12, #0x00 @ Secure Service ID [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | nfc.h | 33 * enum nfc_commands - supported nfc commands 62 * a device. LTO must be set before the link is up otherwise -EINPROGRESS 65 * If one of the passed parameters is wrong none is set and -EINVAL is 67 * @NFC_CMD_ENABLE_SE: Enable the physical link to a specific secure element. 68 * Once enabled a secure element will handle card emulation mode, i.e. 69 * starting a poll from a device which has a secure element enabled means 71 * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. 74 * @NFC_EVENT_SE_ADDED: Event emitted when a new secure element is discovered. 77 * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from 79 * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | nfc.h | 33 * enum nfc_commands - supported nfc commands 62 * a device. LTO must be set before the link is up otherwise -EINPROGRESS 65 * If one of the passed parameters is wrong none is set and -EINVAL is 67 * @NFC_CMD_ENABLE_SE: Enable the physical link to a specific secure element. 68 * Once enabled a secure element will handle card emulation mode, i.e. 69 * starting a poll from a device which has a secure element enabled means 71 * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. 74 * @NFC_EVENT_SE_ADDED: Event emitted when a new secure element is discovered. 77 * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from 79 * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | nfc.h | 33 * enum nfc_commands - supported nfc commands 62 * a device. LTO must be set before the link is up otherwise -EINPROGRESS 65 * If one of the passed parameters is wrong none is set and -EINVAL is 67 * @NFC_CMD_ENABLE_SE: Enable the physical link to a specific secure element. 68 * Once enabled a secure element will handle card emulation mode, i.e. 69 * starting a poll from a device which has a secure element enabled means 71 * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. 74 * @NFC_EVENT_SE_ADDED: Event emitted when a new secure element is discovered. 77 * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from 79 * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tee/optee/ |
| H A D | optee_smc.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ 3 * Copyright (c) 2015-2019, Linaro Limited 8 #include <linux/arm-smccc.h> 28 * Normal cached memory (write-back), shareable for SMP systems and not 36 * 32-bit registers. 44 * 65cb6b93-af0c-4617-8ed6-644a8d1140f8 75 * Used by non-secure world to figure out which Trusted OS is installed. 78 * Returns UUID in a0-4 in the same way as OPTEE_SMC_CALLS_UID 88 * Used by non-secure world to figure out which version of the Trusted OS 92 * Returns revision in a0-1 in the same way as OPTEE_SMC_CALLS_REVISION [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/ |
| H A D | s390-pv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 15 Each guest starts in non-protected mode and then may make a request to 20 The Ultravisor will secure and decrypt the guest's boot memory 33 ------------------- 46 safeguarding; they can only be injected for instructions that have 54 ------------------------------- 64 --------------------- 70 The control structures associated with SIE provide the Secure 72 Secure Interception General Register Save Area. Guest GRs and most of [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 The instructions are used only when the CPU supports them. 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 142 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 152 SHA256 secure hash standard (DFIPS 180-2). 162 SHA512 secure hash standard. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-bcm/ |
| H A D | bcm_kona_smc.c | 37 {.compatible = "brcm,kona-smc"}, 38 {.compatible = "bcm,kona-smc"}, /* deprecated name */ 54 return -ENODEV; in bcm_kona_smc_init() 59 return -EINVAL; in bcm_kona_smc_init() 61 /* We assume space for four 32-bit arguments */ in bcm_kona_smc_init() 63 return -EINVAL; in bcm_kona_smc_init() 68 return -EINVAL; in bcm_kona_smc_init() 72 return -ENOMEM; in bcm_kona_smc_init() 75 pr_info("Kona Secure API initialized\n"); in bcm_kona_smc_init() 83 * Only core 0 can run the secure monitor code. If an "smc" request [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/ |
| H A D | Kconfig | 13 bool "Enable support for booting in non-secure mode" if EXPERT 16 ---help--- 17 Say Y here to enable support for booting in non-secure / SVC mode. 20 bool "Boot in secure mode by default" if EXPERT 23 ---help--- 24 Say Y here to boot in secure mode by default even if non-secure mode 26 suppport booting in non-secure mode. Only set this if you need it. 27 This can be overridden at run-time by setting the bootm_boot_mode env. 34 ---help--- 35 Say Y here to boot in hypervisor (HYP) mode when booting non-secure. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iommu/ |
| H A D | qcom,iommu.txt | 3 Qualcomm "B" family devices which are not compatible with arm-smmu have 6 to non-secure vs secure interrupt line. 10 - compatible : Should be one of: 12 "qcom,msm8916-iommu" 14 Followed by "qcom,msm-iommu-v1". 16 - clock-names : Should be a pair of "iface" (required for IOMMUs 20 - clocks : Phandles for respective clocks described by 21 clock-names. 23 - #address-cells : must be 1. 25 - #size-cells : must be 1. [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/ |
| H A D | Kconfig | 4 bool "Enable multiple CPUs to enter into U-Boot" 10 CPUECTLR_EL1.SMPEN bit before U-Boot. 25 bool "Support spin-table enable method" 28 Say Y here to support "spin-table" enable method for booting Linux. 31 - Specify enable-method = "spin-table" in each CPU node in the 33 - Bring secondary CPUs into U-Boot proper in a board specific 38 U-Boot automatically does: 39 - Set "cpu-release-addr" property of each CPU node 41 - Reserve the code for the spin-table and the release address 44 menu "ARMv8 secure monitor firmware" [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | spl.c | 2 * Copyright 2014-2015 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0+ 52 * In case of Secure Boot, the IBR configures the SMMU in spl_board_init() 53 * to allow only Secure transactions. in spl_board_init() 91 #error Need secure RAM for PPA in board_init_f() 94 * Secure memory location is determined in dram_init_banksize(). in board_init_f() 95 * gd->ram_size is deducted by the size of secure ram. in board_init_f() 100 * After dram_init_bank_size(), we know U-Boot only uses the first in board_init_f() 103 gd->ram_top = gd->bd->bi_dram[0].start + gd->bd->bi_dram[0].size; in board_init_f() 106 * If PPA is loaded, U-Boot will resume running at EL2. in board_init_f() [all …]
|
| /OK3568_Linux_fs/kernel/net/sunrpc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "Secure RPC: Kerberos V mechanism" 27 Choose Y here to enable Secure RPC using the Kerberos version 5 28 GSS-API mechanism (RFC 1964). 30 Secure RPC calls with Kerberos require an auxiliary user-space 31 daemon which may be found in the Linux nfs-utils package 32 available from http://linux-nfs.org/. In addition, user-space 38 bool "Secure RPC: Disable insecure Kerberos encryption types" 43 with the Kerberos version 5 GSS-API mechanism (RFC 1964). The 44 deprecated encryption types include DES-CBC-MD5, DES-CBC-CRC, [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-secvar | 5 secureboot, thereby secure variables. It exposes interface 6 for reading/writing the secure variables 11 Description: This directory lists all the secure variables that are supported 24 Description: Each secure variable is represented as a directory named as 38 Description: A read-only file containing the value of the variable. The size 44 Description: A write-only file that is used to submit the new value for the
|